1#ifndef RootEventData_TDisTrack_H
2#define RootEventData_TDisTrack_H 1
4#include "TClonesArray.h"
24 void Clear(Option_t *option=
"");
26 void Print(Option_t *option=
"")
const;
90 return m_recTofTrackCol; };
117 const TObjArray* getTofTrackCol() const {
118 std::cout<<" in TObjArray* getTofTrackCol()"<<std::endl;
119 return m_recTofTrackCol; };
122 void addTofTrack(TRecTofTrack * Track);
125 const TRecTofTrack* getTofTrack(Int_t i) const;
128 void clearTofTrackCol() { m_recTofTrackCol->Clear();}
132 const TObjArray* getEmcHitCol() const { return m_recEmcHitCol; };
134 // /// Add a TkrTrack into the Emc data collection
135 void addEmcHit(TRecEmcHit *Track);
138 const TRecEmcHit* getEmcHit(Int_t i) const;
141 void clearEmcHitCol() { m_recEmcHitCol->Clear(); }
144 const TObjArray* getEmcClusterCol() const { return m_recEmcClusterCol; };
147 void addEmcCluster(TRecEmcCluster *Track);
150 const TRecEmcCluster* getEmcCluster(Int_t i) const;
153 void clearEmcClusterCol() { m_recEmcClusterCol->Clear(); }
169 const TObjArray* getMucTrackCol() const { return m_recMucTrackCol; };
172 void addMucTrack(TRecMucTrack * Track);
175 const TRecMucTrack* getMucTrack(Int_t i) const;
178 void clearMucTrackCol() { m_recMucTrackCol->Clear();}
181 const TObjArray* getRecMdcDedxCol() const { return m_recMdcDedxCol; };
184 void addRecMdcDedx(TRecMdcDedx * Track);
187 const TRecMdcDedx* getRecMdcDedx(Int_t i) const;
190 void clearRecMdcDedxCol() { m_recMdcDedxCol->Clear();}
194 const TObjArray* getRecMdcDedxHitCol() const { return m_recMdcDedxHitCol; };
197 void addRecMdcDedxHit(TRecMdcDedxHit * Track);
200 const TRecMdcDedxHit* getRecMdcDedxHit(Int_t i) const;
203 void clearRecMdcDedxHitCol() { m_recMdcDedxHitCol->Clear();}
208// const TObjArray* getExtTrackCol() const { return m_extTrackCol; };
211 // void addExtTrack(TRecExtTrack * Track);
236 TObjArray* m_recMdcTrackCol;
237 TObjArray* m_recCgemTrackCol;
238 TObjArray* m_recCgemSegmentCol;
239 TObjArray* m_recTofTrackCol;
240 TObjArray* m_recMdcHitCol;
241 TObjArray* m_recCgemHitCol;
242 TObjArray* m_recMucTrackCol;
243 TObjArray* m_recEmcShowerCol;
256 static TObjArray * s_staticTofTrackCol;
257 TObjArray* m_recTofTrackCol; //->
260 static TObjArray *s_staticMucTrackCol;
261 TObjArray* m_recMucTrackCol; //->
264 static TObjArray * s_staticRecMdcDedxCol;
265 TObjArray* m_recMdcDedxCol; //->
268 static TObjArray * s_staticRecMdcDedxHitCol;
269 TObjArray* m_recMdcDedxHitCol; //->
void addRecMdcTrack(TRecMdcTrack *Track)
Add a TkrTrack into the Mdc data collection.
void addRecCgemHit(TRecCgemHit *Hit)
Add a Rec Cgem Hit into the Cgem data collection.
const TObjArray * getRecCgemTrackCol() const
retrieve the whole TObjArray of RecCgemTrack Data
const TObjArray * getRecCgemSegmentCol() const
retrieve the whole TObjArray of RecCgemSegment Data
void clearEmcShowerCol()
clear the whole array (necessary because of the consts-s)
void clearRecCgemHitCol()
clear the whole array (necessary because of the consts-s)
const TRecTofTrack * getTofTrack(Int_t i) const
retrieve a TofTrack From the collection, using the index into the array
void clearMucTrackCol()
clear the whole array
void clearRecMdcHitCol()
clear the whole array (necessary because of the consts-s)
const TRecCgemTrack * getRecCgemTrack(Int_t i) const
retrieve a CgemTrack from the collection, using the index into the array
const TRecCgemSegment * getRecCgemSegment(Int_t i) const
retrieve a CgemSegment 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
void addRecCgemTrack(TRecCgemTrack *Track)
Add a TkrTrack into the Cgem data collection.
void addTofTrack(TRecTofTrack *Track)
void clearRecCgemSegmentCol()
clear the whole array (necessary because of the consts-s)
void addMucTrack(TRecMucTrack *Track)
Add a MucTrack into the TOF Data collection.
const TObjArray * getEmcShowerCol() const
retrieve the whole TObjArray of EmcShower Data
void Clear(Option_t *option="")
const TObjArray * getRecMdcTrackCol() const
retrieve the whole TObjArray of RecMdcTrack Data
const TObjArray * getRecMdcHitCol() const
retrieve the whole TObjArray of RecMdcHit Data
const TRecEmcShower * getEmcShower(Int_t i) const
retrieve a EmcShower from the collection, using the index into the array
void clearRecCgemTrackCol()
clear the whole array (necessary because of the consts-s)
const TRecMdcHit * getRecMdcHit(Int_t i) const
retrieve a RecMdcHit from the collection, using the index into the array
const TObjArray * getTofTrackCol() const
retrieve the whole TObjArray of TofTrack Data
void Print(Option_t *option="") const
void clearRecMdcTrackCol()
clear the whole array (necessary because of the consts-s)
const TObjArray * getRecCgemHitCol() const
retrieve the whole TObjArray of RecCgemHit Data
const TObjArray * getMucTrackCol() const
retrieve the whole TObjArray of MucTrack Data
void addRecMdcHit(TRecMdcHit *Hit)
Add a Rec Mdc Hit into the Mdc data collection.
const TRecCgemHit * getRecCgemHit(Int_t i) const
retrieve a RecCgemHit from the collection, using the index into the array
void addEmcShower(TRecEmcShower *Track)
Add a TkrTrack into the Emc data collection.
void clearTofTrackCol()
clear the whole array
const TRecMdcTrack * getRecMdcTrack(Int_t i) const
retrieve a MdcTrack from the collection, using the index into the array
void addRecCgemSegment(TRecCgemSegment *Segment)
Add a TkrSegment into the Cgem data collection.