 |
Belle II Software
release-05-02-19
|
1 #ifndef CDCTRIGGERTRACK_H
2 #define CDCTRIGGERTRACK_H
4 #include <framework/dataobjects/Helix.h>
5 #include <framework/geometry/BFieldManager.h>
29 CDCTriggerTrack(
double phi0,
double omega,
double chi2, std::vector<bool> foundoldtrack, std::vector<bool> driftthreshold,
30 bool valstereobit,
int expert = -1,
short time = 0,
short quadrant = -1):
31 Helix(0.,
phi0, omega, 0., 0.),
m_chi2D(chi2),
m_chi3D(0.),
m_time(time),
m_quadrant(quadrant),
m_foundoldtrack(foundoldtrack),
34 CDCTriggerTrack(
double phi0,
double omega,
double chi2D,
double z0,
double cotTheta,
double chi3D, std::vector<bool> foundoldtrack,
35 std::vector<bool> driftthreshold,
36 bool valstereobit,
int expert, std::vector<bool> tsvector,
short time = 0,
short quadrant = -1):
41 CDCTriggerTrack(
double phi0,
double omega,
double chi2,
short time = 0,
short quadrant = -1):
42 Helix(0.,
phi0, omega, 0., 0.),
m_chi2D(chi2),
m_chi3D(0.),
m_time(time),
m_quadrant(quadrant),
m_foundoldtrack(6, false),
56 double z0,
double cotTheta,
double chi3D,
short time = 0,
short quadrant = -1):
57 Helix(0.,
phi0, omega, z0, cotTheta),
m_chi2D(chi2D),
m_chi3D(chi3D),
m_time(time),
m_quadrant(quadrant),
m_foundoldtrack(6, false),
76 return getTransverseMomentum(bField);
std::vector< bool > m_foundoldtrack
array to store wether an old 2dtrack was found
static void getField(const double *pos, double *field)
return the magnetic field at a given position.
double phi0(void) const
Return helix parameter phi0.
int getExpert() const
return sl pattern of neurotrack
Track created by the CDC trigger.
float m_chi2D
chi2 value from 2D fitter
std::vector< bool > m_tsvector
store which track segments were used.
CDCTriggerTrack()
default constructor, initializing everything to 0.
short m_time
number of trigger clocks of (the track output - L1 trigger)
CDCTriggerTrack(double phi0, double omega, double chi2, std::vector< bool > foundoldtrack, std::vector< bool > driftthreshold, bool valstereobit, int expert=-1, short time=0, short quadrant=-1)
2D constructor, initializing 3D values to 0.
float getTime() const
get the track found time
short getQuadrant()
get the quadrant
float getChi3D() const
get chi2 value of 3D fitter
float m_chi3D
chi2 value from 3D fitter
static const double T
[tesla]
float getChi2D() const
get chi2 value of 2D fitter
std::vector< bool > m_driftthreshold
store if drift time was within the timing window
Abstract base class for different kinds of events.
double getPt() const
get the absolute value of the transverse momentum at the perigee assuming d0 = 0
CDCTriggerTrack(double phi0, double omega, double chi2D, double z0, double cotTheta, double chi3D, short time=0, short quadrant=-1)
3D constructor
int m_expert
store value for used expert network
ClassDef(CDCTriggerTrack, 8)
Needed to make the ROOT object storable.
std::vector< bool > getDriftThreshold() const
returns true, if the drift time was fitted into the time window
std::vector< bool > getFoundOldTrack() const
returns true, if old 2dtrack was found
bool m_valstereobit
store if at least 3 valid stereo ts were found in the NNInput
~CDCTriggerTrack()
destructor, empty because we don't allocate memory anywhere.
Helix(const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea)
Constructor with pivot, helix parameter a, and its error matrix.
bool getValidStereoBit() const
returns true, if at least 3 stereo ts were found
std::vector< bool > getTSVector() const
return the vector of used Track Segments.
short m_quadrant
iTracker of the unpacked quadrant