Belle II Software  release-05-02-19
HitLevelInfoWriter.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, Jitendra Kumar
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <reconstruction/dataobjects/CDCDedxTrack.h>
14 
15 #include <mdst/dataobjects/Track.h>
16 #include <mdst/dataobjects/TrackFitResult.h>
17 #include <mdst/dataobjects/ECLCluster.h>
18 #include <mdst/dataobjects/KLMCluster.h>
19 #include <mdst/dataobjects/HitPatternCDC.h>
20 
21 #include <genfit/Track.h>
22 
23 #include <framework/dataobjects/EventMetaData.h>
24 #include <framework/datastore/StoreArray.h>
25 #include <framework/datastore/StoreObjPtr.h>
26 #include <framework/database/DBObjPtr.h>
27 #include <framework/core/Module.h>
28 
29 #include <reconstruction/dbobjects/CDCDedxScaleFactor.h>
30 #include <reconstruction/dbobjects/CDCDedxWireGain.h>
31 #include <reconstruction/dbobjects/CDCDedxRunGain.h>
32 #include <reconstruction/dbobjects/CDCDedxCosineCor.h>
33 #include <reconstruction/dbobjects/CDCDedx2DCell.h>
34 #include <reconstruction/dbobjects/CDCDedx1DCell.h>
35 #include <reconstruction/dbobjects/CDCDedxADCNonLinearity.h> //new in rel5
36 #include <reconstruction/dbobjects/CDCDedxCosineEdge.h> //new in rel5
37 #include <mdst/dbobjects/BeamSpot.h>
38 
39 #include <analysis/dataobjects/ParticleList.h>
40 #include <analysis/dataobjects/Particle.h>
41 #include <analysis/utility/ReferenceFrame.h>
42 
43 #include <vector>
44 
45 #include <TFile.h>
46 #include <TTree.h>
47 #include <TString.h>
48 
49 class TH2F;
50 
51 namespace Belle2 {
57  class CDCDedxTrack;
58 
62 
63  public:
64 
67 
69  virtual ~HitLevelInfoWriterModule();
70 
72  virtual void initialize() override;
73 
76  virtual void event() override;
77 
79  virtual void terminate() override;
80 
82  void bookOutput(std::string filename);
83 
84  private:
85 
86  std::string m_strOutputBaseName;
87  std::vector<std::string> m_strParticleList;
88  std::vector<std::string> m_filename;
89  std::vector<TFile*> m_file;
90  std::vector<TTree*> m_tree;
99  void fillTrack(const TrackFitResult* fitResult);
100 
102  void fillDedx(CDCDedxTrack* dedxTrack);
103 
105  void clearEntries();
106 
107  // event level information (from emd)
108  int m_expID{ -1};
109  int m_runID{ -1};
110  int m_eventID{ -1};
112  // track level information (from tfr)
113  double m_d0{0.};
114  double m_z0{0.};
115  double m_dz{ -1.};
116  double m_dr{ -1.};
117  double m_dphi{ -1.};
118  double m_vx0{0.};
119  double m_vy0{0.};
120  double m_vz0{0.};
121  double m_tanlambda{ -1.};
122  double m_phi0{ -1.};
123  double m_chi2{ -1.};
125  double m_nCDChits{ -1.};
126  int m_inCDC{ -1};
127  int m_trackID{ -1};
128  double m_length{ -1.};
129  int m_charge{0};
130  double m_cosTheta{ -2.};
131  double m_pCDC{ -1.};
132  double m_p{ -1.};
133  double m_pt{ -1.};
134  double m_phi{ -1.};
135  double m_ioasym{ -1.};
136  double m_theta{ -2.};
138  // track level Mc
139  double m_PDG{ -1.};
140  // double m_motherPDG; /**< MC PID of mother particle */
141  // double m_pTrue; /**< MC true momentum */
142  // double m_trackDist; /**< the total distance traveled by the track */
143 
144  // track level dE/dx measurements
145  double m_mean{ -1.};
146  double m_trunc{ -1.};
147  double m_truncNoSat{ -1.};
148  double m_error{ -1.};
150  // other dec specific information
151  double m_eop{ -1.};
152  double m_e{ -1.};
153  double m_e1_9{ -1.};
154  double m_e9_21{ -1.};
155  double m_klmLayers{ -1.};
157  // calibration constants
158  double m_scale{ -1.};
159  double m_cosCor{ -1.};
160  double m_cosEdgeCor{ -1.};
161  double m_runGain{ -1.};
163  // hadron cal and PID related variables
164  double m_chie{ -1.};
165  double m_chimu{ -1.};
166  double m_chipi{ -1.};
167  double m_chik{ -1.};
168  double m_chip{ -1.};
169  double m_chid{ -1.};
171  double m_prese{ -1.};
172  double m_presmu{ -1.};
173  double m_prespi{ -1.};
174  double m_presk{ -1.};
175  double m_presp{ -1.};
176  double m_presd{ -1.};
178  double m_pmeane{ -1.};
179  double m_pmeanmu{ -1.};
180  double m_pmeanpi{ -1.};
181  double m_pmeank{ -1.};
182  double m_pmeanp{ -1.};
183  double m_pmeand{ -1.};
185  static const int kMaxHits = 200;
186  // layer level information
187  int l_nhits{ -1};
188  int l_nhitsused{ -1};
191  int l_layer[kMaxHits] = {};
192  double l_path[kMaxHits] = {};
193  double l_dedx[kMaxHits] = {};
195  // hit level information (references on nhits)
196  int h_nhits{ -1};
197  int h_lwire[kMaxHits] = {};
198  int h_wire[kMaxHits] = {};
199  int h_layer[kMaxHits] = {};
201  double h_path[kMaxHits] = {};
202  double h_dedx[kMaxHits] = {};
203  double h_adcraw[kMaxHits] = {};
204  double h_adccorr[kMaxHits] = {};
205  double h_doca[kMaxHits] = {};
206  double h_ndoca[kMaxHits] = {};
207  double h_ndocaRS[kMaxHits] = {};
208  double h_enta[kMaxHits] = {};
209  double h_entaRS[kMaxHits] = {};
210  double h_driftT[kMaxHits] = {};
211  double h_driftD[kMaxHits] = {};
212  double h_facnladc[kMaxHits] = {};
213  double h_wireGain[kMaxHits] = {};
214  double h_twodCor[kMaxHits] = {};
215  double h_onedCor[kMaxHits] = {};
217  //Tracking variables for extra hits
218  double h_WeightPionHypo[kMaxHits] = {};
219  double h_WeightKaonHypo[kMaxHits] = {};
223  // parameters: calibration constants
233  bool nodeadwire;
234  //Flag to enable and disable set of variables
238  };
240 } // Belle2 namespace
Belle2::HitLevelInfoWriterModule::m_pCDC
double m_pCDC
momentum valid in CDC
Definition: HitLevelInfoWriter.h:131
Belle2::HitLevelInfoWriterModule::m_PDG
double m_PDG
MC PID.
Definition: HitLevelInfoWriter.h:139
Belle2::HitLevelInfoWriterModule::m_strOutputBaseName
std::string m_strOutputBaseName
Base name for the output ROOT files.
Definition: HitLevelInfoWriter.h:86
Belle2::HitLevelInfoWriterModule::m_nCDChits
double m_nCDChits
Number of CDC hits associated to the track.
Definition: HitLevelInfoWriter.h:125
Belle2::HitLevelInfoWriterModule::m_pmeane
double m_pmeane
pred mean for electron hypothesis
Definition: HitLevelInfoWriter.h:178
Belle2::HitLevelInfoWriterModule::m_scale
double m_scale
calibration scale factor
Definition: HitLevelInfoWriter.h:158
Belle2::HitLevelInfoWriterModule::h_adcraw
double h_adcraw[kMaxHits]
charge per hit
Definition: HitLevelInfoWriter.h:203
Belle2::HitLevelInfoWriterModule::m_eop
double m_eop
energy over momentum in the calorimeter
Definition: HitLevelInfoWriter.h:151
Belle2::HitLevelInfoWriterModule::m_p
double m_p
momentum from tracking
Definition: HitLevelInfoWriter.h:132
Belle2::HitLevelInfoWriterModule::m_eclClusters
StoreArray< ECLCluster > m_eclClusters
Required array of input ECLClusters.
Definition: HitLevelInfoWriter.h:95
Belle2::HitLevelInfoWriterModule::m_DBRunGain
DBObjPtr< CDCDedxRunGain > m_DBRunGain
Run gain DB object.
Definition: HitLevelInfoWriter.h:226
Belle2::HitLevelInfoWriterModule::h_path
double h_path[kMaxHits]
path length in cell
Definition: HitLevelInfoWriter.h:201
Belle2::HitLevelInfoWriterModule::event
virtual void event() override
This method is called for each event.
Definition: HitLevelInfoWriter.cc:62
Belle2::HitLevelInfoWriterModule::m_DB2DCell
DBObjPtr< CDCDedx2DCell > m_DB2DCell
2D correction DB object
Definition: HitLevelInfoWriter.h:228
Belle2::HitLevelInfoWriterModule::m_presd
double m_presd
pred reso for deuteron hypothesis
Definition: HitLevelInfoWriter.h:176
Belle2::HitLevelInfoWriterModule::h_ndoca
double h_ndoca[kMaxHits]
normalized distance of closest approach
Definition: HitLevelInfoWriter.h:206
Belle2::HitLevelInfoWriterModule::m_filename
std::vector< std::string > m_filename
full names of the output ROOT files
Definition: HitLevelInfoWriter.h:88
Belle2::HitLevelInfoWriterModule::m_chid
double m_chid
chi value for deuteron hypothesis
Definition: HitLevelInfoWriter.h:169
Belle2::HitLevelInfoWriterModule::m_chip
double m_chip
chi value for proton hypothesis
Definition: HitLevelInfoWriter.h:168
Belle2::HitLevelInfoWriterModule::m_pmeank
double m_pmeank
pred mean for kaon hypothesis
Definition: HitLevelInfoWriter.h:181
Belle2::HitLevelInfoWriterModule::m_pmeanp
double m_pmeanp
pred mean for proton hypothesis
Definition: HitLevelInfoWriter.h:182
Belle2::HitLevelInfoWriterModule::m_z0
double m_z0
z coordinate of the POCA
Definition: HitLevelInfoWriter.h:114
Belle2::HitLevelInfoWriterModule::HitLevelInfoWriterModule
HitLevelInfoWriterModule()
Default constructor.
Definition: HitLevelInfoWriter.cc:20
Belle2::HitLevelInfoWriterModule
Extracts dE/dx information for calibration testing.
Definition: HitLevelInfoWriter.h:61
Belle2::HitLevelInfoWriterModule::h_driftD
double h_driftD[kMaxHits]
drift distance
Definition: HitLevelInfoWriter.h:211
Belle2::HitLevelInfoWriterModule::l_nhitscombined
int l_nhitscombined[kMaxHits]
the number of hits combined this layer
Definition: HitLevelInfoWriter.h:189
Belle2::HitLevelInfoWriterModule::m_prese
double m_prese
pred reso for electron hypothesis
Definition: HitLevelInfoWriter.h:171
Belle2::HitLevelInfoWriterModule::m_ioasym
double m_ioasym
asymmetry in increasing vs decreasing layer numbers per track
Definition: HitLevelInfoWriter.h:135
Belle2::HitLevelInfoWriterModule::fillDedx
void fillDedx(CDCDedxTrack *dedxTrack)
Fill the TTree with the information from a CDCDedxTrack object.
Definition: HitLevelInfoWriter.cc:261
Belle2::HitLevelInfoWriterModule::enableHitLevel
bool enableHitLevel
Flag to switch on/off hit level info.
Definition: HitLevelInfoWriter.h:235
Belle2::HitLevelInfoWriterModule::m_e1_9
double m_e1_9
ratio of energies of the central 1 crystal vs 3x3 crystals
Definition: HitLevelInfoWriter.h:153
Belle2::HitLevelInfoWriterModule::h_layer
int h_layer[kMaxHits]
layer number
Definition: HitLevelInfoWriter.h:199
Belle2::HitLevelInfoWriterModule::m_runGain
double m_runGain
calibration run gain
Definition: HitLevelInfoWriter.h:161
Belle2::HitLevelInfoWriterModule::m_expID
int m_expID
experiment in which this Track was found
Definition: HitLevelInfoWriter.h:108
Belle2::HitLevelInfoWriterModule::m_presmu
double m_presmu
pred reso for muon hypothesis
Definition: HitLevelInfoWriter.h:172
Belle2::HitLevelInfoWriterModule::m_DBCosineCor
DBObjPtr< CDCDedxCosineCor > m_DBCosineCor
Electron saturation correction DB object.
Definition: HitLevelInfoWriter.h:227
Belle2::HitLevelInfoWriterModule::h_enta
double h_enta[kMaxHits]
entrance angle
Definition: HitLevelInfoWriter.h:208
Belle2::HitLevelInfoWriterModule::h_adccorr
double h_adccorr[kMaxHits]
charge per hit corr by nonlinear ADC
Definition: HitLevelInfoWriter.h:204
Belle2::HitLevelInfoWriterModule::m_tree
std::vector< TTree * > m_tree
output ROOT trees
Definition: HitLevelInfoWriter.h:90
Belle2::HitLevelInfoWriterModule::m_trackFitResults
StoreArray< TrackFitResult > m_trackFitResults
Required array of input TrackFitResults.
Definition: HitLevelInfoWriter.h:94
Belle2::HitLevelInfoWriterModule::h_ndocaRS
double h_ndocaRS[kMaxHits]
normalized +RS distance of closest approach
Definition: HitLevelInfoWriter.h:207
Belle2::HitLevelInfoWriterModule::m_runID
int m_runID
run in which this Track was found
Definition: HitLevelInfoWriter.h:109
Belle2::HitLevelInfoWriterModule::m_phi
double m_phi
phi for the track
Definition: HitLevelInfoWriter.h:134
Belle2::HitLevelInfoWriterModule::m_error
double m_error
standard deviation of the truncated mean
Definition: HitLevelInfoWriter.h:148
Belle2::HitLevelInfoWriterModule::m_prespi
double m_prespi
pred reso for pion hypothesis
Definition: HitLevelInfoWriter.h:173
Belle2::HitLevelInfoWriterModule::h_facnladc
double h_facnladc[kMaxHits]
calibration hit gain
Definition: HitLevelInfoWriter.h:212
Belle2::HitLevelInfoWriterModule::fillTrack
void fillTrack(const TrackFitResult *fitResult)
Fill the TTree with the information from the track fit.
Definition: HitLevelInfoWriter.cc:223
Belle2::HitLevelInfoWriterModule::m_chimu
double m_chimu
chi value for muon hypothesis
Definition: HitLevelInfoWriter.h:165
Belle2::HitLevelInfoWriterModule::m_dz
double m_dz
vertex or POCA in case of tracks z in respect to IPs
Definition: HitLevelInfoWriter.h:115
Belle2::HitLevelInfoWriterModule::m_klmClusters
StoreArray< KLMCluster > m_klmClusters
Required array of input KLMClusters.
Definition: HitLevelInfoWriter.h:96
Belle2::HitLevelInfoWriterModule::m_eventID
int m_eventID
event in which this Track was found
Definition: HitLevelInfoWriter.h:110
Belle2::HitLevelInfoWriterModule::h_onedCor
double h_onedCor[kMaxHits]
calibration 1D cleanup correction
Definition: HitLevelInfoWriter.h:215
Belle2::HitLevelInfoWriterModule::m_cosEdgeCor
double m_cosEdgeCor
calibration cosine edge correction
Definition: HitLevelInfoWriter.h:160
Belle2::HitLevelInfoWriterModule::h_doca
double h_doca[kMaxHits]
distance of closest approach
Definition: HitLevelInfoWriter.h:205
Belle2::TrackFitResult
Values of the result of a track fit with a given particle hypothesis.
Definition: TrackFitResult.h:59
Belle2::HitLevelInfoWriterModule::m_dphi
double m_dphi
POCA in degrees in respect to IP.
Definition: HitLevelInfoWriter.h:117
Belle2::HitLevelInfoWriterModule::enableExtraVar
bool enableExtraVar
Flag to switch on/off extra level info and some available w/ release/5 only.
Definition: HitLevelInfoWriter.h:236
Belle2::HitLevelInfoWriterModule::m_klmLayers
double m_klmLayers
number of klm layers with hits
Definition: HitLevelInfoWriter.h:155
Belle2::HitLevelInfoWriterModule::h_foundByTrackFinder
int h_foundByTrackFinder[kMaxHits]
the 'found by track finder' flag for the given hit
Definition: HitLevelInfoWriter.h:221
Belle2::HitLevelInfoWriterModule::bookOutput
void bookOutput(std::string filename)
Create the output TFiles and TTrees.
Definition: HitLevelInfoWriter.cc:414
Belle2::HitLevelInfoWriterModule::h_wireGain
double h_wireGain[kMaxHits]
calibration hit gain
Definition: HitLevelInfoWriter.h:213
Belle2::DBObjPtr
Class for accessing objects in the database.
Definition: DBObjPtr.h:31
Belle2::HitLevelInfoWriterModule::m_chi2
double m_chi2
chi^2 from track fit
Definition: HitLevelInfoWriter.h:123
Belle2::HitLevelInfoWriterModule::m_mean
double m_mean
dE/dx averaged
Definition: HitLevelInfoWriter.h:145
Belle2::Module
Base class for Modules.
Definition: Module.h:74
Belle2::HitLevelInfoWriterModule::m_presp
double m_presp
pred reso for proton hypothesis
Definition: HitLevelInfoWriter.h:175
Belle2::HitLevelInfoWriterModule::m_truncNoSat
double m_truncNoSat
dE/dx averaged, truncated mean, with corrections (not hadron)
Definition: HitLevelInfoWriter.h:147
Belle2::HitLevelInfoWriterModule::m_DBCosEdgeCor
DBObjPtr< CDCDedxCosineEdge > m_DBCosEdgeCor
cosine edge calibration
Definition: HitLevelInfoWriter.h:231
Belle2::HitLevelInfoWriterModule::l_path
double l_path[kMaxHits]
distance travelled in this layer
Definition: HitLevelInfoWriter.h:192
Belle2::HitLevelInfoWriterModule::m_strParticleList
std::vector< std::string > m_strParticleList
Vector of ParticleLists to write out.
Definition: HitLevelInfoWriter.h:87
Belle2::HitLevelInfoWriterModule::m_dedxTracks
StoreArray< CDCDedxTrack > m_dedxTracks
Required array of CDCDedxTracks.
Definition: HitLevelInfoWriter.h:92
Belle2::HitLevelInfoWriterModule::m_cosCor
double m_cosCor
calibration cosine correction
Definition: HitLevelInfoWriter.h:159
Belle2::HitLevelInfoWriterModule::m_DB1DCell
DBObjPtr< CDCDedx1DCell > m_DB1DCell
1D correction DB object
Definition: HitLevelInfoWriter.h:229
Belle2::HitLevelInfoWriterModule::h_entaRS
double h_entaRS[kMaxHits]
normalized + RS distance of entrance angle
Definition: HitLevelInfoWriter.h:209
Belle2::HitLevelInfoWriterModule::m_theta
double m_theta
cos(theta) for the track
Definition: HitLevelInfoWriter.h:136
Belle2::HitLevelInfoWriterModule::h_twodCor
double h_twodCor[kMaxHits]
calibration 2D correction
Definition: HitLevelInfoWriter.h:214
Belle2::HitLevelInfoWriterModule::m_presk
double m_presk
pred reso for kaon hypothesis
Definition: HitLevelInfoWriter.h:174
Belle2::HitLevelInfoWriterModule::m_chie
double m_chie
chi value for electron hypothesis
Definition: HitLevelInfoWriter.h:164
Belle2::HitLevelInfoWriterModule::m_vx0
double m_vx0
X coordinate of track POCA to origin.
Definition: HitLevelInfoWriter.h:118
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::HitLevelInfoWriterModule::h_wire
int h_wire[kMaxHits]
sense wire ID
Definition: HitLevelInfoWriter.h:198
Belle2::HitLevelInfoWriterModule::m_tracks
StoreArray< Track > m_tracks
Required array of input Tracks.
Definition: HitLevelInfoWriter.h:93
Belle2::HitLevelInfoWriterModule::m_vy0
double m_vy0
Y coordinate of track POCA to origin.
Definition: HitLevelInfoWriter.h:119
Belle2::HitLevelInfoWriterModule::kMaxHits
static const int kMaxHits
default hit level index
Definition: HitLevelInfoWriter.h:185
Belle2::HitLevelInfoWriterModule::nodeadwire
bool nodeadwire
write only active wires
Definition: HitLevelInfoWriter.h:233
Belle2::HitLevelInfoWriterModule::m_chik
double m_chik
chi value for kaon hypothesis
Definition: HitLevelInfoWriter.h:167
Belle2::HitLevelInfoWriterModule::m_trunc
double m_trunc
dE/dx averaged, truncated mean, with corrections
Definition: HitLevelInfoWriter.h:146
Belle2::HitLevelInfoWriterModule::l_nhitsused
int l_nhitsused
the total number of layer hits used for this Track
Definition: HitLevelInfoWriter.h:188
Belle2::HitLevelInfoWriterModule::m_file
std::vector< TFile * > m_file
output ROOT files
Definition: HitLevelInfoWriter.h:89
Belle2::HitLevelInfoWriterModule::m_DBNonlADC
DBObjPtr< CDCDedxADCNonLinearity > m_DBNonlADC
hadron saturation non linearity
Definition: HitLevelInfoWriter.h:230
Belle2::HitLevelInfoWriterModule::m_tanlambda
double m_tanlambda
Slope of the track in the r-z plane.
Definition: HitLevelInfoWriter.h:121
Belle2::HitLevelInfoWriterModule::m_DBScaleFactor
DBObjPtr< CDCDedxScaleFactor > m_DBScaleFactor
Scale factor to make electrons ~1.
Definition: HitLevelInfoWriter.h:224
Belle2::HitLevelInfoWriterModule::m_d0
double m_d0
Signed distance to the POCA in the r-phi plane.
Definition: HitLevelInfoWriter.h:113
Belle2::HitLevelInfoWriterModule::m_vz0
double m_vz0
Z coordinate of track POCA to origin.
Definition: HitLevelInfoWriter.h:120
Belle2::HitLevelInfoWriterModule::h_WeightKaonHypo
double h_WeightKaonHypo[kMaxHits]
weight for kaon hypothesis from KalmanFitterInfo
Definition: HitLevelInfoWriter.h:219
Belle2::HitLevelInfoWriterModule::m_inCDC
int m_inCDC
frack is CDC acceptance or not
Definition: HitLevelInfoWriter.h:126
Belle2::HitLevelInfoWriterModule::h_dedx
double h_dedx[kMaxHits]
charge per path length
Definition: HitLevelInfoWriter.h:202
Belle2::HitLevelInfoWriterModule::~HitLevelInfoWriterModule
virtual ~HitLevelInfoWriterModule()
Destructor.
Definition: HitLevelInfoWriter.cc:33
Belle2::HitLevelInfoWriterModule::m_dr
double m_dr
track d0 relative to IP
Definition: HitLevelInfoWriter.h:116
Belle2::HitLevelInfoWriterModule::m_DBWireGains
DBObjPtr< CDCDedxWireGain > m_DBWireGains
Wire gain DB object.
Definition: HitLevelInfoWriter.h:225
Belle2::HitLevelInfoWriterModule::m_e9_21
double m_e9_21
ratio of energies of the central 3x3 crystal vs 5x5 crystals
Definition: HitLevelInfoWriter.h:154
Belle2::HitLevelInfoWriterModule::m_trackID
int m_trackID
ID number of the Track.
Definition: HitLevelInfoWriter.h:127
Belle2::HitLevelInfoWriterModule::l_wirelongesthit
int l_wirelongesthit[kMaxHits]
the wire number of longest hit in this layer
Definition: HitLevelInfoWriter.h:190
Belle2::HitLevelInfoWriterModule::m_pmeand
double m_pmeand
pred mean for deuteron hypothesis
Definition: HitLevelInfoWriter.h:183
Belle2::HitLevelInfoWriterModule::m_chipi
double m_chipi
chi value for pion hypothesis
Definition: HitLevelInfoWriter.h:166
Belle2::HitLevelInfoWriterModule::l_nhits
int l_nhits
the total number of layer hits for this Track
Definition: HitLevelInfoWriter.h:187
Belle2::HitLevelInfoWriterModule::m_cosTheta
double m_cosTheta
cos(theta) for the track
Definition: HitLevelInfoWriter.h:130
Belle2::HitLevelInfoWriterModule::h_driftT
double h_driftT[kMaxHits]
drift time
Definition: HitLevelInfoWriter.h:210
Belle2::HitLevelInfoWriterModule::l_layer
int l_layer[kMaxHits]
layer number
Definition: HitLevelInfoWriter.h:191
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::HitLevelInfoWriterModule::h_WeightProtonHypo
double h_WeightProtonHypo[kMaxHits]
weight for proton hypothesis from KalmanFitterInfo
Definition: HitLevelInfoWriter.h:220
Belle2::HitLevelInfoWriterModule::m_length
double m_length
total path length of the Track
Definition: HitLevelInfoWriter.h:128
Belle2::HitLevelInfoWriterModule::h_WeightPionHypo
double h_WeightPionHypo[kMaxHits]
weight for pion hypothesis from KalmanFitterInfo
Definition: HitLevelInfoWriter.h:218
Belle2::HitLevelInfoWriterModule::l_dedx
double l_dedx[kMaxHits]
dE/dx for this layer
Definition: HitLevelInfoWriter.h:193
Belle2::HitLevelInfoWriterModule::m_pmeanmu
double m_pmeanmu
pred mean for muon hypothesis
Definition: HitLevelInfoWriter.h:179
Belle2::HitLevelInfoWriterModule::m_e
double m_e
energy in the calorimeter
Definition: HitLevelInfoWriter.h:152
Belle2::HitLevelInfoWriterModule::h_nhits
int h_nhits
the number of good hits for this Track
Definition: HitLevelInfoWriter.h:196
Belle2::HitLevelInfoWriterModule::m_pmeanpi
double m_pmeanpi
pred mean for pion hypothesis
Definition: HitLevelInfoWriter.h:180
Belle2::CDCDedxTrack
Debug output for CDCDedxPID module.
Definition: CDCDedxTrack.h:36
Belle2::HitLevelInfoWriterModule::m_phi0
double m_phi0
Angle of the transverse momentum in the r-phi plane.
Definition: HitLevelInfoWriter.h:122
Belle2::HitLevelInfoWriterModule::initialize
virtual void initialize() override
Initialize the module.
Definition: HitLevelInfoWriter.cc:35
Belle2::HitLevelInfoWriterModule::h_lwire
int h_lwire[kMaxHits]
sense wire within layer
Definition: HitLevelInfoWriter.h:197
Belle2::HitLevelInfoWriterModule::clearEntries
void clearEntries()
Clear the arrays before filling an event.
Definition: HitLevelInfoWriter.cc:375
Belle2::HitLevelInfoWriterModule::m_charge
int m_charge
the charge for this Track
Definition: HitLevelInfoWriter.h:129
Belle2::HitLevelInfoWriterModule::terminate
virtual void terminate() override
End of the event processing.
Definition: HitLevelInfoWriter.cc:209
Belle2::HitLevelInfoWriterModule::m_pt
double m_pt
transverse momentum from tracking
Definition: HitLevelInfoWriter.h:133