1#ifndef RootEventData_TDisTrack_H
2#define RootEventData_TDisTrack_H 1
4#include "TClonesArray.h"
21 void Clear(Option_t *option=
"");
23 void Print(Option_t *option=
"")
const;
54 return m_recTofTrackCol; };
78 const TObjArray* getTofTrackCol() const {
79 std::cout<<" in TObjArray* getTofTrackCol()"<<std::endl;
80 return m_recTofTrackCol; };
83 void addTofTrack(TRecTofTrack * Track);
86 const TRecTofTrack* getTofTrack(Int_t i) const;
89 void clearTofTrackCol() { m_recTofTrackCol->Clear();}
93 const TObjArray* getEmcHitCol() const { return m_recEmcHitCol; };
95 // /// Add a TkrTrack into the Emc data collection
96 void addEmcHit(TRecEmcHit *Track);
99 const TRecEmcHit* getEmcHit(Int_t i) const;
102 void clearEmcHitCol() { m_recEmcHitCol->Clear(); }
105 const TObjArray* getEmcClusterCol() const { return m_recEmcClusterCol; };
108 void addEmcCluster(TRecEmcCluster *Track);
111 const TRecEmcCluster* getEmcCluster(Int_t i) const;
114 void clearEmcClusterCol() { m_recEmcClusterCol->Clear(); }
130 const TObjArray* getMucTrackCol() const { return m_recMucTrackCol; };
133 void addMucTrack(TRecMucTrack * Track);
136 const TRecMucTrack* getMucTrack(Int_t i) const;
139 void clearMucTrackCol() { m_recMucTrackCol->Clear();}
142 const TObjArray* getRecMdcDedxCol() const { return m_recMdcDedxCol; };
145 void addRecMdcDedx(TRecMdcDedx * Track);
148 const TRecMdcDedx* getRecMdcDedx(Int_t i) const;
151 void clearRecMdcDedxCol() { m_recMdcDedxCol->Clear();}
155 const TObjArray* getRecMdcDedxHitCol() const { return m_recMdcDedxHitCol; };
158 void addRecMdcDedxHit(TRecMdcDedxHit * Track);
161 const TRecMdcDedxHit* getRecMdcDedxHit(Int_t i) const;
164 void clearRecMdcDedxHitCol() { m_recMdcDedxHitCol->Clear();}
169// const TObjArray* getExtTrackCol() const { return m_extTrackCol; };
172 // void addExtTrack(TRecExtTrack * Track);
197 TObjArray* m_recMdcTrackCol;
198 TObjArray* m_recTofTrackCol;
199 TObjArray* m_recMdcHitCol;
200 TObjArray* m_recMucTrackCol;
201 TObjArray* m_recEmcShowerCol;
214 static TObjArray * s_staticTofTrackCol;
215 TObjArray* m_recTofTrackCol; //->
218 static TObjArray *s_staticMucTrackCol;
219 TObjArray* m_recMucTrackCol; //->
222 static TObjArray * s_staticRecMdcDedxCol;
223 TObjArray* m_recMdcDedxCol; //->
226 static TObjArray * s_staticRecMdcDedxHitCol;
227 TObjArray* m_recMdcDedxHitCol; //->
void addRecMdcTrack(TRecMdcTrack *Track)
Add a TkrTrack into the Mdc data collection.
void clearEmcShowerCol()
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 TRecMucTrack * getMucTrack(Int_t i) const
retrieve a MucTrack From the collection, using the index into the array
void addTofTrack(TRecTofTrack *Track)
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
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 * getMucTrackCol() const
retrieve the whole TObjArray of MucTrack Data
void addRecMdcHit(TRecMdcHit *Hit)
Add a Rec Mdc Hit into the Mdc data collection.
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