Hi,
I have a very large TTree structure from which I draw various combinations of branches. Sometimes this can take quite a long time. In other cases, ROOT crashes after a minute or so.
Often, I do not need to draw the TTree entries in their entirety. A smaller subset will suffice.
Is there a way to limit the number of entries drawn from a very large TTree ?
Or should I just put an event counter in the TTree and set a limit within the draw options T->Draw(“Var1:Var2”,“Events<=10000”,“h”, for example?
Thanks for your help,
Alan.