EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairTrackParam.h>
Public Member Functions | |
FairTrackParam () | |
FairTrackParam (Double_t x, Double_t y, Double_t z, Double_t tx, Double_t ty, Double_t qp, const TMatrixFSym &covMat) | |
FairTrackParam (const FairTrackParam ¶m) | |
virtual | ~FairTrackParam () |
void | Print (Option_t *option="") const |
Double_t | GetX () const |
Double_t | GetY () const |
Double_t | GetZ () const |
Double_t | GetTx () const |
Double_t | GetTy () const |
Double_t | GetQp () const |
void | Position (TVector3 &pos) const |
void | Momentum (TVector3 &mom) const |
void | CovMatrix (Double_t cov[]) const |
void | CovMatrix (TMatrixFSym &covMat) const |
Double_t | GetCovariance (Int_t i, Int_t j) const |
void | SetX (Double_t x) |
void | SetY (Double_t y) |
void | SetZ (Double_t z) |
void | SetTx (Double_t tx) |
void | SetTy (Double_t ty) |
void | SetQp (Double_t qp) |
void | SetPosition (const TVector3 &pos) |
void | SetCovMatrix (Double_t cov[]) |
void | SetCovMatrix (const TMatrixFSym &covMat) |
void | SetCovariance (Int_t i, Int_t j, Double_t val) |
FairTrackParam & | operator= (const FairTrackParam &par) |
Private Member Functions | |
ClassDef (FairTrackParam, 1) | |
Private Attributes | |
Double32_t | fX |
Double32_t | fY |
Double32_t | fZ |
Double32_t | fTx |
Double32_t | fTy |
Double32_t | fQp |
Double32_t | fCovMatrix [15] |
Parameters (x, y, tx, ty, q/p) of a track resulting from the track fit. The z coordinate is not a parameter. The 5x5 covariance matrix can be set and accessed by either an array of size 15, the TMatrixFSym class or elementwise. Note that TMatrixFSym should not be used when performance is an issue. The internal representation of the covariance matrix elements is an array of double.
Definition at line 31 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 31 of file FairTrackParam.h
FairTrackParam::FairTrackParam | ( | ) |
Constructor
Definition at line 15 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 15 of file FairTrackParam.cxx
References fCovMatrix.
FairTrackParam::FairTrackParam | ( | Double_t | x, |
Double_t | y, | ||
Double_t | z, | ||
Double_t | tx, | ||
Double_t | ty, | ||
Double_t | qp, | ||
const TMatrixFSym & | covMat | ||
) |
Constructor with all variables
Definition at line 32 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 32 of file FairTrackParam.cxx
References fCovMatrix.
FairTrackParam::FairTrackParam | ( | const FairTrackParam & | param | ) |
Copy constructor
Definition at line 50 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 50 of file FairTrackParam.cxx
|
virtual |
Destructor
Definition at line 63 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 63 of file FairTrackParam.cxx
|
private |
void FairTrackParam::CovMatrix | ( | Double_t | cov[] | ) | const |
Definition at line 97 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 97 of file FairTrackParam.cxx
References fCovMatrix.
Referenced by operator=().
void FairTrackParam::CovMatrix | ( | TMatrixFSym & | covMat | ) | const |
Definition at line 106 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 106 of file FairTrackParam.cxx
References fCovMatrix.
Double_t FairTrackParam::GetCovariance | ( | Int_t | i, |
Int_t | j | ||
) | const |
Definition at line 122 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 122 of file FairTrackParam.cxx
References fCovMatrix, and k.
|
inline |
Definition at line 63 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 63 of file FairTrackParam.h
References fQp.
Referenced by CbmRichProjectionProducer::DoProjection(), and operator=().
|
inline |
Definition at line 61 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 61 of file FairTrackParam.h
References fTx.
Referenced by CbmRichProjectionProducer::DoProjection(), and operator=().
|
inline |
Definition at line 62 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 62 of file FairTrackParam.h
References fTy.
Referenced by CbmRichProjectionProducer::DoProjection(), and operator=().
|
inline |
Accessors
Definition at line 58 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 58 of file FairTrackParam.h
References fX.
Referenced by CbmRichRingTrackAssignClosestD::DoAssign(), CbmRichRingTrackAssignIdeal::DoAssign(), CbmRichProjectionProducer::DoProjection(), CbmRichEventDisplay::DrawOnePmtPlane(), CbmRichUrqmdTest::NofProjections(), and operator=().
|
inline |
Definition at line 59 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 59 of file FairTrackParam.h
References fY.
Referenced by CbmRichRingTrackAssignClosestD::DoAssign(), CbmRichRingTrackAssignIdeal::DoAssign(), CbmRichProjectionProducer::DoProjection(), CbmRichEventDisplay::DrawOnePmtPlane(), CbmRichUrqmdTest::NofProjections(), and operator=().
|
inline |
Definition at line 60 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 60 of file FairTrackParam.h
References fZ.
Referenced by CbmRichProjectionProducer::DoProjection(), and operator=().
void FairTrackParam::Momentum | ( | TVector3 & | mom | ) | const |
Definition at line 83 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 83 of file FairTrackParam.cxx
FairTrackParam & FairTrackParam::operator= | ( | const FairTrackParam & | par | ) |
Assignment operator
Definition at line 210 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 210 of file FairTrackParam.cxx
References Acts::Test::cov, CovMatrix(), fQp, fTx, fTy, fX, fY, fZ, GetQp(), GetTx(), GetTy(), GetX(), GetY(), GetZ(), and SetCovMatrix().
|
inline |
Definition at line 64 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 64 of file FairTrackParam.h
Referenced by CbmRichProjectionProducer::DoProjection().
void FairTrackParam::Print | ( | Option_t * | option = "" | ) | const |
Output to screen
Definition at line 69 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 69 of file FairTrackParam.cxx
void FairTrackParam::SetCovariance | ( | Int_t | i, |
Int_t | j, | ||
Double_t | val | ||
) |
Definition at line 179 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 179 of file FairTrackParam.cxx
References fCovMatrix, and k.
void FairTrackParam::SetCovMatrix | ( | Double_t | cov[] | ) |
Definition at line 158 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 158 of file FairTrackParam.cxx
References fCovMatrix.
Referenced by operator=().
void FairTrackParam::SetCovMatrix | ( | const TMatrixFSym & | covMat | ) |
Definition at line 167 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 167 of file FairTrackParam.cxx
References fCovMatrix.
void FairTrackParam::SetPosition | ( | const TVector3 & | pos | ) |
Definition at line 147 of file FairTrackParam.cxx.
View newest version in sPHENIX GitHub at line 147 of file FairTrackParam.cxx
|
inline |
Definition at line 77 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 77 of file FairTrackParam.h
References fQp.
|
inline |
Definition at line 75 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 75 of file FairTrackParam.h
References fTx.
|
inline |
Definition at line 76 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 76 of file FairTrackParam.h
References fTy.
|
inline |
Modifiers
Definition at line 72 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 72 of file FairTrackParam.h
|
inline |
Definition at line 73 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 73 of file FairTrackParam.h
|
inline |
Definition at line 74 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 74 of file FairTrackParam.h
|
private |
Covariance matrix for the variables x, y, tx, ty, q/p The 15 elements of the upper triangle of the symmetric matrix are stored in an array of floats. The sequence of the array is a[0,0..4], a[1,1..4], a[2,2..4], a[3,3..4], a[4,4].
Definition at line 106 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 106 of file FairTrackParam.h
Referenced by CovMatrix(), FairTrackParam(), GetCovariance(), SetCovariance(), and SetCovMatrix().
|
private |
Charge over momentum [1/GeV]
Definition at line 98 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 98 of file FairTrackParam.h
Referenced by GetQp(), Momentum(), operator=(), Print(), and SetQp().
|
private |
Direction of track tx = dx/dz; ty = dy/dz
Definition at line 95 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 95 of file FairTrackParam.h
Referenced by GetTx(), Momentum(), operator=(), Print(), and SetTx().
|
private |
Definition at line 95 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 95 of file FairTrackParam.h
Referenced by GetTy(), Momentum(), operator=(), Print(), and SetTy().
|
private |
Position of track at given z [cm]
Definition at line 92 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 92 of file FairTrackParam.h
Referenced by GetX(), operator=(), Position(), Print(), SetPosition(), and SetX().
|
private |
Definition at line 92 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 92 of file FairTrackParam.h
Referenced by GetY(), operator=(), Position(), Print(), SetPosition(), and SetY().
|
private |
Definition at line 92 of file FairTrackParam.h.
View newest version in sPHENIX GitHub at line 92 of file FairTrackParam.h
Referenced by GetZ(), operator=(), Position(), Print(), SetPosition(), and SetZ().