BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootEventData/RootEventData/TDstEvent.h
Go to the documentation of this file.
1#ifndef ROOT_TDstEvent_H
2#define ROOT_TDstEvent_H 1
3
4#include "TObject.h"
5#include "TClonesArray.h"
6#include "TObjArray.h"
7
8#include "TMdcTrack.h"
9#include "TEmcTrack.h"
10#include "TTofTrack.h"
11#include "TMucTrack.h"
12#include "TMdcDedx.h"
13#include "TExtTrack.h"
14#include "TMdcKalTrack.h"
15
16class TDstEvent : public TObject {
17
18public:
19
21 virtual ~TDstEvent();
22
23 void initialize();
24
25 void Clear(Option_t *option="");
26
27 void Print(Option_t *option="") const;
28
29
30 // inline Bool_t getFromMc() { return m_fromMc; };
31
32
33 // ********************* Dst Track ******************************/
34
35 /// retrieve the whole TObjArray of MdcTrack Data
36 const TObjArray* getMdcTrackCol() const { return m_mdcTrackCol; };
37
38 /// Add a TkrTrack into the Mdc data collection
40
41 /// retrieve a MdcTrack from the collection, using the index into the array
42 const TMdcTrack* getMdcTrack(Int_t i) const;
43
44 /// clear the whole array (necessary because of the consts-s)
45 void clearMdcTrackCol() { m_mdcTrackCol->Clear(); }
46
47 /// retrieve the whole TObjArray of EmcTrack Data
48 const TObjArray* getEmcTrackCol() const { return m_emcTrackCol; };
49
50 /// Add a TkrTrack into the Emc data collection
52
53 /// retrieve a EmcTrack from the collection, using the index into the array
54 const TEmcTrack* getEmcTrack(Int_t i) const;
55
56 /// clear the whole array (necessary because of the consts-s)
57 void clearEmcTrackCol() { m_emcTrackCol->Clear(); }
58
59 /// retrieve the whole TObjArray of TofTrack Data
60 const TObjArray* getTofTrackCol() const { return m_tofTrackCol; };
61
62 ///Add a TofTrack into the TOF Data collection
64
65 /// retrieve a TofTrack From the collection, using the index into the array
66 const TTofTrack* getTofTrack(Int_t i) const;
67
68 /// clear the whole array
69 void clearTofTrackCol() { m_tofTrackCol->Clear();}
70
71 /// retrieve the whole TObjArray of MucTrack Data
72 const TObjArray* getMucTrackCol() const { return m_mucTrackCol; };
73
74 ///Add a MucTrack into the TOF Data collection
76
77 /// retrieve a MucTrack From the collection, using the index into the array
78 const TMucTrack* getMucTrack(Int_t i) const;
79
80 /// clear the whole array
81 void clearMucTrackCol() { m_mucTrackCol->Clear();}
82
83 /// retrieve the whole TObjArray of Dedx Data
84 const TObjArray* getMdcDedxCol() const { return m_mdcDedxCol; };
85
86 ///Add a Dedx into the TOF Data collection
88
89 /// retrieve a TofTrack From the collection, using the index into the array
90 const TMdcDedx* getMdcDedx(Int_t i) const;
91
92 /// clear the whole array
93 void clearMdcDedxCol() { m_mdcDedxCol->Clear();}
94
95 /// retrieve the whole TObjArray of Ext Data
96 const TObjArray* getExtTrackCol() const { return m_extTrackCol; };
97
98 ///Add a ExtTrack into the Ext Data collection
100
101 /// retrieve a MucTrack From the collection, using the index into the array
102 const TExtTrack* getExtTrack(Int_t i) const;
103
104 /// clear the whole array
105 void clearExtTrackCol() { m_extTrackCol->Clear();}
106
107 // TObjArray of MdcKal Data
108 const TObjArray* getMdcKalTrackCol() const { return m_mdcKalTrackCol; };
110 const TMdcKalTrack* getMdcKalTrack(Int_t i) const;
111 void clearMdcKalTrackCol() { m_mdcKalTrackCol->Clear();}
112
113private:
114
115
116 /// data members to store Emc track data
117 static TObjArray * s_staticEmcTrackCol;
118 TObjArray* m_emcTrackCol; //->
119
120 /// data members to store Mdc data
121 static TObjArray *s_staticMdcTrackCol;
122 TObjArray* m_mdcTrackCol; //->
123
124 /// data members to store Tof data
125 static TObjArray * s_staticTofTrackCol;
126 TObjArray* m_tofTrackCol; //->
127
128 /// data members to store Muc data
129 static TObjArray *s_staticMucTrackCol;
130 TObjArray* m_mucTrackCol; //->
131
132 /// data members to store Dedx data
133 static TObjArray * s_staticMdcDedxCol;
134 TObjArray* m_mdcDedxCol; //->
135
136 /// data members to store Ext data
137 static TObjArray * s_staticExtTrackCol;
138 TObjArray* m_extTrackCol; //->
139
140 /// data members to store MdcKal data
141 static TObjArray * s_staticMdcKalTrackCol;
142 TObjArray* m_mdcKalTrackCol; //->
143
144 ClassDef(TDstEvent,6)
145
146};
147
148#endif
void addMdcTrack(TMdcTrack *Track)
Add a TkrTrack into the Mdc data collection.
const TMdcDedx * getMdcDedx(Int_t i) const
retrieve a TofTrack From the collection, using the index into the array
const TObjArray * getMdcDedxCol() const
retrieve the whole TObjArray of Dedx Data
void addEmcTrack(TEmcTrack *Track)
Add a TkrTrack into the Emc data collection.
void clearMdcTrackCol()
clear the whole array (necessary because of the consts-s)
void initialize()
const TObjArray * getEmcTrackCol() const
retrieve the whole TObjArray of EmcTrack Data
const TEmcTrack * getEmcTrack(Int_t i) const
retrieve a EmcTrack from the collection, using the index into the array
void addExtTrack(TExtTrack *Track)
Add a ExtTrack into the Ext Data collection.
virtual ~TDstEvent()
void clearEmcTrackCol()
clear the whole array (necessary because of the consts-s)
void addMdcKalTrack(TMdcKalTrack *Track)
void addMucTrack(TMucTrack *Track)
Add a MucTrack into the TOF Data collection.
void Print(Option_t *option="") const
const TObjArray * getMucTrackCol() const
retrieve the whole TObjArray of MucTrack Data
const TExtTrack * getExtTrack(Int_t i) const
retrieve a MucTrack From the collection, using the index into the array
void addMdcDedx(TMdcDedx *Track)
Add a Dedx into the TOF Data collection.
const TMdcKalTrack * getMdcKalTrack(Int_t i) const
const TTofTrack * getTofTrack(Int_t i) const
retrieve a TofTrack From the collection, using the index into the array
const TMucTrack * getMucTrack(Int_t i) const
retrieve a MucTrack From the collection, using the index into the array
const TMdcTrack * getMdcTrack(Int_t i) const
retrieve a MdcTrack from the collection, using the index into the array
const TObjArray * getTofTrackCol() const
retrieve the whole TObjArray of TofTrack Data
const TObjArray * getExtTrackCol() const
retrieve the whole TObjArray of Ext Data
const TObjArray * getMdcTrackCol() const
retrieve the whole TObjArray of MdcTrack Data
void Clear(Option_t *option="")
void addTofTrack(TTofTrack *Track)
Add a TofTrack into the TOF Data collection.