EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairTrackParam Class Reference

#include <EicRoot/blob/master/base/FairTrackParam.h>

+ Inheritance diagram for FairTrackParam:
+ Collaboration 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)
 

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]
 

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 31 of file FairTrackParam.h.

View newest version in sPHENIX GitHub at line 31 of file FairTrackParam.h

Constructor & Destructor Documentation

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

FairTrackParam::~FairTrackParam ( )
virtual

Destructor

Definition at line 63 of file FairTrackParam.cxx.

View newest version in sPHENIX GitHub at line 63 of file FairTrackParam.cxx

Member Function Documentation

FairTrackParam::ClassDef ( FairTrackParam  ,
 
)
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=().

+ Here is the caller graph for this function:

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.

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

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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

References fQp, fTx, fTy, and p.

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().

+ Here is the call graph for this function:

void FairTrackParam::Position ( TVector3 &  pos) const
inline

Definition at line 64 of file FairTrackParam.h.

View newest version in sPHENIX GitHub at line 64 of file FairTrackParam.h

References fX, fY, and fZ.

Referenced by CbmRichProjectionProducer::DoProjection().

+ Here is the caller graph for this function:

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

References fQp, fTx, fTy, fX, fY, and fZ.

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=().

+ Here is the caller graph for this function:

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

References fX, fY, and fZ.

void FairTrackParam::SetQp ( Double_t  qp)
inline

Definition at line 77 of file FairTrackParam.h.

View newest version in sPHENIX GitHub at line 77 of file FairTrackParam.h

References fQp.

void FairTrackParam::SetTx ( Double_t  tx)
inline

Definition at line 75 of file FairTrackParam.h.

View newest version in sPHENIX GitHub at line 75 of file FairTrackParam.h

References fTx.

void FairTrackParam::SetTy ( Double_t  ty)
inline

Definition at line 76 of file FairTrackParam.h.

View newest version in sPHENIX GitHub at line 76 of file FairTrackParam.h

References fTy.

void FairTrackParam::SetX ( Double_t  x)
inline

Modifiers

Definition at line 72 of file FairTrackParam.h.

View newest version in sPHENIX GitHub at line 72 of file FairTrackParam.h

References fX, and x.

void FairTrackParam::SetY ( Double_t  y)
inline

Definition at line 73 of file FairTrackParam.h.

View newest version in sPHENIX GitHub at line 73 of file FairTrackParam.h

References fY, and y.

void FairTrackParam::SetZ ( Double_t  z)
inline

Definition at line 74 of file FairTrackParam.h.

View newest version in sPHENIX GitHub at line 74 of file FairTrackParam.h

References fZ, and z.

Member Data Documentation

Double32_t FairTrackParam::fCovMatrix[15]
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().

Double32_t FairTrackParam::fQp
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().

Double32_t FairTrackParam::fTx
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().

Double32_t FairTrackParam::fTy
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().

Double32_t FairTrackParam::fX
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().

Double32_t FairTrackParam::fY
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().

Double32_t FairTrackParam::fZ
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().


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