[ROOT] MakeClass and TEventList

From: Heather Kelly (heather@lheapop.gsfc.nasa.gov)
Date: Wed Oct 24 2001 - 23:16:43 MEST


Hi,

I am using ROOT 3.00.06 on Windows.

2 questions:

In the code generated by TTree::MakeClass, would it be possible to include
code that would use a TEventList if the TTree is setup to use a TEventList?
 It is certainly possible to modify the code to use the eventlist - but it
would be nice if it were done automatically...or am I using the MakeClass
code incorrectly?

Second question:
Is it possible to call TMath::Min from within a TCut passed to a
TTree:Draw?  It does not seem to work for me:

t->Draw("Event_Id", "TMath::Min(entry1, entry2) < 5");

I've tried Min as well..

Thanks,
Heather



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:04 MET