118 #ifndef StHbtTrack_hh
119 #define StHbtTrack_hh
123 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
124 #include "StPhysicalHelixD.hh"
126 #include "StHbtMaker/Base/StHbtHiddenInfo.hh"
149 short TrackType()
const;
150 short Charge()
const;
152 short NHitsPossible()
const;
153 short NHitsDedx()
const;
154 const float* NSigma()
const;
155 float NSigmaElectron()
const;
156 float NSigmaPion()
const;
157 float NSigmaKaon()
const;
158 float NSigmaProton()
const;
159 float PidProbElectron()
const;
160 float PidProbPion()
const;
161 float PidProbKaon()
const;
162 float PidProbProton()
const;
166 float DCAzGlobal()
const;
167 float DCAxyGlobal()
const;
168 float ChiSquaredXY()
const;
169 float ChiSquaredZ()
const;
173 float PtGlobal()
const;
176 unsigned int TopologyMap(
const unsigned int word)
const;
177 short TrackId()
const;
179 void SetTrackType(
const short&);
180 void SetCharge(
const short&);
181 void SetNHits(
const short&);
182 void SetNHitsPossible(
const short&);
183 void SetNHitsDedx(
const short&);
184 void SetNSigmaElectron(
const float&);
185 void SetNSigmaPion(
const float&);
186 void SetNSigmaKaon(
const float&);
187 void SetNSigmaProton(
const float&);
188 void SetPidProbElectron(
const float&);
189 void SetPidProbPion(
const float&);
190 void SetPidProbKaon(
const float&);
191 void SetPidProbProton(
const float&);
192 void SetdEdx(
const float&);
193 void SetDCAxy(
const float&);
194 void SetDCAz(
const float&);
195 void SetDCAxyGlobal(
const float&);
196 void SetDCAzGlobal(
const float&);
197 void SetChiSquaredXY(
const float&);
198 void SetChiSquaredZ(
const float&);
200 void SetPt(
const float&);
202 void SetPtGlobal(
const float&);
205 void SetTopologyMap(
const int word,
const unsigned int map);
206 void SetTrackId(
const short&);
210 bool ValidHiddenInfo()
const;
216 friend ostream& operator<<(ostream& out,
StHbtTrack& trk);
217 friend istream& operator>>(istream& in,
StHbtTrack& trk);
222 unsigned short mNHits;
223 unsigned short mNHitsPoss;
224 unsigned short mNHitsDedx;
225 float mNSigmaElectron;
229 float mPidProbElectron;
232 float mPidProbProton;
240 unsigned int mMap[2];
241 unsigned int mTrackId;
262 inline const float* StHbtTrack::NSigma()
const
263 {
return &mNSigmaElectron;}
264 inline float StHbtTrack::PidProbElectron()
const {
return mPidProbElectron;}
265 inline float StHbtTrack::PidProbPion()
const {
return mPidProbPion;}
266 inline float StHbtTrack::PidProbKaon()
const {
return mPidProbKaon;}
267 inline float StHbtTrack::PidProbProton()
const {
return mPidProbProton;}
269 inline float StHbtTrack::PtGlobal()
const {
return mPtGlobal;}
Number of hits in diffent zones of the TPC for a given track.