11#include <TDatabasePDG.h>
38 TObjArray *fCgemClusterCol;
39 TObjArray *fCgemClusterUFCol[3];
40 TObjArray *fMdcTrackCol;
41 TObjArray *fIdealTrackCol;
42 TObjArray *fTofTrackCol;
43 TObjArray *fEmcTrackCol;
44 TObjArray *fMucTrackCol;
45 TObjArray *fExtTrackCol;
46 TObjArray *fMcParticleCol;
48 bool Is_tofBarrel(UInt_t status);
49 bool Is_tofCounter(UInt_t status);
54 virtual void Clear(Option_t *option =
"");
55 virtual void Delete(Option_t *option =
"");
56 virtual void Print(Option_t *option =
"");
80 virtual void DrawHits(Option_t *option);
123 if (fDigiEvent)
return fDigiEvent->
getMdcDigiCol()->GetEntries();
127 if (fDigiEvent)
return fDigiEvent->
getTofDigiCol()->GetEntries();
131 if (fDigiEvent)
return fDigiEvent->
getEmcDigiCol()->GetEntries();
135 if (fDigiEvent)
return fDigiEvent->
getMucDigiCol()->GetEntries();
139 if (fDigiEvent)
return fDigiEvent->
getMdcDigi(i);
143 if (fDigiEvent)
return fDigiEvent->
getTofDigi(i);
147 if (fDigiEvent)
return fDigiEvent->
getEmcDigi(i);
151 if (fDigiEvent)
return fDigiEvent->
getMucDigi(i);
R__EXTERN BesEvent * gEvent
const TObjArray * GetMucTrackCol(TDisTrack *recEvent) const
const Int_t GetMucTrackNum(TDisTrack *recEvent) const
const TObjArray * GetTofTrackCol(TDisTrack *recEvent) const
virtual void Delete(Option_t *option="")
virtual void DrawCgem3DHits(Option_t *option)
const TRecTofTrack * GetTofTrack(Int_t i, TDisTrack *recEvent) const
const Int_t GetMucDigiNum() const
virtual void Clear(Option_t *option="")
const TObjArray * GetEmcShowerCol(TDisTrack *recEvent) const
const Int_t GetTofDigiNum() const
virtual void ConstructTofTrackFromRec(BesGeoTrack *tofTrack, const TRecTofTrack *recTrack, TDisTrack *recEvent)
virtual void DrawCgemUFHits(Option_t *option)
virtual void SetTofTracks(TDisTrack *recEvent)
const TTofDigi * GetTofDigi(Int_t i) const
const TObjArray * GetMdcTrackCol(TDisTrack *recEvent) const
const TObjArray * GetMucDigiCol() const
const TRecMdcTrack * GetMdcTrack(Int_t i, TDisTrack *recEvent) const
const Int_t GetMdcTrackNum(TDisTrack *recEvent) const
const TCgemDigi * GetCgemDigi(Int_t i) const
virtual void SetMcEvent(TMcEvent *mcEvt)
void SetMagnetic(Double_t input)
virtual void SetCgemClusters(const TRecCgemCluster *recCluster, int ncluster)
virtual void ConstructEmcTrackFromRec(BesGeoTrack *emcTrack, const TRecEmcShower *recTrack)
const Int_t GetTofTrackNum(TDisTrack *recEvent) const
virtual void Print(Option_t *option="")
const TRecMdcDedx * GetDedx(Int_t i) const
const Int_t GetMdcDigiNum() const
virtual void SetMucTracks(TDisTrack *recEvent)
const Int_t GetCgemDigiNum() const
virtual void ConstructMcTrack(BesMcTrack *mcTrack, const TMcParticle *mcPart)
virtual void DrawCgemUFClusters(int layer, Option_t *option)
const Int_t GetExtTrackNum() const
virtual void DrawCgemClusters(Option_t *option)
virtual void SetMdcTracks(TDisTrack *recEvent)
virtual void SetEmcShowers(TDisTrack *recEvent)
const Int_t GetEmcShowerNum(TDisTrack *recEvent) const
const TMucDigi * GetMucDigi(Int_t i) const
BesEventHeader GetHeader()
const TObjArray * GetMdcDigiCol() const
const TRecEmcShower * GetEmcShower(Int_t i, TDisTrack *recEvent) const
const Int_t GetEmcDigiNum() const
virtual void ConstructMucTrackFromRec(BesGeoTrack *mucTrack, const TRecMucTrack *recTrack)
const TObjArray * GetEmcDigiCol() const
const TMdcDigi * GetMdcDigi(Int_t i) const
const TObjArray * GetDedxCol(TDisTrack *recEvent) const
const TObjArray * GetCgemDigiCol() const
virtual void DrawMcParticles(Option_t *option)
const TObjArray * GetTofDigiCol() const
const Int_t GetDedxNum(TDisTrack *recEvent) const
const TEmcDigi * GetEmcDigi(Int_t i) const
const TRecMucTrack * GetMucTrack(Int_t i, TDisTrack *recEvent) const
virtual void ConstructMdcTrackFromRec(BesGeoTrack *mdcTrack, const TRecMdcTrack *recTrack, TDisTrack *recEvent)
const TObjArray * GetExtTrackCol() const
virtual void SetEvent(TDigiEvent *digiEvent, TDisTrack *recEvent, TEvtHeader *evtHeader, TRecEvTime *recEvTime, Bool_t isRec, TMcEvent *mcEvt=0)
virtual void DrawHits(Option_t *option)
virtual void DrawTracks(Option_t *option)
virtual void SetTracks(TDisTrack *recEvent)
virtual void SetExtTracks(TDisTrack *recEvent)
const TObjArray * getMucDigiCol() const
retrieve the whole TObjArray of MucDigi Data
const TMucDigi * getMucDigi(Int_t i) const
retrieve a MucDigi From the collection, using the index into the array
const TObjArray * getMdcDigiCol() const
retrieve the whole TObjArray of TkrDigi Data
const TMdcDigi * getMdcDigi(Int_t i) const
retrieve a TkrDigi from the collection, using the index into the array
const TEmcDigi * getEmcDigi(Int_t i) const
retrieve a EmcDigi from the collection, using the index into the array
const TCgemDigi * getCgemDigi(Int_t i) const
retrieve a TkrDigi from the collection, using the index into the array
const TTofDigi * getTofDigi(Int_t i) const
retrieve a TofDigi From the collection, using the index into the array
const TObjArray * getTofDigiCol() const
retrieve the whole TObjArray of TofDigi Data
const TObjArray * getEmcDigiCol() const
retrieve the whole TObjArray of TkrDigi Data
const TObjArray * getCgemDigiCol() const
retrieve the whole TObjArray of TkrDigi Data
const TRecTofTrack * getTofTrack(Int_t i) const
retrieve a TofTrack From the collection, using the index into the array
const TRecMucTrack * getMucTrack(Int_t i) const
retrieve a MucTrack From the collection, using the index into the array
const TObjArray * getRecMdcTrackCol() const
retrieve the whole TObjArray of RecMdcTrack Data
const TRecEmcShower * getEmcShower(Int_t i) const
retrieve a EmcShower from the collection, using the index into the array
const TObjArray * getTofTrackCol() const
retrieve the whole TObjArray of TofTrack Data
const TObjArray * getMucTrackCol() const
retrieve the whole TObjArray of MucTrack Data
const TRecMdcTrack * getRecMdcTrack(Int_t i) const
retrieve a MdcTrack from the collection, using the index into the array