ROOT logo
HYDRA - THE HADES ANALYSIS PACKAGE » (UNKNOWN) » HParticleBooker

class HParticleBooker: public TObject

_HADES_CLASS_DESCRIPTION



 HParticleBooker

 Creates maps form each Detctor hit index to the list
 of HParticleCands in the current event who are using
 a given hit


 USAGE:
 #include  "hparticlebooker.h"
 #include  "hcategorymanager.h"
 #include  "hcategory.h"
 #include  "hades.h"
 #include  "hparticlecand.h"
 #include  "hparticledef.h"
 #include  <vector>
 using namespace std;



 {
 // setup HLoop etc ....


 //---------------------------------------------
 // HPARTICLEBOOKER SETUP :
 HParticleBooker booker;
 //---------------------------------------------

 vector<HParticleCand*> vCandidates;

 HCategory* catCand = HCategoryManager::getCategory(catParticleCand);
 if(!catCand) { exit(1); }

 for (Int_t i=0; i < entries; i++) {
    Int_t nbytes =  loop.nextEvent(i);             // get next event. categories will be cleared before
    if(nbytes <= 0) { cout<<nbytes<<endl; break; } // last event reached


    //###########################################################################
    // HPARTICLEPAIRMAKER ACTION:
    booker.nextEvent();  // fills all tables

	  if(catCand){
	      HParticleCand* cand=0;
	      for(Int_t j=0; j<catCand->getEntries();j++){
	          cand = HCategoryManager::getObject(cand,catCand,j);
                  // do something  ....
             Int_t n =booker.getSameMeta(cand,vCandidates); // fill a list of all cand sharing the same metahit


       } // end loop cand
	  } //catCand
 }

Function Members (Methods)

public:
HParticleBooker()
HParticleBooker(const HParticleBooker&)
virtual~HParticleBooker()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
vector<HEmcCluster*>&getAllEmcClusters()
vector<HMdcSeg*>&getAllInnerMdcSegs()
vector<HMdcSeg*>&getAllOuterMdcSegs()
vector<HRichHit*>&getAllRichHits()
vector<HRpcCluster*>&getAllRpcClusters()
vector<HShowerHit*>&getAllShowerHits()
vector<HTofCluster*>&getAllTofClusters()
vector<HTofHit*>&getAllTofHits()
Int_tgetCandidatesAnyDetectorForTrack(Int_t track, vector<HParticleCandSim*>& cands)
Int_tgetCandidatesForEmc(Int_t index, vector<HParticleCand*>& cands)
Int_tgetCandidatesForInnerMdc(Int_t index, vector<HParticleCand*>& cands)
Int_tgetCandidatesForOuterMdc(Int_t index, vector<HParticleCand*>& cands)
Int_tgetCandidatesForRich(Int_t index, vector<HParticleCand*>& cands)
Int_tgetCandidatesForRpcCluster(Int_t index, vector<HParticleCand*>& cands)
Int_tgetCandidatesForShower(Int_t index, vector<HParticleCand*>& cands)
Int_tgetCandidatesForTofCluster(Int_t index, vector<HParticleCand*>& cands)
Int_tgetCandidatesForTofHit(Int_t index, vector<HParticleCand*>& cands)
Int_tgetCandidatesForTrack(Int_t track, vector<HParticleCandSim*>& cands)
Int_tgetCandidatesIndAnyDetectorForTrack(Int_t track, vector<Int_t>& cands)
Int_tgetCandidatesIndForTrack(Int_t track, vector<Int_t>& cands)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tgetEmcClusterForTrack(Int_t track, vector<HEmcClusterSim*>& cands)
Int_tgetEmcClusterIndForTrack(Int_t track, vector<Int_t>& cands)
map<Int_t,vector<HParticleCand*> >&getEmcClusterMap()
vector<HEmcCluster*>&getEmcClusters()
vector<Int_t>&getEmcIndices()
virtual const char*TObject::GetIconName() const
vector<Int_t>&getInnerMdcIndices()
map<Int_t,vector<HParticleCand*> >&getInnerMdcMap()
Int_tgetInnerMdcSegForTrack(Int_t track, vector<HMdcSegSim*>& cands)
Int_tgetInnerMdcSegIndForTrack(Int_t track, vector<Int_t>& cands)
vector<HMdcSeg*>&getInnerMdcSegs()
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
vector<Int_t>&getOuterMdcIndices()
map<Int_t,vector<HParticleCand*> >&getOuterMdcMap()
Int_tgetOuterMdcSegForTrack(Int_t track, vector<HMdcSegSim*>& cands)
Int_tgetOuterMdcSegIndForTrack(Int_t track, vector<Int_t>& cands)
vector<HMdcSeg*>&getOuterMdcSegs()
Int_tgetRichHitForTrack(Int_t track, vector<HRichHitSim*>& cands)
Int_tgetRichHitIndForTrack(Int_t track, vector<Int_t>& cands)
vector<HRichHit*>&getRichHits()
vector<Int_t>&getRichIndices()
map<Int_t,vector<HParticleCand*> >&getRichMap()
vector<Int_t>&getRpcClstIndices()
map<Int_t,vector<HParticleCand*> >&getRpcClstMap()
Int_tgetRpcClusterForTrack(Int_t track, vector<HRpcClusterSim*>& cands)
Int_tgetRpcClusterIndForTrack(Int_t track, vector<Int_t>& cands)
vector<HRpcCluster*>&getRpcClusters()
Int_tgetSameAny(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, UInt_t detswitch = 0, Bool_t isReference = kTRUE)
Int_tgetSameInnerMdc(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, Bool_t isReference = kTRUE)
Int_tgetSameMeta(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, Bool_t isReference = kTRUE)
Int_tgetSameOuterMdc(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, Bool_t isReference = kTRUE)
Int_tgetSameRich(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, Bool_t isReference = kTRUE)
Int_tgetShowerHitForTrack(Int_t track, vector<HShowerHitSim*>& cands)
Int_tgetShowerHitIndForTrack(Int_t track, vector<Int_t>& cands)
map<Int_t,vector<HParticleCand*> >&getShowerHitMap()
vector<HShowerHit*>&getShowerHits()
vector<Int_t>&getShowerIndices()
virtual const char*TObject::GetTitle() const
vector<Int_t>&getTofClstIndices()
map<Int_t,vector<HParticleCand*> >&getTofClstMap()
Int_tgetTofClusterForTrack(Int_t track, vector<HTofClusterSim*>& cands)
Int_tgetTofClusterIndForTrack(Int_t track, vector<Int_t>& cands)
vector<HTofCluster*>&getTofClusters()
Int_tgetTofHitForTrack(Int_t track, vector<HTofHitSim*>& cands)
Int_tgetTofHitIndForTrack(Int_t track, vector<Int_t>& cands)
vector<Int_t>&getTofHitIndices()
map<Int_t,vector<HParticleCand*> >&getTofHitMap()
vector<HTofHit*>&getTofHits()
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
voidnextEvent()
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
HParticleBooker&operator=(const HParticleBooker&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
voidbookHits(HParticleCand* cand1)

Data Members

private:
HCategory*candCat!
HCategory*emcclusterCat!
map<Int_t,vector<HParticleCand*> >mEmctoCand! EMC cluster lookup detector hit ind -> list of candidates using this hit
map<Int_t,vector<HParticleCand*> >mInnerMdctoCand! inner Seg lookup detector hit ind -> list of candidates using this hit
map<Int_t,vector<HParticleCand*> >mOuterMdctoCand! outer Seg lookup detector hit ind -> list of candidates using this hit
map<Int_t,vector<HParticleCand*> >mRichtoCand! RICH hit lookup detector hit ind -> list of candidates using this hit
map<Int_t,vector<HParticleCand*> >mRpcClsttoCand! RPC cluster lookup detector hit ind -> list of candidates using this hit
map<Int_t,vector<HParticleCand*> >mShowertoCand! SHOWER hit lookup detector hit ind -> list of candidates using this hit
map<Int_t,vector<HParticleCand*> >mTofClsttoCand! TOF cluster lookup detector hit ind -> list of candidates using this hit
map<Int_t,vector<HParticleCand*> >mTofHittoCand! TOF hit lookup detector hit ind -> list of candidates using this hit
map<Int_t,vector<HParticleCandSim*> >mTracktoAnyCand! Geant Track lookup geant track (in any detector) -> list of candidates using this track
map<Int_t,vector<Int_t> >mTracktoAnyCandInd! Geant Track lookup geant track (in any detector) -> list of candidates indicesusing this track
map<Int_t,vector<HParticleCandSim*> >mTracktoCand! Geant Track lookup geant track (assigned track) -> list of candidates using this track
map<Int_t,vector<Int_t> >mTracktoCandInd! Geant Track lookup geant track (assigned track) -> list of candidates indices using this track
map<Int_t,vector<HEmcClusterSim*> >mTracktoEmcCluster! Geant Track lookup geant track -> list of EmcCluster using this track
map<Int_t,vector<Int_t> >mTracktoEmcClusterInd! Geant Track lookup geant track -> list of EmcCluster indices using this track
map<Int_t,vector<HMdcSegSim*> >mTracktoInnerMdc! Geant Track lookup geant track -> list of inner MdcSeg using this track
map<Int_t,vector<Int_t> >mTracktoInnerMdcInd! Geant Track lookup geant track -> list of inner MdcSeg indices using this track
map<Int_t,vector<HMdcSegSim*> >mTracktoOuterMdc! Geant Track lookup geant track -> list of outer MdcSeg using this track
map<Int_t,vector<Int_t> >mTracktoOuterMdcInd! Geant Track lookup geant track -> list of outer MdcSeg indices using this track
map<Int_t,vector<HRichHitSim*> >mTracktoRichHit! Geant Track lookup geant track -> list of RichHit using this track
map<Int_t,vector<Int_t> >mTracktoRichHitInd! Geant Track lookup geant track -> list of RichHit using indices this track
map<Int_t,vector<HRpcClusterSim*> >mTracktoRpcCluster! Geant Track lookup geant track -> list of RpcCluster using this track
map<Int_t,vector<Int_t> >mTracktoRpcClusterInd! Geant Track lookup geant track -> list of RpcCluster indices using this track
map<Int_t,vector<HShowerHitSim*> >mTracktoShowerHit! Geant Track lookup geant track -> list of ShowerHit using this track
map<Int_t,vector<Int_t> >mTracktoShowerHitInd! Geant Track lookup geant track -> list of ShowerHit indices using this track
map<Int_t,vector<HTofClusterSim*> >mTracktoTofCluster! Geant Track lookup geant track -> list of TofCluster using this track
map<Int_t,vector<Int_t> >mTracktoTofClusterInd! Geant Track lookup geant track -> list of TofCluster indices using this track
map<Int_t,vector<HTofHitSim*> >mTracktoTofHit! Geant Track lookup geant track -> list of TofHits using this track
map<Int_t,vector<Int_t> >mTracktoTofHitInd! Geant Track lookup geant track -> list of TofHits indices using this track
HCategory*mdcsegCat!
HCategory*richhitCat!
HCategory*rpcclstCat!
HCategory*showerhitCat!
HCategory*tofclstCat!
HCategory*tofhitCat!
vector<HEmcCluster*>vEmc!
vector<HEmcCluster*>vEmcAll!
vector<Int_t>vEmcInd!
vector<HMdcSeg*>vInnerMdc!
vector<HMdcSeg*>vInnerMdcAll!
vector<Int_t>vInnerMdcInd!
vector<HMdcSeg*>vOuterMdc!
vector<HMdcSeg*>vOuterMdcAll!
vector<Int_t>vOuterMdcInd!
vector<HRichHit*>vRich!
vector<HRichHit*>vRichAll!
vector<Int_t>vRichInd!
vector<HRpcCluster*>vRpcClst!
vector<HRpcCluster*>vRpcClstAll!
vector<Int_t>vRpcClstInd!
vector<HShowerHit*>vShower!
vector<HShowerHit*>vShowerAll!
vector<Int_t>vShowerInd!
vector<HTofCluster*>vTofClst!
vector<HTofCluster*>vTofClstAll!
vector<Int_t>vTofClstInd!
vector<HTofHit*>vTofHit!
vector<HTofHit*>vTofHitAll!
vector<Int_t>vTofHitInd!

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HParticleBooker()
~HParticleBooker()
void bookHits(HParticleCand* cand1)
 add candidate hits to maps
void nextEvent()
Int_t getCandidatesForTofHit(Int_t index, vector<HParticleCand*>& cands)
 fills vector of candidates using this hit index. returns the size of the vector
Int_t getCandidatesForTofCluster(Int_t index, vector<HParticleCand*>& cands)
 fills vector of candidates using this hit index. returns the size of the vector
Int_t getCandidatesForRpcCluster(Int_t index, vector<HParticleCand*>& cands)
 fills vector of candidates using this hit index. returns the size of the vector
Int_t getCandidatesForShower(Int_t index, vector<HParticleCand*>& cands)
 fills vector of candidates using this hit index. returns the size of the vector
Int_t getCandidatesForEmc(Int_t index, vector<HParticleCand*>& cands)
 fills vector of candidates using this hit index. returns the size of the vector
Int_t getCandidatesForInnerMdc(Int_t index, vector<HParticleCand*>& cands)
 fills vector of candidates using this hit index. returns the size of the vector
Int_t getCandidatesForOuterMdc(Int_t index, vector<HParticleCand*>& cands)
 fills vector of candidates using this hit index. returns the size of the vector
Int_t getCandidatesForRich(Int_t index, vector<HParticleCand*>& cands)
 fills vector of candidates using this hit index. returns the size of the vector
Int_t getCandidatesAnyDetectorForTrack(Int_t track, vector<HParticleCandSim*>& cands)
 fills vector of candidates using this track in any detector hit.
 returns the size of the vector
Int_t getCandidatesForTrack(Int_t track, vector<HParticleCandSim*>& cands)
 fills vector of candidates using this global track. returns the size of the vector
Int_t getTofHitForTrack(Int_t track, vector<HTofHitSim*>& cands)
 fills vector of hit using this track. returns the size of the vector
Int_t getTofClusterForTrack(Int_t track, vector<HTofClusterSim*>& cands)
 fills vector of hit using this track. returns the size of the vector
Int_t getRpcClusterForTrack(Int_t track, vector<HRpcClusterSim*>& cands)
 fills vector of hit using this track. returns the size of the vector
Int_t getShowerHitForTrack(Int_t track, vector<HShowerHitSim*>& cands)
 fills vector of hit using this track. returns the size of the vector
Int_t getEmcClusterForTrack(Int_t track, vector<HEmcClusterSim*>& cands)
 fills vector of hit using this track. returns the size of the vector
Int_t getInnerMdcSegForTrack(Int_t track, vector<HMdcSegSim*>& cands)
 fills vector of hit using this track. returns the size of the vector
Int_t getOuterMdcSegForTrack(Int_t track, vector<HMdcSegSim*>& cands)
 fills vector of hit using this track. returns the size of the vector
Int_t getRichHitForTrack(Int_t track, vector<HRichHitSim*>& cands)
 fills vector of hit using this track. returns the size of the vector
Int_t getCandidatesIndAnyDetectorForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of candidates indices using this track in any detector hit.
 returns the size of the vector
Int_t getCandidatesIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of candidates indices using this global track. returns the size of the vector
Int_t getTofHitIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of hit indices using this track. returns the size of the vector
Int_t getTofClusterIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of hit indices using this track. returns the size of the vector
Int_t getRpcClusterIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of hit indices using this track. returns the size of the vector
Int_t getShowerHitIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of hit indices using this track. returns the size of the vector
Int_t getEmcClusterIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of hit indices using this track. returns the size of the vector
Int_t getInnerMdcSegIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of hit indices using this track. returns the size of the vector
Int_t getOuterMdcSegIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of hit indices using this track. returns the size of the vector
Int_t getRichHitIndForTrack(Int_t track, vector<Int_t>& cands)
 fills vector of hit indices using this track. returns the size of the vector
Int_t getSameRich(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, Bool_t isReference = kTRUE)
 fills list of candidates which share the same RICH. If the RICH is not found
 at all -1 is returned, other wise the number of candidates found for the hit.
 The input candidate will be not included in candidates. Candidates can be filtered
 by flag ( 0 == no filter, see flags eClosePairSelect+ ePairCase (hparticledef.h)).
 The input candidate will be treated as refererence if isReference == kTRUE.
Int_t getSameInnerMdc(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, Bool_t isReference = kTRUE)
 fills list of candidates which share the same inner MDC seg. If the seg is not found
 at all -1 is returned, other wise the number of candidates found for the hit.
 The input candidate will be not included in candidates. Candidates can be filtered
 by flag ( 0 == no filter, see flags eClosePairSelect+ ePairCase (hparticledef.h)).
 The input candidate will be treated as refererence if isReference == kTRUE.
Int_t getSameOuterMdc(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, Bool_t isReference = kTRUE)
 fills list of candidates which share the same outer MDC seg. If the seg is not found
 at all -1 is returned, other wise the number of candidates found for the hit.
 The input candidate will be not included in candidates. Candidates can be filtered
 by flag ( 0 == no filter, see flags eClosePairSelect+ ePairCase (hparticledef.h)).
 The input candidate will be treated as refererence if isReference == kTRUE.
Int_t getSameMeta(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, Bool_t isReference = kTRUE)
 fills list of candidates which share the same META hit. The number of candidates
 found for the hit is returned or -1 if the hit is not found at all..
 The input candidate will be not included in candidates. Candidates can be filtered
 by flag ( 0 == no filter, see flags eClosePairSelect+ ePairCase (hparticledef.h)).
 The input candidate will be treated as refererence if isReference == kTRUE.
Int_t getSameAny(HParticleCand* cand, vector<HParticleCand*>& candidates, UInt_t flag = 0, UInt_t detswitch = 0, Bool_t isReference = kTRUE)
 fills list of candidates which share any detector hit. Detectors can be selected by
 detswitch setting the bit using eClosePairSelect (default is 0. in this case all
 detectors are filled).
 The number of candidatefound for the hit is returned or -1 if the hit is not found at all..
 The input candidate will be not included in candidates. Candidates can be filtered
 by flag ( 0 == no filter, see flags eClosePairSelect+ ePairCase (hparticledef.h)).
 The input candidate will be treated as refererence if isReference == kTRUE.
HParticleBooker()
vector<Int_t>& getTofHitIndices()
{ return vTofHitInd; }
vector<Int_t>& getTofClstIndices()
{ return vTofClstInd; }
vector<Int_t>& getRpcClstIndices()
{ return vRpcClstInd; }
vector<Int_t>& getShowerIndices()
{ return vShowerInd; }
vector<Int_t>& getEmcIndices()
{ return vEmcInd; }
vector<Int_t>& getInnerMdcIndices()
{ return vInnerMdcInd; }
vector<Int_t>& getOuterMdcIndices()
{ return vOuterMdcInd; }
vector<Int_t>& getRichIndices()
{ return vRichInd; }
map<Int_t, vector<HParticleCand*> >& getTofHitMap()
{ return mTofHittoCand; }
map<Int_t, vector<HParticleCand*> >& getTofClstMap()
{ return mTofClsttoCand; }
map<Int_t, vector<HParticleCand*> >& getRpcClstMap()
{ return mRpcClsttoCand; }
map<Int_t, vector<HParticleCand*> >& getShowerHitMap()
{ return mShowertoCand; }
map<Int_t, vector<HParticleCand*> >& getEmcClusterMap()
{ return mEmctoCand; }
map<Int_t, vector<HParticleCand*> >& getInnerMdcMap()
{ return mInnerMdctoCand; }
map<Int_t, vector<HParticleCand*> >& getOuterMdcMap()
{ return mOuterMdctoCand; }
map<Int_t, vector<HParticleCand*> >& getRichMap()
{ return mRichtoCand; }
vector<HTofHit*>& getTofHits()
{ return vTofHit; }
vector<HTofCluster*>& getTofClusters()
{ return vTofClst; }
vector<HRpcCluster*>& getRpcClusters()
{ return vRpcClst; }
vector<HShowerHit*>& getShowerHits()
{ return vShower; }
vector<HEmcCluster*>& getEmcClusters()
{ return vEmc; }
vector<HMdcSeg*>& getInnerMdcSegs()
{ return vInnerMdc;}
vector<HMdcSeg*>& getOuterMdcSegs()
{ return vOuterMdc;}
vector<HRichHit*>& getRichHits()
{ return vRich; }
vector<HTofHit*>& getAllTofHits()
{ return vTofHitAll; }
vector<HTofCluster*>& getAllTofClusters()
{ return vTofClstAll; }
vector<HRpcCluster*>& getAllRpcClusters()
{ return vRpcClstAll; }
vector<HShowerHit*>& getAllShowerHits()
{ return vShowerAll; }
vector<HEmcCluster*>& getAllEmcClusters()
{ return vEmcAll; }
vector<HMdcSeg*>& getAllInnerMdcSegs()
{ return vInnerMdcAll;}
vector<HMdcSeg*>& getAllOuterMdcSegs()
{ return vOuterMdcAll;}
vector<HRichHit*>& getAllRichHits()
{ return vRichAll; }