CbmRoot
Loading...
Searching...
No Matches
CbmLitTrackParam Class Reference

Data class for track parameters. More...

#include <CbmLitTrackParam.h>

Collaboration diagram for CbmLitTrackParam:
[legend]

Public Member Functions

 CbmLitTrackParam ()
 Constructor.
 
virtual ~CbmLitTrackParam ()
 Destructor.
 
litfloat GetX () const
 
litfloat GetY () const
 
litfloat GetZ () const
 
litfloat GetTx () const
 
litfloat GetTy () const
 
litfloat GetQp () const
 
litfloat GetTime () const
 
litfloat GetCovariance (int index) const
 
const vector< litfloat > & GetCovMatrix () const
 
void SetX (litfloat x)
 
void SetY (litfloat y)
 
void SetZ (litfloat z)
 
void SetTx (litfloat tx)
 
void SetTy (litfloat ty)
 
void SetQp (litfloat qp)
 
void SetTime (litfloat t)
 
void SetCovMatrix (const vector< litfloat > &C)
 
void SetCovariance (int index, litfloat cov)
 
void GetDirCos (litfloat &nx, litfloat &ny, litfloat &nz) const
 Return direction cosines.
 
vector< litfloatGetStateVector () const
 Return state vector as vector.
 
void SetStateVector (const vector< litfloat > &x)
 Set parameters from vector.
 
string ToString () const
 Return string representation of class.
 

Static Public Attributes

static litfloat fSpeedOfLight = 1.e-7 * TMath::C()
 

Private Attributes

litfloat fX
 
litfloat fY
 
litfloat fZ
 
litfloat fTx
 
litfloat fTy
 
litfloat fQp
 
litfloat fTime
 
vector< litfloatfCovMatrix
 

Detailed Description

Data class for track parameters.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2008

Definition at line 34 of file CbmLitTrackParam.h.

Constructor & Destructor Documentation

◆ CbmLitTrackParam()

CbmLitTrackParam::CbmLitTrackParam ( )
inline

Constructor.

Definition at line 42 of file CbmLitTrackParam.h.

◆ ~CbmLitTrackParam()

virtual CbmLitTrackParam::~CbmLitTrackParam ( )
inlinevirtual

Destructor.

Definition at line 47 of file CbmLitTrackParam.h.

Member Function Documentation

◆ GetCovariance()

◆ GetCovMatrix()

◆ GetDirCos()

void CbmLitTrackParam::GetDirCos ( litfloat & nx,
litfloat & ny,
litfloat & nz ) const
inline

Return direction cosines.

Parameters
[out]nxOutput direction cosine for OX axis.
[out]nyOutput direction cosine for OY axis.
[out]nzOutput direction cosine for OZ axis.

Definition at line 77 of file CbmLitTrackParam.h.

References fQp, fTx, and fTy.

Referenced by CbmLitTGeoNavigator::InitTrack().

◆ GetQp()

◆ GetStateVector()

vector< litfloat > CbmLitTrackParam::GetStateVector ( ) const
inline

Return state vector as vector.

Returns
State vector as vector.

Definition at line 93 of file CbmLitTrackParam.h.

References GetQp(), GetTime(), GetTx(), GetTy(), GetX(), and GetY().

Referenced by CbmLitRK4TrackExtrapolator::Extrapolate(), and CbmLitKalmanSmoother::Smooth().

◆ GetTime()

◆ GetTx()

◆ GetTy()

◆ GetX()

◆ GetY()

◆ GetZ()

◆ SetCovariance()

void CbmLitTrackParam::SetCovariance ( int index,
litfloat cov )
inline

◆ SetCovMatrix()

◆ SetQp()

◆ SetStateVector()

void CbmLitTrackParam::SetStateVector ( const vector< litfloat > & x)
inline

Set parameters from vector.

Parameters
[in]xState vector.

Definition at line 109 of file CbmLitTrackParam.h.

References SetQp(), SetTime(), SetTx(), SetTy(), SetX(), SetY(), and x.

Referenced by CbmLitRK4TrackExtrapolator::Extrapolate(), and CbmLitKalmanSmoother::Smooth().

◆ SetTime()

◆ SetTx()

◆ SetTy()

◆ SetX()

◆ SetY()

◆ SetZ()

◆ ToString()

string CbmLitTrackParam::ToString ( ) const
inline

Return string representation of class.

Returns
String representation of class.

Definition at line 123 of file CbmLitTrackParam.h.

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

Member Data Documentation

◆ fCovMatrix

vector<litfloat> CbmLitTrackParam::fCovMatrix
private

◆ fQp

litfloat CbmLitTrackParam::fQp
private

Definition at line 140 of file CbmLitTrackParam.h.

Referenced by GetDirCos(), GetQp(), SetQp(), and ToString().

◆ fSpeedOfLight

litfloat CbmLitTrackParam::fSpeedOfLight = 1.e-7 * TMath::C()
static

◆ fTime

litfloat CbmLitTrackParam::fTime
private

Definition at line 141 of file CbmLitTrackParam.h.

Referenced by GetTime(), SetTime(), and ToString().

◆ fTx

litfloat CbmLitTrackParam::fTx
private

Definition at line 139 of file CbmLitTrackParam.h.

Referenced by GetDirCos(), GetTx(), SetTx(), and ToString().

◆ fTy

litfloat CbmLitTrackParam::fTy
private

Definition at line 139 of file CbmLitTrackParam.h.

Referenced by GetDirCos(), GetTy(), SetTy(), and ToString().

◆ fX

litfloat CbmLitTrackParam::fX
private

Definition at line 138 of file CbmLitTrackParam.h.

Referenced by GetX(), SetX(), and ToString().

◆ fY

litfloat CbmLitTrackParam::fY
private

Definition at line 138 of file CbmLitTrackParam.h.

Referenced by GetY(), SetY(), and ToString().

◆ fZ

litfloat CbmLitTrackParam::fZ
private

Definition at line 138 of file CbmLitTrackParam.h.

Referenced by GetZ(), SetZ(), and ToString().


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