CbmRoot
Loading...
Searching...
No Matches
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 Build (const TVector3 &pos, const TVector3 &mom, Double_t charge)
 
void PrintInfo () const
 
Double_t * GetTrack ()
 
TVector3 Eval (Double_t z)
 
TVector3 Eval (Double_t z, TVector3 &mom)
 
virtual ~CbmHelix ()
 

Static Public Member Functions

static void SetField (Hal::MagField *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 ExtrapolateLine (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 fTb [15]
 

Static Protected Attributes

static Hal::MagField * fgField = NULL
 

Detailed Description

Definition at line 22 of file CbmHelix.h.

Constructor & Destructor Documentation

◆ CbmHelix() [1/2]

CbmHelix::CbmHelix ( )

Definition at line 13 of file CbmHelix.cxx.

◆ CbmHelix() [2/2]

CbmHelix::CbmHelix ( const CbmHelix & other)

Definition at line 71 of file CbmHelix.cxx.

References fT, and fTb.

◆ ~CbmHelix()

CbmHelix::~CbmHelix ( )
virtual

Definition at line 69 of file CbmHelix.cxx.

Member Function Documentation

◆ Build() [1/4]

void CbmHelix::Build ( const CbmGlobalTrack * tr)

Definition at line 15 of file CbmHelix.cxx.

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

◆ Build() [2/4]

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/4]

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

Definition at line 44 of file CbmHelix.h.

References SetParameters().

Referenced by HalCbmTrack::BuildHelix().

◆ Build() [4/4]

void CbmHelix::Build ( const TVector3 & pos,
const TVector3 & mom,
Double_t charge )

Definition at line 58 of file CbmHelix.cxx.

References fTb, and pos.

◆ Eval() [1/2]

◆ Eval() [2/2]

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

Definition at line 37 of file CbmHelix.cxx.

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

◆ ExtrapolateALight()

Int_t CbmHelix::ExtrapolateALight ( Double_t z_out)
protected

Definition at line 128 of file CbmHelix.cxx.

References fgField, fT, Qp(), sqrt(), x, and y.

Referenced by Propagate().

◆ ExtrapolateLine()

void CbmHelix::ExtrapolateLine ( Double_t z_out)
protected

Definition at line 119 of file CbmHelix.cxx.

References fT.

Referenced by Propagate().

◆ GetTrack()

Double_t * CbmHelix::GetTrack ( )
inline

Definition at line 55 of file CbmHelix.h.

References fT.

Referenced by Eval(), and Eval().

◆ indexS()

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

Definition at line 33 of file CbmHelix.h.

◆ operator=()

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

Definition at line 79 of file CbmHelix.cxx.

References fT, and fTb.

◆ PrintInfo()

void CbmHelix::PrintInfo ( ) const
inline

Definition at line 48 of file CbmHelix.h.

References fT, and fTb.

◆ Propagate()

Int_t CbmHelix::Propagate ( Double_t Z)
protected

Definition at line 89 of file CbmHelix.cxx.

References ExtrapolateALight(), ExtrapolateLine(), fT, and fTb.

Referenced by Eval(), and Eval().

◆ Qp()

Double_t CbmHelix::Qp ( ) const
inlineprotected

Definition at line 25 of file CbmHelix.h.

References fT.

Referenced by Eval(), and ExtrapolateALight().

◆ SetField()

static void CbmHelix::SetField ( Hal::MagField * field)
inlinestatic

Definition at line 41 of file CbmHelix.h.

References fgField.

Referenced by HalCbmAnalysisManager::Init(), and HalCbmTaskManager::Init().

◆ SetParameters()

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

Definition at line 48 of file CbmHelix.cxx.

References fTb.

Referenced by Build(), Build(), and Build().

◆ SetQp()

void CbmHelix::SetQp ( Double_t qp)
inlineprotected

Definition at line 26 of file CbmHelix.h.

References fT.

◆ Tx()

Double_t CbmHelix::Tx ( ) const
inlineprotected

Definition at line 30 of file CbmHelix.h.

References fT.

Referenced by Eval().

◆ Ty()

Double_t CbmHelix::Ty ( ) const
inlineprotected

Definition at line 31 of file CbmHelix.h.

References fT.

Referenced by Eval().

◆ X()

Double_t CbmHelix::X ( ) const
inlineprotected

Definition at line 27 of file CbmHelix.h.

References fT.

Referenced by HalCbmHbtTrack::CopyData().

◆ Y()

Double_t CbmHelix::Y ( ) const
inlineprotected

Definition at line 28 of file CbmHelix.h.

References fT.

◆ Z()

Double_t CbmHelix::Z ( ) const
inlineprotected

Definition at line 29 of file CbmHelix.h.

References fT.

Member Data Documentation

◆ fgField

Hal::MagField * CbmHelix::fgField = NULL
staticprotected

Definition at line 32 of file CbmHelix.h.

Referenced by ExtrapolateALight(), and SetField().

◆ fT

Double_t CbmHelix::fT[6]
protected

◆ fTb

Double_t CbmHelix::fTb[15]
protected

Definition at line 24 of file CbmHelix.h.

Referenced by Build(), CbmHelix(), operator=(), PrintInfo(), Propagate(), and SetParameters().


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