Hi, I make an event list and check the number of entries as follows: tree->Draw(">>evlist","x>0","GOFF"); TEventList *evlist = (TEventList *)gDirectory->Get("evlist"); Int_t nentries = evlist->GetN(); cout << "List entries="<< nentries << endl; This works fine in the interpreter, but in a compiled program I always get an eventlist with 0 entries. I use root 2.21. When I instead compile with root 2.13, the TEventList does have entries and the compiled program works. Is there something wrong with how root 2.21 handles TEventList's in compiled code? Thanks, Scott
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET