In-place search in TFile-s?

Hello All,

Let’s suppose there’s a ROOT file with several large objects, and you need to perform search using some key value (double in my case). Is there a ‘right’ way to read just the key, omitting the rest ? (Objects in file are quite simple, containing only doubles and double arrays of predefined size. The offset of the key in the object is also known)



If your objects are not in a TTree, tehre is no simple way to do what you request. (In a TTree, you would still need to have slipt your objects).