#include "hlvl1evtfilter.h"

HLvl1EvtFilter


class description - source file - inheritance tree (.pdf)

class HLvl1EvtFilter : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HLvl1EvtFilter

    public:
HLvl1EvtFilter() HLvl1EvtFilter(Text_t* name, Text_t* title, TString opt, Int_t multMeta = 0, Int_t multTofino = 0, Int_t multTof = 0) ~HLvl1EvtFilter() static TClass* Class() virtual Int_t execute() virtual Bool_t finalize() virtual Bool_t init() virtual TClass* IsA() const Bool_t isFilteredEvt() void resetCounters() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
HCategory* fTofRaw ! HCategory* fTofino ! HIterator* fTofIter ! HIterator* fTofinoIter ! Int_t nCntProcessedEvents ! Int_t nCounterNbRejectedEvts ! Bool_t kOpSec ! Bool_t isSimulation ! Int_t nMetaMult ! Int_t nTofinoMult ! Int_t nTofMult !

Class Description

 HLvl1EvtFilter
 Emulator of first level trigger.
 How to use it:

 HTaskSet *evtfilter = new HTaskSet("","");
 HLvl1EvtFilter *evtflt = new HLvl1EvtFilter("eventfilter","eventfilter",options,multMeta,multTofino,multTtof);
 evtfilter->connect(evtflt);
 masterTaskSet->add(evtflt);

 where options stays for:
 "metamult"   ->  META multiplicity   >= multMeta
 "tofinomult" ->  TOFINO multiplicity >= multTofino
 "tofmult"    ->  TOF multiplicity    >= multTof
 "opsec"  ->  Opposite sectors in META
 "sim"        ->  Simulation mode ON

HLvl1EvtFilter(Text_t *name,Text_t *title,TString opt,Int_t multMeta, Int_t multTofino, Int_t multTof) : HReconstructor(name,title)
 constructor  options:
 "metamult"   ->  META multiplicity   >= multMeta
 "tofinomult" ->  TOFINO multiplicity >= multTofino
 "tofmult"    ->  TOF multiplicity    >= multTof
 "opsec"      ->  Opposite sectors in META
 "sim"        ->  Simulation mode ON

HLvl1EvtFilter()
 Default constructor

~HLvl1EvtFilter(void)
 destructor

Bool_t init()
 initialization function

Bool_t finalize()
 Finalize: write number of rejected events

Int_t execute()
 Execute function: refer to isFilteredEvt(swt) for filter options

void resetCounters()
 Reset counters of processed and rejected events

Bool_t isFilteredEvt()
 if function returns kTRUE evt is skipped



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Stefano Spataro
Last update: Fri Jan 26 11:59:45 2007


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.