Belle II Software  release-05-02-19
CDCDedxTrack.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jake Bennett, Christian Pulvermacher
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef CDCDEDXTRACK_H
12 #define CDCDEDXTRACK_H
13 
14 #include <framework/datastore/RelationsObject.h>
15 #include <framework/gearbox/Const.h>
16 
17 #include <vector>
18 
19 namespace Belle2 {
28  class CDCDedxTrack : public RelationsObject {
29  friend class CDCDedxPIDModule;
30  friend class CDCDedxScanModule;
31  friend class CDCDedxCorrectionModule;
32 
33  public:
34 
38  m_track(0), m_charge(0), m_cosTheta(0), m_p(0), m_pCDC(0),
39  m_length(0.0), m_pdg(-999), m_mcmass(0), m_motherPDG(0), m_pTrue(0), m_cosThetaTrue(0),
40  m_scale(0), m_cosCor(0), m_cosEdgeCor(0), m_runGain(0),
41  m_lNHitsUsed(0)
42  {
44 
45  // set default values for all particles
46  for (unsigned int i = 0; i < Const::ChargedStable::c_SetSize; i++) {
47  m_predmean[i] = 0.0;
48  m_predres[i] = 0.0;
49  m_cdcChi[i] = -999.;
50  m_cdcLogl[i] = 0.0;
51  }
52  }
53 
55  void addDedx(int nhitscombined, int wirelongesthit, int layer, double distance, double dedxValue)
56  {
57  m_lNHitsCombined.push_back(nhitscombined);
58  m_lWireLongestHit.push_back(wirelongesthit);
59  m_lLayer.push_back(layer);
60  m_lPath.push_back(distance);
61  m_lDedx.push_back(dedxValue);
62 
63  m_length += distance;
64  }
65 
67  void addHit(int lwire, int wire, int layer, double doca, double docaRS, double enta, double entaRS,
68  int adcCount, int adcbaseCount, double dE, double path, double dedx, double cellHeight, double cellHalfWidth,
69  int driftT, double driftD, double driftDRes, double wiregain, double twodcor,
70  double onedcor, int foundByTrackFinder, double weightPionHypo, double weightKaonHypo, double weightProtHypo)
71  {
72 
73  m_hLWire.push_back(lwire);
74  m_hWire.push_back(wire);
75  m_hLayer.push_back(layer);
76  m_hPath.push_back(path);
77  m_hDedx.push_back(dedx);
78  m_hADCCount.push_back(adcCount);
79  m_hADCBaseCount.push_back(adcbaseCount);
80  m_hDoca.push_back(doca);
81  m_hDocaRS.push_back(docaRS);
82  m_hEnta.push_back(enta);
83  m_hEntaRS.push_back(entaRS);
84  m_hDriftT.push_back(driftT);
85  m_hdE.push_back(dE);
86  m_hCellHeight.push_back(cellHeight);
87  m_hCellHalfWidth.push_back(cellHalfWidth);
88  m_hDriftD.push_back(driftD);
89  m_hDriftDRes.push_back(driftDRes);
90  m_hWireGain.push_back(wiregain);
91  m_hTwodCor.push_back(twodcor);
92  m_hOnedCor.push_back(onedcor);
93  m_hFoundByTrackFinder.push_back(foundByTrackFinder);
94  m_hWeightPionHypo.push_back(weightPionHypo);
95  m_hWeightKaonHypo.push_back(weightKaonHypo);
96  m_hWeightProtHypo.push_back(weightProtHypo);
97  }
98 
100  double trackID() const { return m_track; }
101 
103  double getPDG() const { return m_pdg; }
104 
106  double getDedx() const { return m_dedxAvgTruncated; }
107 
109  double getDedxNoSat() const { return m_dedxAvgTruncatedNoSat; }
110 
112  double getDedxError() const { return m_dedxAvgTruncatedErr; }
113 
115  double getDedxMean() const { return m_dedxAvg; }
116 
118  std::vector< double > getDedxList() const { return m_hDedx; }
119 
121  double getMomentum() const { return m_pCDC; }
122 
124  double getCosTheta() const { return m_cosTheta; }
125 
127  int getCharge() const { return m_charge; }
128 
130  double getLength() const { return m_length; }
131 
133  double getCosineCorrection() const { return m_cosCor; }
134 
136  double getCosEdgeCorrection() const { return m_cosEdgeCor; }
137 
139  double getRunGain() const { return m_runGain; }
140 
142  double getSimulatedDedx() const { return m_simDedx; }
143 
145  void setDedx(double mean) { m_dedxAvgTruncated = mean; }
146 
148  void setDedxNoSat(double mean) { m_dedxAvgTruncatedNoSat = mean; }
149 
151  void setDedxError(double error) { m_dedxAvgTruncatedErr = error; }
152 
154  void setDedxMean(double mean) { m_dedxAvg = mean; }
155 
157  void setSimulatedDedx(double dedx) { m_simDedx = dedx; }
158 
159 
160  // Layer level
162  int getNLayerHits() const { return m_lDedx.size(); }
163 
165  double getNLayerHitsUsed() const { return m_lNHitsUsed; }
166 
168  int getNHitsCombined(int i) const { return m_lNHitsCombined[i]; }
169 
171  int getWireLongestHit(int i) const { return m_lWireLongestHit[i]; }
172 
174  int getLayer(int i) const { return m_lLayer[i]; }
175 
177  double getLayerPath(int i) const { return m_lPath[i]; }
178 
180  double getLayerDedx(int i) const { return m_lDedx[i]; }
181 
183  void setLayerDedx(int i, double dedx) { m_lDedx[i] = dedx; }
184 
185 
186  // Hit level
188  int size() const { return m_hDedx.size(); }
189 
191  int getWireInLayer(int i) const { return m_hLWire[i]; }
192 
194  int getWire(int i) const { return m_hWire[i]; }
195 
197  int getHitLayer(int i) const { return m_hLayer[i]; }
198 
200  double getPath(int i) const { return m_hPath[i]; }
201 
203  double getDedx(int i) const { return m_hDedx[i]; }
204 
206  int getADCCount(int i) const { return m_hADCCount[i]; }
207 
209  int getADCBaseCount(int i) const { return m_hADCBaseCount[i]; }
210 
212  double getNonLADCCorrection(int i) const { return (m_hADCBaseCount[i] * 1.0) / m_hADCCount[i]; }
213 
215  double getDoca(int i) const { return m_hDoca[i]; }
216 
218  double getEnta(int i) const { return m_hEnta[i]; }
219 
221  double getDocaRS(int i) const { return m_hDocaRS[i]; }
222 
224  double getEntaRS(int i) const { return m_hEntaRS[i]; }
225 
227  int getDriftT(int i) const { return m_hDriftT[i]; }
228 
230  double getDE(int i) const { return m_hdE[i]; }
231 
233  double getCellHeight(int i) const { return m_hCellHeight[i]; }
234 
236  double getCellHalfWidth(int i) const { return m_hCellHalfWidth[i]; }
237 
239  double getDriftD(int i) const { return m_hDriftD[i]; }
240 
242  double getDriftDRes(int i) const { return m_hDriftDRes[i]; }
243 
245  double getWireGain(int i) const { return m_hWireGain[i]; }
246 
248  double getTwoDCorrection(int i) const { return m_hTwodCor[i]; }
249 
251  double getOneDCorrection(int i) const { return m_hOnedCor[i]; }
252 
255  int getFoundByTrackFinder(int i) const { return m_hFoundByTrackFinder[i]; }
256 
258  double getWeightPionHypo(int i) const { return m_hWeightPionHypo[i]; }
259 
261  double getWeightKaonHypo(int i) const { return m_hWeightKaonHypo[i]; }
262 
264  double getWeightProtonHypo(int i) const { return m_hWeightProtHypo[i]; }
265 
267  double getChi(int i) const { return m_cdcChi[i]; }
268 
270  double getPmean(int i) const { return m_predmean[i]; }
271 
273  double getPreso(int i) const { return m_predres[i]; }
274 
276  double getLogl(int i) const { return m_cdcLogl[i]; }
277 
279  void setDedx(int i, double dedx) { m_hDedx[i] = dedx; }
280 
281  private:
282 
283  // track level information
284  int m_track;
285  int m_charge;
286  double m_cosTheta;
287  double m_p;
288  double m_pCDC;
289  double m_length;
291  // dE/dx simulation
292  double m_pdg;
293  double m_mcmass;
294  double m_motherPDG;
295  double m_pTrue;
296  double m_cosThetaTrue;
297  double m_simDedx;
299  // calibration constants
300  double m_scale;
301  double m_cosCor;
302  double m_cosEdgeCor;
303  double m_runGain;
304  std::vector<double> m_hWireGain;
305  std::vector<double> m_hTwodCor;
306  std::vector<double> m_hOnedCor;
310  // track level dE/dx measurements
311  double m_dedxAvg;
319  // layer level information (just don't mix with the hit arrays)
321  std::vector<int> m_lNHitsCombined;
322  std::vector<int> m_lWireLongestHit;
323  std::vector<int> m_lLayer;
324  std::vector<double> m_lPath;
325  std::vector<double> m_lDedx;
327  // hit level information
328  std::vector<int> m_hLWire;
329  std::vector<int> m_hWire;
330  std::vector<int> m_hLayer;
331  std::vector<double> m_hPath;
332  std::vector<double> m_hDedx;
333  std::vector<int> m_hADCCount;
334  std::vector<int> m_hADCBaseCount;
335  std::vector<double> m_hDoca;
336  std::vector<double> m_hEnta;
337  std::vector<double> m_hDocaRS;
338  std::vector<double> m_hEntaRS;
339  std::vector<double> m_hdE;
340  std::vector<int> m_hDriftT;
341  std::vector<double> m_hDriftD;
342  std::vector<double> m_hDriftDRes;
343  std::vector<int> m_hFoundByTrackFinder;
344  std::vector<double> m_hWeightPionHypo;
345  std::vector<double> m_hWeightKaonHypo;
346  std::vector<double> m_hWeightProtHypo;
348  std::vector<double> m_hCellHeight;
349  std::vector<double> m_hCellHalfWidth;
352  };
354 }
355 #endif
Belle2::CDCDedxTrack::getPDG
double getPDG() const
Get the identity of the particle.
Definition: CDCDedxTrack.h:111
Belle2::CDCDedxTrack::m_hADCCount
std::vector< int > m_hADCCount
adcCount per hit
Definition: CDCDedxTrack.h:341
Belle2::CDCDedxTrack::m_lWireLongestHit
std::vector< int > m_lWireLongestHit
wire id for the longest hit in the layer
Definition: CDCDedxTrack.h:330
Belle2::CDCDedxTrack::getDedxNoSat
double getDedxNoSat() const
Get dE/dx truncated mean without the saturation correction for this track.
Definition: CDCDedxTrack.h:117
Belle2::CDCDedxTrack::getHitLayer
int getHitLayer(int i) const
Return the (global) layer number for a hit.
Definition: CDCDedxTrack.h:205
Belle2::CDCDedxTrack::m_hLayer
std::vector< int > m_hLayer
layer number
Definition: CDCDedxTrack.h:338
Belle2::CDCDedxTrack::m_hEnta
std::vector< double > m_hEnta
entrance angle in CDC cell
Definition: CDCDedxTrack.h:344
Belle2::Const::ChargedStable::c_SetSize
static const unsigned int c_SetSize
Number of elements (for use in array bounds etc.)
Definition: Const.h:491
Belle2::CDCDedxTrack::getWireGain
double getWireGain(int i) const
Return the wire gain for this hit.
Definition: CDCDedxTrack.h:253
Belle2::CDCDedxTrack::setLayerDedx
void setLayerDedx(int i, double dedx)
Set the total dE/dx for this layer.
Definition: CDCDedxTrack.h:191
Belle2::CDCDedxTrack::m_hCellHalfWidth
std::vector< double > m_hCellHalfWidth
half-width of the CDC cell
Definition: CDCDedxTrack.h:357
Belle2::CDCDedxTrack::m_mcmass
double m_mcmass
MC PID mass.
Definition: CDCDedxTrack.h:301
Belle2::CDCDedxTrack::m_scale
double m_scale
scale factor to make electrons ~1
Definition: CDCDedxTrack.h:308
Belle2::CDCDedxTrack::getCellHeight
double getCellHeight(int i) const
Return the height of the CDC cell.
Definition: CDCDedxTrack.h:241
Belle2::CDCDedxTrack::m_cosThetaTrue
double m_cosThetaTrue
MC true cos(theta)
Definition: CDCDedxTrack.h:304
Belle2::CDCDedxTrack::m_hDedx
std::vector< double > m_hDedx
charge per path length (dE/dx)
Definition: CDCDedxTrack.h:340
Belle2::CDCDedxTrack::getDedx
double getDedx() const
Get dE/dx truncated mean for this track.
Definition: CDCDedxTrack.h:114
Belle2::CDCDedxTrack::getEntaRS
double getEntaRS(int i) const
Return rescaled enta value for cell height=width assumption.
Definition: CDCDedxTrack.h:232
Belle2::CDCDedxTrack::getChi
double getChi(int i) const
Return the PID (chi) value.
Definition: CDCDedxTrack.h:275
Belle2::CDCDedxTrack::setDedxError
void setDedxError(double error)
Set the error on the dE/dx truncated mean for this track.
Definition: CDCDedxTrack.h:159
Belle2::CDCDedxTrack::getWire
int getWire(int i) const
Return the sensor ID for this hit: wire number for CDC (0-14336)
Definition: CDCDedxTrack.h:202
Belle2::CDCDedxTrack::m_motherPDG
double m_motherPDG
MC PID of mother particle.
Definition: CDCDedxTrack.h:302
Belle2::CDCDedxTrack::getLayer
int getLayer(int i) const
Return the (global) layer number for a layer hit.
Definition: CDCDedxTrack.h:182
Belle2::CDCDedxTrack::setDedx
void setDedx(double mean)
Set the dE/dx truncated average for this track.
Definition: CDCDedxTrack.h:153
Belle2::CDCDedxTrack::m_cosCor
double m_cosCor
calibration cosine correction
Definition: CDCDedxTrack.h:309
Belle2::CDCDedxTrack::m_cosEdgeCor
double m_cosEdgeCor
calibration cosine edge correction
Definition: CDCDedxTrack.h:310
Belle2::CDCDedxTrack::CDCDedxTrack
CDCDedxTrack()
Default constructor.
Definition: CDCDedxTrack.h:44
Belle2::CDCDedxTrack::getMomentum
double getMomentum() const
Return the track momentum valid in the CDC.
Definition: CDCDedxTrack.h:129
Belle2::CDCDedxTrack::m_hWireGain
std::vector< double > m_hWireGain
calibration hit gain (indexed on number of hits)
Definition: CDCDedxTrack.h:312
Belle2::CDCDedxTrack::m_lNHitsCombined
std::vector< int > m_lNHitsCombined
number of hits combined in the layer
Definition: CDCDedxTrack.h:329
Belle2::CDCDedxTrack::getDriftDRes
double getDriftDRes(int i) const
Return the drift distance resolution for this hit.
Definition: CDCDedxTrack.h:250
Belle2::CDCDedxTrack::m_hLWire
std::vector< int > m_hLWire
wire ID within the layer
Definition: CDCDedxTrack.h:336
Belle2::CDCDedxTrack::m_hPath
std::vector< double > m_hPath
path length in the CDC cell
Definition: CDCDedxTrack.h:339
Belle2::CDCDedxTrack::m_hWeightKaonHypo
std::vector< double > m_hWeightKaonHypo
weight for kaon hypothesis from KalmanFitterInfo
Definition: CDCDedxTrack.h:353
Belle2::CDCDedxTrack::getADCCount
int getADCCount(int i) const
Return the adcCount for this hit.
Definition: CDCDedxTrack.h:214
Belle2::CDCDedxTrack::addDedx
void addDedx(int nhitscombined, int wirelongesthit, int layer, double distance, double dedxValue)
add dE/dx information for a CDC layer
Definition: CDCDedxTrack.h:63
Belle2::CDCDedxTrack::getLength
double getLength() const
Return the total path length for this track.
Definition: CDCDedxTrack.h:138
Belle2::CDCDedxTrack::setSimulatedDedx
void setSimulatedDedx(double dedx)
Set the track level MC dE/dx mean for this track.
Definition: CDCDedxTrack.h:165
Belle2::CDCDedxTrack::getDedxList
std::vector< double > getDedxList() const
Return the vector of dE/dx values for this track.
Definition: CDCDedxTrack.h:126
Belle2::CDCDedxTrack::getCosineCorrection
double getCosineCorrection() const
Return the cosine correction for this track.
Definition: CDCDedxTrack.h:141
Belle2::CDCDedxTrack::m_hCellHeight
std::vector< double > m_hCellHeight
height of the CDC cell
Definition: CDCDedxTrack.h:356
Belle2::CDCDedxTrack::getLogl
double getLogl(int i) const
Return the PID (logL) value.
Definition: CDCDedxTrack.h:284
Belle2::CDCDedxTrack::getDE
double getDE(int i) const
Return the ionization charge collected for this hit.
Definition: CDCDedxTrack.h:238
Belle2::CDCDedxTrack::getEnta
double getEnta(int i) const
Return the entrance angle in the CDC cell for this hit.
Definition: CDCDedxTrack.h:226
Belle2::CDCDedxTrack::m_hDriftD
std::vector< double > m_hDriftD
drift distance for each hit
Definition: CDCDedxTrack.h:349
Belle2::CDCDedxTrack::size
int size() const
Return the number of hits for this track.
Definition: CDCDedxTrack.h:196
Belle2::CDCDedxTrack::m_hDriftT
std::vector< int > m_hDriftT
drift time for each hit
Definition: CDCDedxTrack.h:348
Belle2::CDCDedxTrack::getTwoDCorrection
double getTwoDCorrection(int i) const
Return the 2D correction for this hit.
Definition: CDCDedxTrack.h:256
Belle2::CDCDedxTrack::getOneDCorrection
double getOneDCorrection(int i) const
Return the 1D correction for this hit.
Definition: CDCDedxTrack.h:259
Belle2::CDCDedxTrack::getLayerDedx
double getLayerDedx(int i) const
Return the total dE/dx for this layer.
Definition: CDCDedxTrack.h:188
Belle2::CDCDedxTrack::m_dedxAvgTruncated
double m_dedxAvgTruncated
dE/dx truncated mean per track
Definition: CDCDedxTrack.h:320
Belle2::CDCDedxTrack::m_hDriftDRes
std::vector< double > m_hDriftDRes
drift distance resolution for each hit
Definition: CDCDedxTrack.h:350
Belle2::CDCDedxTrack::m_hTwodCor
std::vector< double > m_hTwodCor
calibration 2-D correction (indexed on number of hits)
Definition: CDCDedxTrack.h:313
Belle2::CDCDedxTrack::getCharge
int getCharge() const
Return the charge for this track.
Definition: CDCDedxTrack.h:135
Belle2::CDCDedxTrack::m_dedxAvg
double m_dedxAvg
dE/dx mean value per track
Definition: CDCDedxTrack.h:319
Belle2::CDCDedxTrack::getDriftD
double getDriftD(int i) const
Return the drift distance for this hit.
Definition: CDCDedxTrack.h:247
Belle2::CDCDedxTrack::m_cdcLogl
double m_cdcLogl[Const::ChargedStable::c_SetSize]
log likelihood for each particle, not including momentum prior
Definition: CDCDedxTrack.h:324
Belle2::CDCDedxTrack::getFoundByTrackFinder
int getFoundByTrackFinder(int i) const
Return the TrackFinder which added the given hit to track.
Definition: CDCDedxTrack.h:263
Belle2::CDCDedxTrack::m_lLayer
std::vector< int > m_lLayer
layer id corresponding to dedx
Definition: CDCDedxTrack.h:331
Belle2::CDCDedxTrack::getPath
double getPath(int i) const
Return the path length through the cell for this hit.
Definition: CDCDedxTrack.h:208
Belle2::CDCDedxTrack::getLayerPath
double getLayerPath(int i) const
Return the distance travelled in this layer.
Definition: CDCDedxTrack.h:185
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDCDedxTrack::m_pTrue
double m_pTrue
MC true momentum.
Definition: CDCDedxTrack.h:303
Belle2::CDCDedxTrack::getWireLongestHit
int getWireLongestHit(int i) const
Return the wire number of the longest hit per layer.
Definition: CDCDedxTrack.h:179
Belle2::CDCDedxTrack::m_hdE
std::vector< double > m_hdE
charge per hit
Definition: CDCDedxTrack.h:347
Belle2::CDCDedxTrack::m_pdg
double m_pdg
MC PID.
Definition: CDCDedxTrack.h:300
Belle2::CDCDedxTrack::m_dedxAvgTruncatedErr
double m_dedxAvgTruncatedErr
standard deviation of m_dedxAvgTruncated
Definition: CDCDedxTrack.h:322
Belle2::CDCDedxTrack::getDedxMean
double getDedxMean() const
Get the dE/dx mean for this track.
Definition: CDCDedxTrack.h:123
Belle2::CDCDedxTrack::m_charge
int m_charge
particle charge from tracking (+1 or -1)
Definition: CDCDedxTrack.h:293
Belle2::CDCDedxTrack::getWireInLayer
int getWireInLayer(int i) const
Return the sensor ID for this hit: wire number in the layer.
Definition: CDCDedxTrack.h:199
Belle2::CDCDedxTrack::m_cdcChi
double m_cdcChi[Const::ChargedStable::c_SetSize]
chi values for each particle type
Definition: CDCDedxTrack.h:323
Belle2::CDCDedxTrack::getDoca
double getDoca(int i) const
Return the distance of closest approach to the sense wire for this hit.
Definition: CDCDedxTrack.h:223
Belle2::CDCDedxTrack::getCosEdgeCorrection
double getCosEdgeCorrection() const
Return the cosine correction for this track.
Definition: CDCDedxTrack.h:144
Belle2::CDCDedxTrack::m_hOnedCor
std::vector< double > m_hOnedCor
calibration 1-D correction (indexed on number of hits)
Definition: CDCDedxTrack.h:314
Belle2::CDCDedxTrack::m_hFoundByTrackFinder
std::vector< int > m_hFoundByTrackFinder
the 'found by track finder' flag for the given hit
Definition: CDCDedxTrack.h:351
Belle2::CDCDedxTrack::getNHitsCombined
int getNHitsCombined(int i) const
Return the number of hits combined per layer.
Definition: CDCDedxTrack.h:176
Belle2::CDCDedxTrack::getDriftT
int getDriftT(int i) const
Return the drift time for this hit.
Definition: CDCDedxTrack.h:235
Belle2::CDCDedxTrack::m_p
double m_p
momentum at the IP
Definition: CDCDedxTrack.h:295
Belle2::CDCDedxTrack::getNLayerHitsUsed
double getNLayerHitsUsed() const
Return the number of hits used to determine the truncated mean.
Definition: CDCDedxTrack.h:173
Belle2::CDCDedxTrack::getDedxError
double getDedxError() const
Get the error on the dE/dx truncated mean for this track.
Definition: CDCDedxTrack.h:120
Belle2::CDCDedxTrack::m_lDedx
std::vector< double > m_lDedx
extracted dE/dx (arb.
Definition: CDCDedxTrack.h:333
Belle2::CDCDedxTrack::m_dedxAvgTruncatedNoSat
double m_dedxAvgTruncatedNoSat
dE/dx truncated mean per track without the saturation correction
Definition: CDCDedxTrack.h:321
Belle2::CDCDedxTrack::getCellHalfWidth
double getCellHalfWidth(int i) const
Return the half-width of the CDC cell.
Definition: CDCDedxTrack.h:244
Belle2::CDCDedxTrack::m_track
int m_track
ID number of the Track.
Definition: CDCDedxTrack.h:292
Belle2::CDCDedxTrack::getADCBaseCount
int getADCBaseCount(int i) const
Return the base adcCount (no non-linearity) for this hit.
Definition: CDCDedxTrack.h:217
Belle2::CDCDedxTrack::setDedxMean
void setDedxMean(double mean)
Set the dE/dx mean for this track.
Definition: CDCDedxTrack.h:162
Belle2::CDCDedxTrack::m_hADCBaseCount
std::vector< int > m_hADCBaseCount
adcCount base count (uncorrected) per hit
Definition: CDCDedxTrack.h:342
Belle2::CDCDedxTrack::ClassDef
ClassDef(CDCDedxTrack, 16)
Debug output for CDCDedxPID module.
Belle2::CDCDedxTrack::getPreso
double getPreso(int i) const
Return the PID (predicted reso) value.
Definition: CDCDedxTrack.h:281
Belle2::CDCDedxTrack::getWeightPionHypo
double getWeightPionHypo(int i) const
Return the max weights from KalmanFitterInfo using pion hypothesis.
Definition: CDCDedxTrack.h:266
Belle2::CDCDedxTrack::getWeightKaonHypo
double getWeightKaonHypo(int i) const
Return the max weights from KalmanFitterInfo using kaon hypothesis.
Definition: CDCDedxTrack.h:269
Belle2::CDCDedxTrack::m_hEntaRS
std::vector< double > m_hEntaRS
entrance angle in CDC cell after rescalling cell L=W
Definition: CDCDedxTrack.h:346
Belle2::CDCDedxTrack::m_hDocaRS
std::vector< double > m_hDocaRS
distance of closest approach to sense wire after rescalling cell L=W
Definition: CDCDedxTrack.h:345
Belle2::CDCDedxTrack::getPmean
double getPmean(int i) const
Return the PID (predicted mean) value.
Definition: CDCDedxTrack.h:278
Belle2::CDCDedxTrack::m_lPath
std::vector< double > m_lPath
distance flown through active medium in current segment
Definition: CDCDedxTrack.h:332
Belle2::RelationsObject
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Definition: RelationsObject.h:443
Belle2::CDCDedxTrack::trackID
double trackID() const
Return the track ID.
Definition: CDCDedxTrack.h:108
Belle2::CDCDedxTrack::setDedxNoSat
void setDedxNoSat(double mean)
Set the dE/dx truncated average without the saturation correction for this track.
Definition: CDCDedxTrack.h:156
Belle2::CDCDedxTrack::m_cosTheta
double m_cosTheta
cos(theta) for the track
Definition: CDCDedxTrack.h:294
Belle2::CDCDedxTrack::getCosTheta
double getCosTheta() const
Return cos(theta) for this track.
Definition: CDCDedxTrack.h:132
Belle2::CDCDedxTrack::m_pCDC
double m_pCDC
momentum at the inner layer of the CDC
Definition: CDCDedxTrack.h:296
Belle2::CDCDedxTrack::m_predres
double m_predres[Const::ChargedStable::c_SetSize]
predicted dE/dx resolution
Definition: CDCDedxTrack.h:316
Belle2::CDCDedxTrack::m_hWire
std::vector< int > m_hWire
continuous wire ID in the CDC
Definition: CDCDedxTrack.h:337
Belle2::CDCDedxTrack::m_hWeightPionHypo
std::vector< double > m_hWeightPionHypo
weight for pion hypothesis from KalmanFitterInfo
Definition: CDCDedxTrack.h:352
Belle2::CDCDedxTrack::m_hWeightProtHypo
std::vector< double > m_hWeightProtHypo
weight for proton hypothesis from KalmanFitterInfo
Definition: CDCDedxTrack.h:354
Belle2::CDCDedxTrack::addHit
void addHit(int lwire, int wire, int layer, double doca, double docaRS, double enta, double entaRS, int adcCount, int adcbaseCount, double dE, double path, double dedx, double cellHeight, double cellHalfWidth, int driftT, double driftD, double driftDRes, double wiregain, double twodcor, double onedcor, int foundByTrackFinder, double weightPionHypo, double weightKaonHypo, double weightProtHypo)
Add a single hit to the object.
Definition: CDCDedxTrack.h:75
Belle2::CDCDedxTrack::getRunGain
double getRunGain() const
Return the run gain for this track.
Definition: CDCDedxTrack.h:147
Belle2::CDCDedxTrack::m_simDedx
double m_simDedx
track level MC dE/dx truncated mean
Definition: CDCDedxTrack.h:305
Belle2::CDCDedxTrack
Debug output for CDCDedxPID module.
Definition: CDCDedxTrack.h:36
Belle2::CDCDedxTrack::getNLayerHits
int getNLayerHits() const
Return the number of layer hits for this track.
Definition: CDCDedxTrack.h:170
Belle2::RelationsInterface
Defines interface for accessing relations of objects in StoreArray.
Definition: RelationsObject.h:102
Belle2::CDCDedxTrack::getDocaRS
double getDocaRS(int i) const
Return rescaled doca value for cell height=width assumption.
Definition: CDCDedxTrack.h:229
Belle2::CDCDedxTrack::m_length
double m_length
total distance travelled by the track
Definition: CDCDedxTrack.h:297
Belle2::CDCDedxTrack::getWeightProtonHypo
double getWeightProtonHypo(int i) const
Return the max weights from KalmanFitterInfo using proton hypothesis.
Definition: CDCDedxTrack.h:272
Belle2::CDCDedxTrack::getSimulatedDedx
double getSimulatedDedx() const
Get the track-level MC dE/dx mean for this track.
Definition: CDCDedxTrack.h:150
Belle2::CDCDedxTrack::getNonLADCCorrection
double getNonLADCCorrection(int i) const
Return the factor introduce for adcCount (non-linearity) correction.
Definition: CDCDedxTrack.h:220
Belle2::CDCDedxTrack::m_runGain
double m_runGain
calibration run gain
Definition: CDCDedxTrack.h:311
Belle2::CDCDedxTrack::m_predmean
double m_predmean[Const::ChargedStable::c_SetSize]
predicted dE/dx truncated mean
Definition: CDCDedxTrack.h:315
Belle2::CDCDedxTrack::m_hDoca
std::vector< double > m_hDoca
distance of closest approach to sense wire
Definition: CDCDedxTrack.h:343
Belle2::CDCDedxTrack::m_lNHitsUsed
int m_lNHitsUsed
number of hits on this track used for truncated mean
Definition: CDCDedxTrack.h:328