FairRoot
|
#include <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) |
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 33 of file FairTrackParam.h.
FairTrackParam::FairTrackParam | ( | ) |
Constructor
Definition at line 23 of file FairTrackParam.cxx.
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 38 of file FairTrackParam.cxx.
FairTrackParam::FairTrackParam | ( | const FairTrackParam & | param | ) |
Copy constructor
Definition at line 61 of file FairTrackParam.cxx.
|
virtual |
Destructor
Definition at line 73 of file FairTrackParam.cxx.
void FairTrackParam::CovMatrix | ( | Double_t | cov[] | ) | const |
Definition at line 91 of file FairTrackParam.cxx.
void FairTrackParam::CovMatrix | ( | TMatrixFSym & | covMat | ) | const |
Definition at line 98 of file FairTrackParam.cxx.
Double_t FairTrackParam::GetCovariance | ( | Int_t | i, |
Int_t | j | ||
) | const |
Definition at line 110 of file FairTrackParam.cxx.
|
inline |
Definition at line 63 of file FairTrackParam.h.
|
inline |
Definition at line 61 of file FairTrackParam.h.
|
inline |
Definition at line 62 of file FairTrackParam.h.
|
inline |
Accessors
Definition at line 58 of file FairTrackParam.h.
|
inline |
Definition at line 59 of file FairTrackParam.h.
|
inline |
Definition at line 60 of file FairTrackParam.h.
void FairTrackParam::Momentum | ( | TVector3 & | mom | ) | const |
Definition at line 82 of file FairTrackParam.cxx.
FairTrackParam & FairTrackParam::operator= | ( | const FairTrackParam & | par | ) |
Assignment operator
Definition at line 193 of file FairTrackParam.cxx.
|
inline |
Definition at line 64 of file FairTrackParam.h.
void FairTrackParam::Print | ( | Option_t * | option = "" | ) | const |
Output to screen
Definition at line 75 of file FairTrackParam.cxx.
void FairTrackParam::SetCovariance | ( | Int_t | i, |
Int_t | j, | ||
Double_t | val | ||
) |
Definition at line 160 of file FairTrackParam.cxx.
void FairTrackParam::SetCovMatrix | ( | Double_t | cov[] | ) |
Definition at line 143 of file FairTrackParam.cxx.
void FairTrackParam::SetCovMatrix | ( | const TMatrixFSym & | covMat | ) |
Definition at line 150 of file FairTrackParam.cxx.
void FairTrackParam::SetPosition | ( | const TVector3 & | pos | ) |
Definition at line 136 of file FairTrackParam.cxx.
|
inline |
Definition at line 76 of file FairTrackParam.h.
|
inline |
Definition at line 74 of file FairTrackParam.h.
|
inline |
Definition at line 75 of file FairTrackParam.h.
|
inline |
Modifiers
Definition at line 71 of file FairTrackParam.h.
|
inline |
Definition at line 72 of file FairTrackParam.h.
|
inline |
Definition at line 73 of file FairTrackParam.h.