11#include <TDatabasePDG.h>
17#include "RootEventData/TDigiEvent.h"
18#include "RootEventData/TRecTrackEvent.h"
19#include "RootEventData/TEvtHeader.h"
20#include "RootEventData/TDisTrack.h"
21#include "RootEventData/TTrigEvent.h"
22#include "RootEventData/TTrigData.h"
23#include "RootEventData/TRecEvTime.h"
24#include "RootEventData/TRecCgemCluster.h"
25#include "RootEventData/TMcEvent.h"
38 TObjArray *fCgemClusterCol;
39 TObjArray *fCgemClusterUFCol[3];
40 TObjArray *fMdcTrackCol;
41 TObjArray *fTofTrackCol;
42 TObjArray *fEmcTrackCol;
43 TObjArray *fMucTrackCol;
44 TObjArray *fExtTrackCol;
45 TObjArray *fMcParticleCol;
47 bool Is_tofBarrel(UInt_t status);
48 bool Is_tofCounter(UInt_t status);
53 virtual void Clear(Option_t *option =
"");
54 virtual void Delete(Option_t *option =
"");
55 virtual void Print(Option_t *option =
"");
79 virtual void DrawHits(Option_t *option);
122 if (fDigiEvent)
return fDigiEvent->
getMdcDigiCol()->GetEntries();
126 if (fDigiEvent)
return fDigiEvent->
getTofDigiCol()->GetEntries();
130 if (fDigiEvent)
return fDigiEvent->
getEmcDigiCol()->GetEntries();
134 if (fDigiEvent)
return fDigiEvent->
getMucDigiCol()->GetEntries();
138 if (fDigiEvent)
return fDigiEvent->
getMdcDigi(i);
142 if (fDigiEvent)
return fDigiEvent->
getTofDigi(i);
146 if (fDigiEvent)
return fDigiEvent->
getEmcDigi(i);
150 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