Belle II Software development
BelleTrkExtra.cc
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
9#include <b2bii/dataobjects/BelleTrkExtra.h>
10
11using namespace Belle2;
12
14{
15 m_firstx = first_x;
16}
17
19{
20 m_firsty = first_y;
21}
22
24{
25 m_firstz = first_z;
26}
27
29{
30 m_lastx = last_x;
31}
32
34{
35 m_lasty = last_y;
36}
37
39{
40 m_lastz = last_z;
41}
42
43void BelleTrkExtra::setTofInfo(double tof, double path_length, double tof_sigma, short tof_quality)
44{
45 m_tof = tof;
46 m_path_length = path_length;
47 m_tof_sigma = tof_sigma;
48 m_tof_quality = tof_quality;
49
50}
51
52void BelleTrkExtra::setACCInfo(int acc_ph, short acc_quality)
53{
54 m_acc_ph = acc_ph;
55 m_acc_quality = acc_quality;
56}
57
58void BelleTrkExtra::setdEdxInfo(double dedx, short dedx_quality)
59{
60 m_dedx = dedx;
61 m_dedx_quality = dedx_quality;
62}
63
void setTrackLastY(double last_y)
Set last_y End point of the track near the last CDC hit point.
double m_firstx
Start point of the track near the 1st CDC hit point.
void setdEdxInfo(double dedx, short dedx_quality)
Set the dEdx-related information.
double m_lastx
End point of the track near the last CDC hit point.
double m_firsty
Start point of the track near the 1st CDC hit point.
double m_dedx
specific ionization of the track (keV/cm)
void setTrackLastZ(double last_z)
Set last_z End point of the track near the last CDC hit point.
void setTrackLastX(double last_x)
Set last_x End point of the track near the last CDC hit point.
void setTrackFirstX(double first_x)
Set first_x Start point of the track near the 1st CDC hit point.
int m_acc_ph
number of ACC photo-electrons associated to the track
void setTrackFirstY(double first_y)
Set first_y Start point of the track near the 1st CDC hit point.
short m_tof_quality
matching quality: 0 if ok, 1 if track is not matched
short m_dedx_quality
quality of the measurement.
void setACCInfo(int acc_ph, short acc_quality)
Set the ACC-related information.
double m_lastz
End point of the track near the last CDC hit point.
double m_tof_sigma
expected time resolution [ns]
double m_path_length
length of the track from the doca to the beam axis to the tof [cm]
double m_lasty
End point of the track near the last CDC hit point.
void setTrackFirstZ(double first_z)
Set first_z Start point of the track near the 1st CDC hit point.
void setTofInfo(double tof, double path_length, double tof_sigma, short tof_quality)
Set the tof-related information.
double m_firstz
Start point of the track near the 1st CDC hit point.
short m_acc_quality
matching quality: 0 if ok, 1 if track is not matched
double m_tof
measured tof of the track [ns]
Abstract base class for different kinds of events.