![]() |
Belle II Software release-09-00-03
|
Track created by the CDC trigger. More...
#include <CDCTriggerTrack.h>


Public Member Functions | |
| CDCTriggerTrack () | |
| default constructor, initializing everything to 0. | |
| CDCTriggerTrack (double phi0, double omega, double chi2, const std::vector< bool > &foundoldtrack, const std::vector< bool > &driftthreshold, bool valstereobit=false, int expert=-1, short time=0, short quadrant=-1) | |
| 2D constructor, initializing 3D values to 0. | |
| CDCTriggerTrack (double phi0, double omega, double chi2, short time=0, short quadrant=-1) | |
| CDCTriggerTrack (double phi0, double omega, double chi2D, double z0, double cotTheta, double chi3D, const std::vector< bool > &foundoldtrack=std::vector< bool >(6, false), const std::vector< bool > &driftthreshold=std::vector< bool >(9, false), bool valstereobit=false, int expert=-1, const std::vector< unsigned > &tsvector=std::vector< unsigned >(9, 0), short time=0, short quadrant=-1, unsigned qualityvector=0) | |
| 3D constructor | |
| ~CDCTriggerTrack () | |
| destructor, empty because we don't allocate memory anywhere. | |
| float | getChi2D () const |
| get chi2 value of 2D fitter | |
| float | getChi3D () const |
| get chi2 value of 3D fitter | |
| float | getTime () const |
| get the track found time | |
| double | getPt () const |
| get the absolute value of the transverse momentum at the perigee assuming d0 = 0 | |
| short | getQuadrant () const |
| get the quadrant | |
| std::vector< bool > | getFoundOldTrack () const |
| returns true, if old 2dtrack was found | |
| bool | getValidStereoBit () const |
| returns true, if at least 3 stereo ts were found | |
| std::vector< bool > | getDriftThreshold () const |
| returns true, if the drift time was fitted into the time window | |
| int | getExpert () const |
| return sl pattern of neurotrack | |
| std::vector< unsigned > | getTSVector () const |
| return the vector of used Track Segments. | |
| void | setQualityVector (const unsigned newbits) |
| setter and getter for the quality vector. | |
| unsigned | getQualityVector () const |
| void | setHasETFTime (bool x) |
| bool | getHasETFTime () const |
| int | getETF_unpacked () const |
| getter and setter functions for etf timing | |
| int | getETF_recalced () const |
| void | setETF_unpacked (int x) |
| void | setETF_recalced (int x) |
| void | setRawPhi0 (const int phi0) |
| setter and getter functions for raw track values | |
| void | setRawOmega (const int omega) |
| void | setRawZ (const int z) |
| void | setRawTheta (const int theta) |
| void | setRawInput (const std::vector< int > input) |
| void | setNNTToGDL (const bool nntgdl) |
| void | setSTTToGDL (const bool sttgdl) |
| int | getRawPhi0 () const |
| int | getRawOmega () const |
| int | getRawZ () const |
| int | getRawTheta () const |
| std::vector< int > | getRawInput () const |
| bool | getNNTToGDL () const |
| bool | getSTTToGDL () const |
| const HepPoint3D & | center (void) const |
| returns position of helix center(z = 0.); | |
| const HepPoint3D & | pivot (void) const |
| returns pivot position. | |
| const HepPoint3D & | pivot (const HepPoint3D &newPivot) |
| Sets pivot position. | |
| double | radius (void) const |
| returns radious of helix. | |
| HepPoint3D | x (double dPhi=0.) const |
| returns position after rotating angle dPhi in phi direction. | |
| double * | x (double dPhi, double p[3]) const |
| returns position after rotating angle dPhi in phi direction. | |
| HepPoint3D | x (double dPhi, HepSymMatrix &Ex) const |
| returns position and convariance matrix(Ex) after rotation. | |
| Hep3Vector | direction (double dPhi=0.) const |
| returns direction vector after rotating angle dPhi in phi direction. | |
| Hep3Vector | momentum (double dPhi=0.) const |
| returns momentum vector after rotating angle dPhi in phi direction. | |
| Hep3Vector | momentum (double dPhi, HepSymMatrix &Em) const |
| returns momentum vector after rotating angle dPhi in phi direction. | |
| HepLorentzVector | momentum (double dPhi, double mass) const |
| returns 4momentum vector after rotating angle dPhi in phi direction. | |
| HepLorentzVector | momentum (double dPhi, double mass, HepSymMatrix &Em) const |
| returns 4momentum vector after rotating angle dPhi in phi direction. | |
| HepLorentzVector | momentum (double dPhi, double mass, HepPoint3D &x, HepSymMatrix &Emx) const |
| returns 4momentum vector after rotating angle dPhi in phi direction. | |
| double | dr (void) const |
| Return helix parameter dr. | |
| double | phi0 (void) const |
| Return helix parameter phi0. | |
| double | kappa (void) const |
| Return helix parameter kappa. | |
| double | dz (void) const |
| Return helix parameter dz. | |
| double | tanl (void) const |
| Return helix parameter tangent lambda. | |
| double | curv (void) const |
| Return curvature of helix. | |
| double | sinPhi0 (void) const |
| Return sin phi0. | |
| double | cosPhi0 (void) const |
| Return cos phi0. | |
| const HepVector & | a (void) const |
| Returns helix parameters. | |
| const HepVector & | a (const HepVector &newA) |
| Sets helix parameters. | |
| const HepSymMatrix & | Ea (void) const |
| Returns error matrix. | |
| const HepSymMatrix & | Ea (const HepSymMatrix &newdA) |
| Sets helix paramters and error matrix. | |
| void | set (const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea) |
| Sets helix pivot position, parameters, and error matrix. | |
| void | ignoreErrorMatrix (void) |
| Unsets error matrix. | |
| double | bFieldZ (double bz) |
| Sets/returns z componet of the magnetic field. | |
| double | bFieldZ (void) const |
| Returns z componet of the magnetic field. | |
| HepMatrix | delApDelA (const HepVector &ap) const |
| DAp/DA. | |
| HepMatrix | delXDelA (double phi) const |
| DX/DA. | |
| HepMatrix | delMDelA (double phi) const |
| DM/DA. | |
| HepMatrix | del4MDelA (double phi, double mass) const |
| DM4/DA. | |
| HepMatrix | del4MXDelA (double phi, double mass) const |
| DMX4/DA. | |
Static Public Member Functions | |
| static void | set_limits (const HepVector &a_min, const HepVector &a_max) |
| set limit for parameter "a" | |
| static bool | set_exception (bool) |
| set exception | |
| static bool | set_print (bool) |
| Set print option for debugging. | |
Static Public Attributes | |
| static const double | ConstantAlpha = 222.376063 |
| Constant alpha for uniform field. | |
Protected Member Functions | |
| ClassDef (CDCTriggerTrack, 14) | |
| Needed to make the ROOT object storable. | |
Protected Attributes | |
| float | m_chi2D |
| float | m_chi3D |
| chi2 value from 3D fitter | |
| short | m_time |
| number of trigger clocks of (the track output - L1 trigger) | |
| short | m_quadrant |
| iTracker of the unpacked quadrant | |
| std::vector< bool > | m_foundoldtrack |
| array to store whether an old 2dtrack was found | |
| std::vector< bool > | m_driftthreshold |
| store if drift time was within the timing window | |
| bool | m_valstereobit |
| store if at least 3 valid stereo ts were found in the NNInput | |
| int | m_expert |
| store value for used expert network | |
| std::vector< unsigned > | m_tsvector |
| store which track segments were used. | |
| unsigned | m_qualityvector |
| store bits for different quality flags. | |
| int | m_etf_unpacked {0} |
| unpacked etf time from the unpacker | |
| int | m_etf_recalced {0} |
| etf time recalculated from the hw input | |
| bool | m_hasETFTime {0} |
| chi2 value from 2D fitter | |
| int | m_rawphi0 {0} |
| values to store the raw network and 2dfinder output | |
| int | m_rawomega {0} |
| int | m_rawz {0} |
| int | m_rawtheta {0} |
| std::vector< int > | m_rawinput |
| bool | m_nntgdl {0} |
| nnt decision that the firmware passed to gdl | |
| bool | m_sttgdl {0} |
| stt decision that the firmware passed to gdl | |
Private Member Functions | |
| void | updateCache (void) |
| updateCache | |
| void | checkValid (void) |
| Check whether helix parameters is valid or not. | |
| void | debugPrint (void) const |
| Print the helix parameters to stdout. | |
| void | debugHelix (void) const |
| Debug Helix. | |
Private Attributes | |
| bool | m_matrixValid |
| True: matrix valid, False: matrix not valid. | |
| bool | m_helixValid |
| True: helix valid, False: helix not valid. | |
| double | m_bField |
| Magnetic field, assuming uniform Bz in the unit of kG. | |
| double | m_alpha |
| 10000.0/(speed of light)/B. | |
| HepPoint3D | m_pivot |
| Pivot. | |
| HepVector | m_a |
| Helix parameter. | |
| HepSymMatrix | m_Ea |
| Error of the helix parameter. | |
| HepPoint3D | m_center |
| Cache of the center position of Helix. | |
| double | m_cp |
| Cache of the cos phi0. | |
| double | m_sp |
| Cache of the sin phi0. | |
| double | m_pt |
| Cache of the pt. | |
| double | m_r |
| Cache of the r. | |
| double | m_ac [5] |
| Cache of the helix parameter. | |
Static Private Attributes | |
| static HepVector | ms_amin |
| minimum limit of Helix parameter a | |
| static HepVector | ms_amax |
| maxiimum limit of Helix parameter a | |
| static bool | ms_check_range |
| Check the helix parameter's range. | |
| static bool | ms_print_debug |
| Debug option flag. | |
| static bool | ms_throw_exception |
| Throw exception flag. | |
| static const std::string | invalidhelix |
| String "Invalid Helix". | |
Track created by the CDC trigger.
Definition at line 21 of file CDCTriggerTrack.h.
|
inline |
default constructor, initializing everything to 0.
Definition at line 24 of file CDCTriggerTrack.h.
|
inline |
2D constructor, initializing 3D values to 0.
| phi0 | The angle between the transverse momentum and the x axis and in [-pi, pi]. |
| omega | The signed curvature of the track where the sign is given by the charge of the particle. |
| chi2 | Chi2 value of the 2D fit. |
| foundoldtrack | vector with boolean information whether an old 2dtrack was found |
| driftthreshold | vector with boolean information whether drift time was within the timing window |
| valstereobit | switch whether at least 3 valid stereo ts found in the NNInput |
| expert | whether to use expert network |
| time | found time for firmware tracks. |
| quadrant | iTracker of the unpacked quadrant. |
Definition at line 41 of file CDCTriggerTrack.h.
|
inline |
Definition at line 58 of file CDCTriggerTrack.h.
|
inline |
3D constructor
| phi0 | The angle between the transverse momentum and the x axis and in [-pi, pi]. |
| omega | The signed curvature of the track where the sign is given by the charge of the particle. |
| chi2D | Chi2 value of the 2D fit. |
| z0 | The z coordinate of the perigee. |
| cotTheta | The slope of the track in the sz plane (dz/ds). |
| chi3D | Chi2 value of the 3D fit. |
| foundoldtrack | vector with boolean information whether an old 2dtrack was found |
| driftthreshold | vector with boolean information whether drift time was within the timing window |
| valstereobit | switch whether at least 3 valid stereo ts found in the NNInput |
| expert | whether to use expert network |
| tsvector | vector of which track segments were used |
| time | found time for firmware tracks. |
| quadrant | iTracker of the unpacked quadrant. |
| qualityvector | quality flag bit |
Definition at line 87 of file CDCTriggerTrack.h.
|
inline |
destructor, empty because we don't allocate memory anywhere.
Definition at line 106 of file CDCTriggerTrack.h.
|
inlineinherited |
Sets helix parameters.
Definition at line 444 of file Helix.h.
|
inlineinherited |
|
inlineinherited |
Sets/returns z componet of the magnetic field.
| [in] | bz | z-component of the magnetic field. |
Definition at line 473 of file Helix.h.
|
inlineinherited |
|
inlineinherited |
returns position of helix center(z = 0.);
Definition at line 343 of file Helix.h.
|
privateinherited |
Check whether helix parameters is valid or not.
Sets m_helixValid.
Definition at line 895 of file Helix.cc.
|
inlineinherited |
|
inlineinherited |
|
privateinherited |
|
privateinherited |
Print the helix parameters to stdout.
|
inherited |
DM4/DA.
Definition at line 749 of file Helix.cc.
|
inherited |
DMX4/DA.
Definition at line 798 of file Helix.cc.
|
inherited |
DAp/DA.
Definition at line 584 of file Helix.cc.
|
inherited |
DM/DA.
Definition at line 710 of file Helix.cc.
|
inherited |
DX/DA.
Definition at line 654 of file Helix.cc.
|
inlineinherited |
returns direction vector after rotating angle dPhi in phi direction.
Definition at line 372 of file Helix.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
get chi2 value of 2D fitter
Definition at line 110 of file CDCTriggerTrack.h.
|
inline |
|
inline |
returns true, if the drift time was fitted into the time window
Definition at line 135 of file CDCTriggerTrack.h.
|
inline |
Definition at line 156 of file CDCTriggerTrack.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 153 of file CDCTriggerTrack.h.
|
inline |
Definition at line 193 of file CDCTriggerTrack.h.
|
inline |
get the absolute value of the transverse momentum at the perigee assuming d0 = 0
Definition at line 118 of file CDCTriggerTrack.h.
|
inline |
get the quadrant
Definition at line 124 of file CDCTriggerTrack.h.
|
inline |
Definition at line 151 of file CDCTriggerTrack.h.
|
inline |
Definition at line 192 of file CDCTriggerTrack.h.
|
inline |
Definition at line 189 of file CDCTriggerTrack.h.
|
inline |
Definition at line 188 of file CDCTriggerTrack.h.
|
inline |
Definition at line 191 of file CDCTriggerTrack.h.
|
inline |
Definition at line 190 of file CDCTriggerTrack.h.
|
inline |
Definition at line 194 of file CDCTriggerTrack.h.
|
inline |
|
inline |
return the vector of used Track Segments.
The First bit is the innermost TS, the last bit the outermost.
Definition at line 142 of file CDCTriggerTrack.h.
|
inline |
|
inherited |
Unsets error matrix.
Error calculations will be ignored after this function call until an error matrix be set again. 0 matrix will be return as a return value for error matrix when you call functions which returns an error matrix.
Definition at line 872 of file Helix.cc.
|
inlineinherited |
|
inherited |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 306 of file Helix.cc.
|
inherited |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 358 of file Helix.cc.
|
inherited |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 331 of file Helix.cc.
|
inherited |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 281 of file Helix.cc.
|
inherited |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 259 of file Helix.cc.
|
inlineinherited |
|
inherited |
Sets pivot position.
Definition at line 393 of file Helix.cc.
|
inlineinherited |
|
inlineinherited |
|
inherited |
Sets helix pivot position, parameters, and error matrix.
Definition at line 467 of file Helix.cc.
|
staticinherited |
|
staticinherited |
|
staticinherited |
Set print option for debugging.
|
inline |
Definition at line 158 of file CDCTriggerTrack.h.
|
inline |
Definition at line 157 of file CDCTriggerTrack.h.
|
inline |
Definition at line 152 of file CDCTriggerTrack.h.
|
inline |
Definition at line 180 of file CDCTriggerTrack.h.
|
inline |
setter and getter for the quality vector.
For the setter, the given uint is xored with the current qualityvector, thus all bits with a 1 are changed.
Definition at line 147 of file CDCTriggerTrack.h.
|
inline |
Definition at line 176 of file CDCTriggerTrack.h.
|
inline |
Definition at line 164 of file CDCTriggerTrack.h.
|
inline |
setter and getter functions for raw track values
Definition at line 160 of file CDCTriggerTrack.h.
|
inline |
Definition at line 172 of file CDCTriggerTrack.h.
|
inline |
Definition at line 168 of file CDCTriggerTrack.h.
|
inline |
Definition at line 184 of file CDCTriggerTrack.h.
|
inlineinherited |
|
inlineinherited |
|
privateinherited |
updateCache
Definition at line 508 of file Helix.cc.
|
inherited |
returns position after rotating angle dPhi in phi direction.
x = x0 + dr * cos(phi0) + (alpha / kappa) * (cos(phi0) - cos(phi0+phi)) y = y0 + dr * sin(phi0) + (alpha / kappa) * (sin(phi0) - sin(phi0+phi)) z = z0 + dz - (alpha / kappa) * tan(lambda) * phi
Definition at line 216 of file Helix.cc.
|
inherited |
returns position and convariance matrix(Ex) after rotation.
Definition at line 235 of file Helix.cc.
|
inherited |
returns position after rotating angle dPhi in phi direction.
x = x0 + dr * cos(phi0) + (alpha / kappa) * (cos(phi0) - cos(phi0+phi)) y = y0 + dr * sin(phi0) + (alpha / kappa) * (sin(phi0) - sin(phi0+phi)) z = z0 + dz - (alpha / kappa) * tan(lambda) * phi
Definition at line 197 of file Helix.cc.
|
staticinherited |
|
staticprivateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
protected |
Definition at line 197 of file CDCTriggerTrack.h.
|
protected |
chi2 value from 3D fitter
Definition at line 199 of file CDCTriggerTrack.h.
|
protected |
store if drift time was within the timing window
Definition at line 207 of file CDCTriggerTrack.h.
|
privateinherited |
|
protected |
etf time recalculated from the hw input
Definition at line 230 of file CDCTriggerTrack.h.
|
protected |
unpacked etf time from the unpacker
Definition at line 228 of file CDCTriggerTrack.h.
|
protected |
store value for used expert network
Definition at line 211 of file CDCTriggerTrack.h.
|
protected |
array to store whether an old 2dtrack was found
Definition at line 205 of file CDCTriggerTrack.h.
|
protected |
chi2 value from 2D fitter
Definition at line 232 of file CDCTriggerTrack.h.
|
privateinherited |
|
privateinherited |
|
protected |
nnt decision that the firmware passed to gdl
Definition at line 240 of file CDCTriggerTrack.h.
|
privateinherited |
|
protected |
iTracker of the unpacked quadrant
Definition at line 203 of file CDCTriggerTrack.h.
|
protected |
store bits for different quality flags.
2^0 : 0 if all axial ts are contained in the related 2dfindertrack; 1 otherwise. 2^1 : 0 if hwsim nntrack is less than 1cm in z away from hwtrack; 1 otherwise. 2^2 : 0 if all input values for the ID are exactly the same in hw and hwsim; 1 otherwise. 2^3 : 0 if all input values for alpa are exactly the same in hw and hwsim; 1 otherwise. 2^4 : 1 if dt in hw/hwsim is 0 and in hwsim/hw is 1; 0 otherwise. 2^5 : 1 if all inputs in hw are 0 but at least 1 is filled in hwsim; 0 otherwise. 2^6 : 1 if all inputs in hwsim are 0 but at least 1 is filled in hw; 0 otherwise. 2^7 : 1 if more than 1 etf time was recalculated from hw. this indicates, that an old input from a previous track was used in the network.
Definition at line 226 of file CDCTriggerTrack.h.
|
protected |
Definition at line 238 of file CDCTriggerTrack.h.
|
protected |
Definition at line 235 of file CDCTriggerTrack.h.
|
protected |
values to store the raw network and 2dfinder output
Definition at line 234 of file CDCTriggerTrack.h.
|
protected |
Definition at line 237 of file CDCTriggerTrack.h.
|
protected |
Definition at line 236 of file CDCTriggerTrack.h.
|
protected |
stt decision that the firmware passed to gdl
Definition at line 242 of file CDCTriggerTrack.h.
|
protected |
number of trigger clocks of (the track output - L1 trigger)
Definition at line 201 of file CDCTriggerTrack.h.
|
protected |
store which track segments were used.
The First bit is the innermost TS, the last bit the outermost.
Definition at line 214 of file CDCTriggerTrack.h.
|
protected |
store if at least 3 valid stereo ts were found in the NNInput
Definition at line 209 of file CDCTriggerTrack.h.
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |