Belle II Software
light-2406-ragdoll
BelleTrkExtra.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#pragma once
9
#include <framework/datastore/RelationsObject.h>
10
11
namespace
Belle2
{
18
class
BelleTrkExtra
:
public
RelationsObject
{
19
20
public
:
22
BelleTrkExtra
() :
m_firstx
(0.0),
m_firsty
(0.0),
m_firstz
(0.0),
m_lastx
(0.0),
m_lasty
(0.0),
m_lastz
(0.0),
m_tof
(0.0),
23
m_path_length
(0.0),
m_tof_quality
(0),
m_tof_sigma
(0.0),
m_acc_ph
(0),
m_acc_quality
(0),
m_dedx
(0.0),
m_dedx_quality
(0) {};
24
26
BelleTrkExtra
(
double
first_x,
double
first_y,
double
first_z,
27
double
last_x,
double
last_y,
double
last_z,
28
double
tof,
double
path_length,
short
tof_quality,
double
tof_sigma,
29
int
acc_ph,
short
acc_quality,
30
double
dedx,
short
dedx_quality) :
m_firstx
(first_x),
m_firsty
(first_y),
m_firstz
(first_z),
31
m_lastx
(last_x),
m_lasty
(last_y),
m_lastz
(last_z),
32
m_tof
(tof),
m_path_length
(path_length),
m_tof_quality
(tof_quality),
m_tof_sigma
(tof_sigma),
33
m_acc_ph
(acc_ph),
m_acc_quality
(acc_quality),
34
m_dedx
(dedx),
m_dedx_quality
(dedx_quality) {};
35
37
~BelleTrkExtra
() {};
38
39
47
void
setTofInfo
(
double
tof,
double
path_length,
double
tof_sigma,
short
tof_quality);
48
49
55
void
setACCInfo
(
int
acc_ph,
short
acc_quality);
56
57
63
void
setdEdxInfo
(
double
dedx,
short
dedx_quality);
64
65
66
73
void
setTrackFirstX
(
double
first_x);
74
81
void
setTrackFirstY
(
double
first_y);
82
89
void
setTrackFirstZ
(
double
first_z);
90
97
void
setTrackLastX
(
double
last_x);
98
105
void
setTrackLastY
(
double
last_y);
106
113
void
setTrackLastZ
(
double
last_z);
114
119
double
getTrackFirstX
(
void
)
const
120
{
121
return
m_firstx
;
122
}
123
128
double
getTrackFirstY
(
void
)
const
129
{
130
return
m_firsty
;
131
}
132
137
double
getTrackFirstZ
(
void
)
const
138
{
139
return
m_firstz
;
140
}
141
146
double
getTrackLastX
(
void
)
const
147
{
148
return
m_lastx
;
149
}
150
155
double
getTrackLastY
(
void
)
const
156
{
157
return
m_lasty
;
158
}
159
164
double
getTrackLastZ
(
void
)
const
165
{
166
return
m_lastz
;
167
}
168
169
174
double
getTof
(
void
)
const
175
{
176
return
m_tof
;
177
}
178
183
double
getPathLength
(
void
)
const
184
{
185
return
m_path_length
;
186
}
187
192
double
getTofSigma
(
void
)
const
193
{
194
return
m_tof_sigma
;
195
}
196
201
short
getTofQuality
(
void
)
const
202
{
203
return
m_tof_quality
;
204
}
205
210
int
getACCPe
(
void
)
const
211
{
212
return
m_acc_ph
;
213
}
214
215
220
short
getACCQuality
(
void
)
const
221
{
222
return
m_acc_quality
;
223
}
224
229
double
getdEdx
(
void
)
const
230
{
231
return
m_dedx
;
232
}
233
238
short
getdEdxQuality
(
void
)
const
239
{
240
return
m_dedx_quality
;
241
}
242
243
private
:
244
// Persistent data members
245
246
247
double
m_firstx
;
248
double
m_firsty
;
249
double
m_firstz
;
250
double
m_lastx
;
251
double
m_lasty
;
252
double
m_lastz
;
253
double
m_tof
;
254
double
m_path_length
;
255
short
m_tof_quality
;
256
double
m_tof_sigma
;
257
int
m_acc_ph
;
258
short
m_acc_quality
;
259
double
m_dedx
;
260
short
m_dedx_quality
;
262
ClassDef
(
BelleTrkExtra
, 2)
264
};
265
267
}
// end namespace Belle2
268
Belle2::BelleTrkExtra
Class stores mdst_trk_fit information for each track.
Definition:
BelleTrkExtra.h:18
Belle2::BelleTrkExtra::setTrackLastY
void setTrackLastY(double last_y)
Set last_y End point of the track near the last CDC hit point.
Definition:
BelleTrkExtra.cc:33
Belle2::BelleTrkExtra::getTrackLastX
double getTrackLastX(void) const
Get last_x.
Definition:
BelleTrkExtra.h:146
Belle2::BelleTrkExtra::getTofSigma
double getTofSigma(void) const
Get tof sigma.
Definition:
BelleTrkExtra.h:192
Belle2::BelleTrkExtra::BelleTrkExtra
BelleTrkExtra()
Constructor initializing everything to zero.
Definition:
BelleTrkExtra.h:22
Belle2::BelleTrkExtra::m_firstx
double m_firstx
Start point of the track near the 1st CDC hit point.
Definition:
BelleTrkExtra.h:247
Belle2::BelleTrkExtra::setdEdxInfo
void setdEdxInfo(double dedx, short dedx_quality)
Set the dEdx-related information.
Definition:
BelleTrkExtra.cc:58
Belle2::BelleTrkExtra::m_lastx
double m_lastx
End point of the track near the last CDC hit point.
Definition:
BelleTrkExtra.h:250
Belle2::BelleTrkExtra::m_firsty
double m_firsty
Start point of the track near the 1st CDC hit point.
Definition:
BelleTrkExtra.h:248
Belle2::BelleTrkExtra::BelleTrkExtra
BelleTrkExtra(double first_x, double first_y, double first_z, double last_x, double last_y, double last_z, double tof, double path_length, short tof_quality, double tof_sigma, int acc_ph, short acc_quality, double dedx, short dedx_quality)
Constructor initializing variables.
Definition:
BelleTrkExtra.h:26
Belle2::BelleTrkExtra::m_dedx
double m_dedx
specific ionization of the track (keV/cm)
Definition:
BelleTrkExtra.h:259
Belle2::BelleTrkExtra::setTrackLastZ
void setTrackLastZ(double last_z)
Set last_z End point of the track near the last CDC hit point.
Definition:
BelleTrkExtra.cc:38
Belle2::BelleTrkExtra::~BelleTrkExtra
~BelleTrkExtra()
Destructor.
Definition:
BelleTrkExtra.h:37
Belle2::BelleTrkExtra::setTrackLastX
void setTrackLastX(double last_x)
Set last_x End point of the track near the last CDC hit point.
Definition:
BelleTrkExtra.cc:28
Belle2::BelleTrkExtra::getTrackLastZ
double getTrackLastZ(void) const
Get last_z.
Definition:
BelleTrkExtra.h:164
Belle2::BelleTrkExtra::setTrackFirstX
void setTrackFirstX(double first_x)
Set first_x Start point of the track near the 1st CDC hit point.
Definition:
BelleTrkExtra.cc:13
Belle2::BelleTrkExtra::getTrackFirstY
double getTrackFirstY(void) const
Get first_y.
Definition:
BelleTrkExtra.h:128
Belle2::BelleTrkExtra::getACCQuality
short getACCQuality(void) const
Get ACC quality flag.
Definition:
BelleTrkExtra.h:220
Belle2::BelleTrkExtra::m_acc_ph
int m_acc_ph
number of ACC photo-electrons associated to the track
Definition:
BelleTrkExtra.h:257
Belle2::BelleTrkExtra::getTrackLastY
double getTrackLastY(void) const
Get last_y.
Definition:
BelleTrkExtra.h:155
Belle2::BelleTrkExtra::getPathLength
double getPathLength(void) const
Get path length.
Definition:
BelleTrkExtra.h:183
Belle2::BelleTrkExtra::setTrackFirstY
void setTrackFirstY(double first_y)
Set first_y Start point of the track near the 1st CDC hit point.
Definition:
BelleTrkExtra.cc:18
Belle2::BelleTrkExtra::getACCPe
int getACCPe(void) const
Get number of ACC photoelectrons.
Definition:
BelleTrkExtra.h:210
Belle2::BelleTrkExtra::m_tof_quality
short m_tof_quality
matching quality: 0 if ok, 1 if track is not matched
Definition:
BelleTrkExtra.h:255
Belle2::BelleTrkExtra::getTrackFirstX
double getTrackFirstX(void) const
Get first_x.
Definition:
BelleTrkExtra.h:119
Belle2::BelleTrkExtra::m_dedx_quality
short m_dedx_quality
quality of the measurement.
Definition:
BelleTrkExtra.h:260
Belle2::BelleTrkExtra::setACCInfo
void setACCInfo(int acc_ph, short acc_quality)
Set the ACC-related information.
Definition:
BelleTrkExtra.cc:52
Belle2::BelleTrkExtra::m_lastz
double m_lastz
End point of the track near the last CDC hit point.
Definition:
BelleTrkExtra.h:252
Belle2::BelleTrkExtra::getTofQuality
short getTofQuality(void) const
Get tof quality flag.
Definition:
BelleTrkExtra.h:201
Belle2::BelleTrkExtra::m_tof_sigma
double m_tof_sigma
expected time resolution [ns]
Definition:
BelleTrkExtra.h:256
Belle2::BelleTrkExtra::getdEdxQuality
short getdEdxQuality(void) const
Get de/dx quality flag.
Definition:
BelleTrkExtra.h:238
Belle2::BelleTrkExtra::m_path_length
double m_path_length
length of the track from the doca to the beam axis to the tof [cm]
Definition:
BelleTrkExtra.h:254
Belle2::BelleTrkExtra::getdEdx
double getdEdx(void) const
Get specific ionization of the track.
Definition:
BelleTrkExtra.h:229
Belle2::BelleTrkExtra::getTrackFirstZ
double getTrackFirstZ(void) const
Get first_z.
Definition:
BelleTrkExtra.h:137
Belle2::BelleTrkExtra::m_lasty
double m_lasty
End point of the track near the last CDC hit point.
Definition:
BelleTrkExtra.h:251
Belle2::BelleTrkExtra::setTrackFirstZ
void setTrackFirstZ(double first_z)
Set first_z Start point of the track near the 1st CDC hit point.
Definition:
BelleTrkExtra.cc:23
Belle2::BelleTrkExtra::setTofInfo
void setTofInfo(double tof, double path_length, double tof_sigma, short tof_quality)
Set the tof-related information.
Definition:
BelleTrkExtra.cc:43
Belle2::BelleTrkExtra::m_firstz
double m_firstz
Start point of the track near the 1st CDC hit point.
Definition:
BelleTrkExtra.h:249
Belle2::BelleTrkExtra::m_acc_quality
short m_acc_quality
matching quality: 0 if ok, 1 if track is not matched
Definition:
BelleTrkExtra.h:258
Belle2::BelleTrkExtra::m_tof
double m_tof
measured tof of the track [ns]
Definition:
BelleTrkExtra.h:253
Belle2::BelleTrkExtra::getTof
double getTof(void) const
Get tof.
Definition:
BelleTrkExtra.h:174
Belle2::RelationsInterface
Defines interface for accessing relations of objects in StoreArray.
Definition:
RelationsObject.h:100
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2
Abstract base class for different kinds of events.
Definition:
ClusterUtils.h:24
b2bii
dataobjects
include
BelleTrkExtra.h
Generated on Tue Jul 9 2024 23:27:58 for Belle II Software by
1.9.6