FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTrackParam Class Reference

#include <FairTrackParam.h>

Inheritance diagram for FairTrackParam:

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 &param)
 
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)
 
FairTrackParamoperator= (const FairTrackParam &par)
 

Detailed Description

FairTrackParam.h

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e

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.

Constructor & Destructor Documentation

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.

FairTrackParam::~FairTrackParam ( )
virtual

Destructor

Definition at line 73 of file FairTrackParam.cxx.

Member Function Documentation

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.

Double_t FairTrackParam::GetQp ( ) const
inline

Definition at line 63 of file FairTrackParam.h.

Double_t FairTrackParam::GetTx ( ) const
inline

Definition at line 61 of file FairTrackParam.h.

Double_t FairTrackParam::GetTy ( ) const
inline

Definition at line 62 of file FairTrackParam.h.

Double_t FairTrackParam::GetX ( ) const
inline

Accessors

Definition at line 58 of file FairTrackParam.h.

Double_t FairTrackParam::GetY ( ) const
inline

Definition at line 59 of file FairTrackParam.h.

Double_t FairTrackParam::GetZ ( ) const
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.

void FairTrackParam::Position ( TVector3 &  pos) const
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.

void FairTrackParam::SetQp ( Double_t  qp)
inline

Definition at line 76 of file FairTrackParam.h.

void FairTrackParam::SetTx ( Double_t  tx)
inline

Definition at line 74 of file FairTrackParam.h.

void FairTrackParam::SetTy ( Double_t  ty)
inline

Definition at line 75 of file FairTrackParam.h.

void FairTrackParam::SetX ( Double_t  x)
inline

Modifiers

Definition at line 71 of file FairTrackParam.h.

void FairTrackParam::SetY ( Double_t  y)
inline

Definition at line 72 of file FairTrackParam.h.

void FairTrackParam::SetZ ( Double_t  z)
inline

Definition at line 73 of file FairTrackParam.h.


The documentation for this class was generated from the following files: