CbmRoot
CbmHelix Class Reference

#include <CbmHelix.h>

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

Public Member Functions

 CbmHelix ()
 
 CbmHelix (const CbmHelix &other)
 
CbmHelixoperator= (const CbmHelix &other)
 
void Build (const FairTrackParam *params)
 
void Build (const CbmGlobalTrack *tr)
 
void Build (const CbmStsTrack *tr, Bool_t first)
 
void PrintInfo () const
 
Double_t * GetTrack ()
 
Double_t * GetCovMatrix ()
 
TVector3 Eval (Double_t z)
 
TVector3 Eval (Double_t z, TVector3 &mom)
 
virtual ~CbmHelix ()
 

Static Public Member Functions

static void SetField (FairField *field)
 

Protected Member Functions

Double_t Qp () const
 
void SetQp (Double_t qp)
 
Double_t X () const
 
Double_t Y () const
 
Double_t Z () const
 
Double_t Tx () const
 
Double_t Ty () const
 
Int_t indexS (Int_t i, Int_t j)
 
void multQtSQ (const Int_t N, Double_t Q[])
 
void ExtrapolateLine (Double_t z_out)
 
Int_t ExtrapolateRK4 (Double_t z_out)
 
Int_t ExtrapolateALight (Double_t z_out)
 
Int_t Propagate (Double_t Z)
 
void SetParameters (const FairTrackParam *param)
 

Protected Attributes

Double_t fT [6]
 
Double_t fC [15]
 

Static Protected Attributes

static FairField * fgField = NULL
 

Detailed Description

Definition at line 23 of file CbmHelix.h.

Constructor & Destructor Documentation

◆ CbmHelix() [1/2]

CbmHelix::CbmHelix ( )

Definition at line 14 of file CbmHelix.cxx.

◆ CbmHelix() [2/2]

CbmHelix::CbmHelix ( const CbmHelix other)

Definition at line 60 of file CbmHelix.cxx.

References fC, fT, and i.

◆ ~CbmHelix()

CbmHelix::~CbmHelix ( )
virtual

Definition at line 56 of file CbmHelix.cxx.

Member Function Documentation

◆ Build() [1/3]

void CbmHelix::Build ( const CbmGlobalTrack tr)

Definition at line 16 of file CbmHelix.cxx.

References CbmGlobalTrack::GetParamVertex(), and SetParameters().

◆ Build() [2/3]

void CbmHelix::Build ( const CbmStsTrack tr,
Bool_t  first 
)

Definition at line 21 of file CbmHelix.cxx.

References CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), and SetParameters().

◆ Build() [3/3]

void CbmHelix::Build ( const FairTrackParam *  params)
inline

Definition at line 49 of file CbmHelix.h.

References SetParameters().

Referenced by NicaCbmGlobalTrack::Update().

◆ Eval() [1/2]

TVector3 CbmHelix::Eval ( Double_t  z)

Definition at line 29 of file CbmHelix.cxx.

References GetTrack(), and Propagate().

◆ Eval() [2/2]

TVector3 CbmHelix::Eval ( Double_t  z,
TVector3 &  mom 
)

Definition at line 34 of file CbmHelix.cxx.

References GetTrack(), Propagate(), Qp(), Tx(), and Ty().

◆ ExtrapolateALight()

Int_t CbmHelix::ExtrapolateALight ( Double_t  z_out)
protected

Definition at line 362 of file CbmHelix.cxx.

References NS_L1TrackFitter::c_light, fC, fgField, fT, i, m, multQtSQ(), Qp(), sqrt(), x, and y.

Referenced by Propagate().

◆ ExtrapolateLine()

void CbmHelix::ExtrapolateLine ( Double_t  z_out)
protected

Definition at line 118 of file CbmHelix.cxx.

References fC, and fT.

Referenced by Propagate().

◆ ExtrapolateRK4()

Int_t CbmHelix::ExtrapolateRK4 ( Double_t  z_out)
protected

Definition at line 142 of file CbmHelix.cxx.

References NS_L1TrackFitter::c_light, fgField, fT, i, multQtSQ(), Qp(), sqrt(), and x.

Referenced by Propagate().

◆ GetCovMatrix()

Double_t* CbmHelix::GetCovMatrix ( )
inline

Definition at line 63 of file CbmHelix.h.

References fC.

◆ GetTrack()

Double_t* CbmHelix::GetTrack ( )
inline

Definition at line 62 of file CbmHelix.h.

References fT.

Referenced by Eval().

◆ indexS()

Int_t CbmHelix::indexS ( Int_t  i,
Int_t  j 
)
inlineprotected

Definition at line 34 of file CbmHelix.h.

References i.

Referenced by multQtSQ().

◆ multQtSQ()

void CbmHelix::multQtSQ ( const Int_t  N,
Double_t  Q[] 
)
protected

Definition at line 610 of file CbmHelix.cxx.

References fC, i, and indexS().

Referenced by ExtrapolateALight(), and ExtrapolateRK4().

◆ operator=()

CbmHelix & CbmHelix::operator= ( const CbmHelix other)

Definition at line 67 of file CbmHelix.cxx.

References fC, fT, and i.

◆ PrintInfo()

void CbmHelix::PrintInfo ( ) const
inline

Definition at line 52 of file CbmHelix.h.

References fT.

◆ Propagate()

Int_t CbmHelix::Propagate ( Double_t  Z)
protected

Definition at line 76 of file CbmHelix.cxx.

References ExtrapolateALight(), ExtrapolateLine(), ExtrapolateRK4(), fabs(), fgField, and fT.

Referenced by Eval().

◆ Qp()

Double_t CbmHelix::Qp ( ) const
inlineprotected

Definition at line 26 of file CbmHelix.h.

References fT.

Referenced by Eval(), ExtrapolateALight(), and ExtrapolateRK4().

◆ SetField()

static void CbmHelix::SetField ( FairField *  field)
inlinestatic

Definition at line 46 of file CbmHelix.h.

References fgField.

Referenced by NicaCbmFirstTask::Init().

◆ SetParameters()

void CbmHelix::SetParameters ( const FairTrackParam *  param)
protected

Definition at line 44 of file CbmHelix.cxx.

References fC, fT, and i.

Referenced by Build().

◆ SetQp()

void CbmHelix::SetQp ( Double_t  qp)
inlineprotected

Definition at line 27 of file CbmHelix.h.

References fT.

◆ Tx()

Double_t CbmHelix::Tx ( ) const
inlineprotected

Definition at line 31 of file CbmHelix.h.

References fT.

Referenced by Eval().

◆ Ty()

Double_t CbmHelix::Ty ( ) const
inlineprotected

Definition at line 32 of file CbmHelix.h.

References fT.

Referenced by Eval().

◆ X()

Double_t CbmHelix::X ( ) const
inlineprotected

Definition at line 28 of file CbmHelix.h.

References fT.

◆ Y()

Double_t CbmHelix::Y ( ) const
inlineprotected

Definition at line 29 of file CbmHelix.h.

References fT.

◆ Z()

Double_t CbmHelix::Z ( ) const
inlineprotected

Definition at line 30 of file CbmHelix.h.

References fT.

Member Data Documentation

◆ fC

Double_t CbmHelix::fC[15]
protected

◆ fgField

FairField * CbmHelix::fgField = NULL
staticprotected

Definition at line 33 of file CbmHelix.h.

Referenced by ExtrapolateALight(), ExtrapolateRK4(), Propagate(), and SetField().

◆ fT

Double_t CbmHelix::fT[6]
protected

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