TCuts for custom Classes

Danneberg Norbert (Norbert.Danneberg@psi.ch)
Fri, 21 Aug 1998 23:19:46 +0200


Hi rooters,

we made a pretty impressive (at least we think so :-) Online analysis
and display program based on root wich is based on a custom event
class.

I tried to figure out how to use the TCut and TFormula objects to make
cuts on our class. The point is we want to display only such events in
our online display that fullfill certain criteria. The idea is to have
a cut function that gets an event and a TCut Object as paramter and
returns TRUE or FALSE depending whether the event has to be further
processed or not. Does anybody had a simialr problem ? Any sample source
code ? Actually TTree.Draw(Expr., Select.) does nothing else.

Hicks,

Norbert