CbmRoot
CbmTofTrackletParam Class Reference

#include <CbmTofTrackletParam.h>

Inheritance diagram for CbmTofTrackletParam:
[legend]
Collaboration diagram for CbmTofTrackletParam:
[legend]

Public Member Functions

 CbmTofTrackletParam ()
 Constructor. More...
 
virtual ~CbmTofTrackletParam ()
 Destructor. More...
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetLz () const
 
Double_t GetTx () const
 
Double_t GetTy () const
 
Double_t GetQp () const
 
Double_t GetCovariance (int index) const
 
const std::vector< Double_t > & GetCovMatrix () const
 
void SetX (Double_t x)
 
void SetY (Double_t y)
 
void SetZ (Double_t z)
 
void SetLz (Double_t lz)
 
void SetTx (Double_t tx)
 
void SetTy (Double_t ty)
 
void SetQp (Double_t qp)
 
void SetCovMatrix (const std::vector< Double_t > &C)
 
void SetCovariance (int index, Double_t cov)
 
void GetDirCos (Double_t &nx, Double_t &ny, Double_t &nz) const
 Return direction cosines. More...
 
std::vector< Double_t > GetStateVector () const
 Return state vector as vector. More...
 
void SetStateVector (const std::vector< Double_t > &x)
 Set parameters from vector. More...
 
std::string ToString () const
 Return string representation of class. More...
 
Double_t GetZr (Double_t R) const
 
Double_t GetZy (Double_t Y) const
 

Private Member Functions

 ClassDef (CbmTofTrackletParam, 1)
 

Private Attributes

Double_t fX
 
Double_t fY
 
Double_t fZ
 
Double_t fTx
 
Double_t fTy
 
Double_t fQp
 
Double_t fLz
 
std::vector< Double_t > fCovMatrix
 

Detailed Description

Definition at line 27 of file CbmTofTrackletParam.h.

Constructor & Destructor Documentation

◆ CbmTofTrackletParam()

CbmTofTrackletParam::CbmTofTrackletParam ( )
inline

Constructor.

Definition at line 32 of file CbmTofTrackletParam.h.

◆ ~CbmTofTrackletParam()

virtual CbmTofTrackletParam::~CbmTofTrackletParam ( )
inlinevirtual

Destructor.

Definition at line 45 of file CbmTofTrackletParam.h.

Member Function Documentation

◆ ClassDef()

CbmTofTrackletParam::ClassDef ( CbmTofTrackletParam  ,
 
)
private

◆ GetCovariance()

Double_t CbmTofTrackletParam::GetCovariance ( int  index) const
inline

◆ GetCovMatrix()

const std::vector<Double_t>& CbmTofTrackletParam::GetCovMatrix ( ) const
inline

Definition at line 56 of file CbmTofTrackletParam.h.

References fCovMatrix.

◆ GetDirCos()

void CbmTofTrackletParam::GetDirCos ( Double_t &  nx,
Double_t &  ny,
Double_t &  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 CbmTofTrackletParam.h.

References fQp, fTx, fTy, and sqrt().

◆ GetLz()

Double_t CbmTofTrackletParam::GetLz ( ) const
inline

Definition at line 51 of file CbmTofTrackletParam.h.

References fLz.

Referenced by CbmTofFindTracks::FillHistograms().

◆ GetQp()

Double_t CbmTofTrackletParam::GetQp ( ) const
inline

Definition at line 54 of file CbmTofTrackletParam.h.

References fQp.

Referenced by GetStateVector(), and CbmTofTracklet::SetParamLast().

◆ GetStateVector()

std::vector<Double_t> CbmTofTrackletParam::GetStateVector ( ) const
inline

Return state vector as vector.

Returns
State vector as vector.

Definition at line 92 of file CbmTofTrackletParam.h.

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

◆ GetTx()

◆ GetTy()

◆ GetX()

Double_t CbmTofTrackletParam::GetX ( ) const
inline

◆ GetY()

Double_t CbmTofTrackletParam::GetY ( ) const
inline

◆ GetZ()

◆ GetZr()

Double_t CbmTofTrackletParam::GetZr ( Double_t  R) const

Definition at line 10 of file CbmTofTrackletParam.cxx.

References fTx, fTy, fX, fY, and sqrt().

◆ GetZy()

Double_t CbmTofTrackletParam::GetZy ( Double_t  Y) const
inline

Definition at line 134 of file CbmTofTrackletParam.h.

References fTy, fY, and fZ.

Referenced by CbmTofFindTracks::FillHistograms().

◆ SetCovariance()

void CbmTofTrackletParam::SetCovariance ( int  index,
Double_t  cov 
)
inline

Definition at line 69 of file CbmTofTrackletParam.h.

References fCovMatrix.

Referenced by CbmTofTracklet::GetFairTrackParamLast().

◆ SetCovMatrix()

void CbmTofTrackletParam::SetCovMatrix ( const std::vector< Double_t > &  C)
inline

Definition at line 66 of file CbmTofTrackletParam.h.

References fCovMatrix.

◆ SetLz()

void CbmTofTrackletParam::SetLz ( Double_t  lz)
inline

Definition at line 62 of file CbmTofTrackletParam.h.

References fLz.

Referenced by CbmTofTrackFinderNN::DoFind(), and CbmTofTrackFinderNN::TrklSeed().

◆ SetQp()

void CbmTofTrackletParam::SetQp ( Double_t  qp)
inline

Definition at line 65 of file CbmTofTrackletParam.h.

References fQp.

Referenced by CbmTofTracklet::GetFairTrackParamLast(), and SetStateVector().

◆ SetStateVector()

void CbmTofTrackletParam::SetStateVector ( const std::vector< Double_t > &  x)
inline

Set parameters from vector.

Parameters
[in]xState vector.

Definition at line 106 of file CbmTofTrackletParam.h.

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

◆ SetTx()

void CbmTofTrackletParam::SetTx ( Double_t  tx)
inline

◆ SetTy()

void CbmTofTrackletParam::SetTy ( Double_t  ty)
inline

◆ SetX()

void CbmTofTrackletParam::SetX ( Double_t  x)
inline

◆ SetY()

void CbmTofTrackletParam::SetY ( Double_t  y)
inline

◆ SetZ()

void CbmTofTrackletParam::SetZ ( Double_t  z)
inline

◆ ToString()

std::string CbmTofTrackletParam::ToString ( ) const
inline

Return string representation of class.

Returns
String representation of class.

Definition at line 118 of file CbmTofTrackletParam.h.

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

Referenced by CbmTofTrackFinderNN::DoFind(), CbmTofFindTracks::FillHistograms(), and CbmTofTracklet::GetTex().

Member Data Documentation

◆ fCovMatrix

std::vector<Double_t> CbmTofTrackletParam::fCovMatrix
private

◆ fLz

Double_t CbmTofTrackletParam::fLz
private

Definition at line 144 of file CbmTofTrackletParam.h.

Referenced by GetLz(), and SetLz().

◆ fQp

Double_t CbmTofTrackletParam::fQp
private

Definition at line 143 of file CbmTofTrackletParam.h.

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

◆ fTx

Double_t CbmTofTrackletParam::fTx
private

Definition at line 142 of file CbmTofTrackletParam.h.

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

◆ fTy

Double_t CbmTofTrackletParam::fTy
private

Definition at line 142 of file CbmTofTrackletParam.h.

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

◆ fX

Double_t CbmTofTrackletParam::fX
private

Definition at line 141 of file CbmTofTrackletParam.h.

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

◆ fY

Double_t CbmTofTrackletParam::fY
private

Definition at line 141 of file CbmTofTrackletParam.h.

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

◆ fZ

Double_t CbmTofTrackletParam::fZ
private

Definition at line 141 of file CbmTofTrackletParam.h.

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


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