Using TEventList

From: Scott Sampson (scott@znev03.desy.de)
Date: Sun May 31 1998 - 15:46:15 MEST


Hi,

I'm having trouble using TEventList. I try the following on a TTree h1:

TCut acut "Pt>25";
TEventList *nlist = (TEventList *)h1->Select(acut);    
nlist->Print();
Error: illegal pointer to class object nlist 0x0 258 . . .

could you give an example of how to get an EventList from a Tree? In the
end I want to print out some variables (e.g. run number) for the events
which pass the cut TCut. Thanks,

Scott



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET