![]() |
FairShip
|
#include <RecoTrack.h>
Public Member Functions | |
| RecoTrack ()=default | |
| RecoTrack (const TVector3 &position, const TVector3 &momentum, Int_t charge, const std::array< Double_t, 21 > &covariance, Double_t chi2, Double_t nDoF, UInt_t nMeasurements, std::vector< Double_t > residuals, std::vector< Double_t > pulls) | |
| ~RecoTrack () override=default | |
| Double_t | x () const |
| Double_t | y () const |
| Double_t | z () const |
| Double_t | px () const |
| Double_t | py () const |
| Double_t | pz () const |
| Int_t | charge () const |
| Double_t | err_x () const |
| Double_t | err_y () const |
| Double_t | err_z () const |
| Double_t | err_px () const |
| Double_t | err_py () const |
| Double_t | err_pz () const |
| Double_t | chi2 () const |
| Double_t | nDoF () const |
| UInt_t | nMeasurements () const |
| const std::vector< Double_t > & | GetResiduals () const |
| Residuals of the smoothed states, in cm, ordered along the track. | |
| const std::vector< Double_t > & | GetPulls () const |
| const std::vector< Double_t > & | GetCovarianceElements () const |
| Bool_t | ExtrapolateToZ (Double_t z, TVector3 &position) const |
Private Member Functions | |
| ClassDefOverride (RecoTrack, 1) | |
Private Attributes | |
| Double_t | m_x {0.} |
| Double_t | m_y {0.} |
| Double_t | m_z {0.} |
| Double_t | m_px {0.} |
| Double_t | m_py {0.} |
| Double_t | m_pz {0.} |
| Int_t | m_charge {0} |
| Double_t | m_err_x {0.} |
| Double_t | m_err_y {0.} |
| Double_t | m_err_z {0.} |
| Double_t | m_err_px {0.} |
| Double_t | m_err_py {0.} |
| Double_t | m_err_pz {0.} |
| Double_t | m_chi2 {0.} |
| Double_t | m_nDoF {0.} |
| UInt_t | m_nMeasurements {0} |
| std::vector< Double_t > | m_residuals |
| std::vector< Double_t > | m_pulls |
| std::vector< Double_t > | m_cov_elements |
Fitted track from the ACTS straw tracker fit, in the SHiP frame.
The state is taken at the first measurement of the track. Positions are in cm, momenta in GeV. The covariance is the 6x6 matrix of (x, y, z, px, py, pz), stored as its upper triangle in row-major order, so the variances of px, py and pz are elements 15, 18 and 20.
The class does not depend on ACTS, so reco files can be read without it.
Definition at line 25 of file RecoTrack.h.
|
default |
| SHiP::RecoTrack::RecoTrack | ( | const TVector3 & | position, |
| const TVector3 & | momentum, | ||
| Int_t | charge, | ||
| const std::array< Double_t, 21 > & | covariance, | ||
| Double_t | chi2, | ||
| Double_t | nDoF, | ||
| UInt_t | nMeasurements, | ||
| std::vector< Double_t > | residuals, | ||
| std::vector< Double_t > | pulls ) |
Definition at line 13 of file RecoTrack.cxx.
|
overridedefault |
|
inline |
Definition at line 40 of file RecoTrack.h.
|
inline |
Definition at line 47 of file RecoTrack.h.
|
private |
|
inline |
Definition at line 44 of file RecoTrack.h.
|
inline |
Definition at line 45 of file RecoTrack.h.
|
inline |
Definition at line 46 of file RecoTrack.h.
|
inline |
Definition at line 41 of file RecoTrack.h.
|
inline |
Definition at line 42 of file RecoTrack.h.
|
inline |
Definition at line 43 of file RecoTrack.h.
| Bool_t SHiP::RecoTrack::ExtrapolateToZ | ( | Double_t | z, |
| TVector3 & | position ) const |
Extrapolate the track along a straight line to the plane at z (cm).
The fitted state is taken at the first measurement, so this is only accurate where the field between that point and z can be neglected. Returns false if the track is parallel to the plane.
Definition at line 44 of file RecoTrack.cxx.
|
inline |
Definition at line 53 of file RecoTrack.h.
|
inline |
Definition at line 52 of file RecoTrack.h.
|
inline |
Residuals of the smoothed states, in cm, ordered along the track.
Definition at line 51 of file RecoTrack.h.
|
inline |
Definition at line 48 of file RecoTrack.h.
|
inline |
Definition at line 49 of file RecoTrack.h.
|
inline |
Definition at line 37 of file RecoTrack.h.
|
inline |
Definition at line 38 of file RecoTrack.h.
|
inline |
Definition at line 39 of file RecoTrack.h.
|
inline |
Definition at line 34 of file RecoTrack.h.
|
inline |
Definition at line 35 of file RecoTrack.h.
|
inline |
Definition at line 36 of file RecoTrack.h.
|
private |
Definition at line 71 of file RecoTrack.h.
|
private |
Definition at line 78 of file RecoTrack.h.
|
private |
Definition at line 83 of file RecoTrack.h.
|
private |
Definition at line 75 of file RecoTrack.h.
|
private |
Definition at line 76 of file RecoTrack.h.
|
private |
Definition at line 77 of file RecoTrack.h.
|
private |
Definition at line 72 of file RecoTrack.h.
|
private |
Definition at line 73 of file RecoTrack.h.
|
private |
Definition at line 74 of file RecoTrack.h.
|
private |
Definition at line 79 of file RecoTrack.h.
|
private |
Definition at line 80 of file RecoTrack.h.
|
private |
Definition at line 82 of file RecoTrack.h.
|
private |
Definition at line 68 of file RecoTrack.h.
|
private |
Definition at line 69 of file RecoTrack.h.
|
private |
Definition at line 70 of file RecoTrack.h.
|
private |
Definition at line 81 of file RecoTrack.h.
|
private |
Definition at line 65 of file RecoTrack.h.
|
private |
Definition at line 66 of file RecoTrack.h.
|
private |
Definition at line 67 of file RecoTrack.h.