TCuts for custom Classes

From: Danneberg Norbert (Norbert.Danneberg@psi.ch)
Date: Fri Aug 21 1998 - 23:19:46 MEST


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



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