#include "hrichevtmixer.h" |
HRichEvtMixer
class description - source file - inheritance tree (.pdf)
protected:
HHitMatchSim* copyHitMatch(HHitMatchSim*)
HHitMatch* copyHitMatch(HHitMatch*)
Bool_t createHitDiMatch(HHitMatchSim*, HHitMatchSim*, TObjArray&, TObjArray&)
Bool_t createHitDiMatch(HHitMatch*, HHitMatch*, TObjArray&, TObjArray&)
void deleteStoredEvents()
void doEventMixingAllTracks()
void doEventMixingTrackSubset()
HCategory* getHitDiMatchCat()
HCategory* getHitMatchCat()
void storeEvent(Int_t)
public:
HRichEvtMixer()
HRichEvtMixer(Text_t* name, Text_t* title, Char_t* world, Int_t evts = 10, Int_t rndnr = 2, Char_t* cuts = "nocuttracklet")
~HRichEvtMixer()
static TClass* Class()
virtual Int_t execute()
virtual Bool_t finalize()
virtual Bool_t init()
virtual TClass* IsA() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Int_t nCounterProcessedNbEvents
HCategory* pHitMatchCat !
HIterator* pIterMatchHit !
HCategory* pHitDiMatchCat !
HIterator* pIterDiMatchHit !
TObjArray* cuts ! array with cut objects
Bool_t isSim ! simulation or real data world
Int_t evtrange ! number of evts to store for mixing
Int_t evtsStoredInRange ! counter for nb of evts within evtrange
Int_t nrMixObjs ! number of rand. chosen objs per evt for mixing
Int_t nCntMixedEvts !
TObjArray* evtset !
TString* cutStateId !
HRichEvtMixer(Text_t *name,Text_t *title, Char_t* world, Int_t evts, Int_t rndnr,Char_t *cuts) :
HReconstructor(name,title)
HRichEvtMixer()
~HRichEvtMixer(void)
Bool_t init()
cout<<"now in the init of HRichEvtMixer"<<endl;
Bool_t finalize()
Int_t execute()
cout<<"new event **************************************************************"<<endl;
cout<<"exec: hit match cat: "<<getHitMatchCat()->getEntries()<<endl;
filter events which do not contain a correlation object
void storeEvent(Int_t n)
cout<<"in storeEvent"<<endl;
cout<<"storeEvent hit match cat: "<<getHitMatchCat()->getEntries()<<endl;
void deleteStoredEvents()
void doEventMixingTrackSubset()
use nrMixObjs random objs each from the rest of evtrange-1 evts to
make combinatorics with nrMixObjs random objs of this evt
void doEventMixingAllTracks()
should cuts be applied to select better leptons ?
Bool_t createHitDiMatch(HHitMatch *h1, HHitMatch *h2,TObjArray &stored,TObjArray &storedc)
Bool_t createHitDiMatch(HHitMatchSim *h1, HHitMatchSim *h2,TObjArray &stored,TObjArray &storedc)
make sure that only tracks that were used in the mixed pair creation are kept
in the category.
this is necessary as the tracks will be used to fill histograms to control the properties
of the mixed event track content
HHitMatch* copyHitMatch(HHitMatch *h)
create a new HHitMatch object, input sector
HHitMatchSim* copyHitMatch(HHitMatchSim *h)
create a new HHitMatch object, input sector
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HCategory* getHitMatchCat()
HCategory* getHitDiMatchCat()
Last update: Fri Jan 26 12:27:03 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.