CbmRoot
CbmLitTGeoTrackPropagator Class Reference

#include <CbmLitTGeoTrackPropagator.h>

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

Public Member Functions

 CbmLitTGeoTrackPropagator (TrackExtrapolatorPtr extrapolator)
 
virtual ~CbmLitTGeoTrackPropagator ()
 
virtual LitStatus Propagate (const CbmLitTrackParam *parIn, CbmLitTrackParam *parOut, litfloat zOut, int pdg, std::vector< litfloat > *F, litfloat *length)
 Track parameter propagation. More...
 
virtual LitStatus Propagate (CbmLitTrackParam *par, litfloat zOut, int pdg, std::vector< litfloat > *F, litfloat *length)
 Track parameter propagation. More...
 

Static Public Attributes

static litfloat MAXIMUM_PROPAGATION_STEP_SIZE = 10.
 

Protected Member Functions

void UpdateF (std::vector< litfloat > &F, const std::vector< litfloat > &newF)
 
bool IsParCorrect (const CbmLitTrackParam *par)
 

Private Attributes

TrackExtrapolatorPtr fExtrapolator
 
GeoNavigatorPtr fNavigator
 
MaterialEffectsPtr fMaterial
 

Detailed Description

CbmLitTGeoTrackPropagator.h

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Since
2007
Version
1.0

The class performs track parameters propagation. The track propagation uses TGeoManager for the navigation.

Definition at line 18 of file CbmLitTGeoTrackPropagator.h.

Constructor & Destructor Documentation

◆ CbmLitTGeoTrackPropagator()

CbmLitTGeoTrackPropagator::CbmLitTGeoTrackPropagator ( TrackExtrapolatorPtr  extrapolator)

Definition at line 28 of file CbmLitTGeoTrackPropagator.cxx.

References fMaterial, and fNavigator.

◆ ~CbmLitTGeoTrackPropagator()

CbmLitTGeoTrackPropagator::~CbmLitTGeoTrackPropagator ( )
virtual

Definition at line 35 of file CbmLitTGeoTrackPropagator.cxx.

Member Function Documentation

◆ IsParCorrect()

bool CbmLitTGeoTrackPropagator::IsParCorrect ( const CbmLitTrackParam par)
protected

◆ Propagate() [1/2]

LitStatus CbmLitTGeoTrackPropagator::Propagate ( CbmLitTrackParam par,
litfloat  zOut,
int  pdg,
std::vector< litfloat > *  F,
litfloat length 
)
virtual

Track parameter propagation.

Parameters
[in,out]parPointer to initial and output track parameters.
[in]zOutZ position to propagate to [cm].
[in]pdgPDG code of particle.
[out]FOutput transport matrix. If F == NULL than transport matrix is not calculated.
[out]lengthLength of track segment.
Returns
Propagation status.

Implements CbmLitTrackPropagator.

Definition at line 47 of file CbmLitTGeoTrackPropagator.cxx.

References fabs(), fExtrapolator, fMaterial, fNavigator, CbmLitMaterialInfo::GetLength(), CbmLitTrackParam::GetZ(), CbmLitMaterialInfo::GetZpos(), IsParCorrect(), kLITERROR, kLITSUCCESS, MAXIMUM_PROPAGATION_STEP_SIZE, lit::CbmLitDefaultSettings::MINIMUM_PROPAGATION_DISTANCE, and UpdateF().

◆ Propagate() [2/2]

LitStatus CbmLitTGeoTrackPropagator::Propagate ( const CbmLitTrackParam parIn,
CbmLitTrackParam parOut,
litfloat  zOut,
int  pdg,
std::vector< litfloat > *  F,
litfloat length 
)
virtual

Track parameter propagation.

Parameters
[in]parInPointer to initial track parameters.
[out]parOutPointer to output track parameters.
[in]zOutZ position to propagate to [cm].
[in]pdgPDG code of particle.
[out]FOutput transport matrix. If F == NULL than transport matrix is not calculated.
[out]lengthLength of track segment.
Returns
Propagation status.

Implements CbmLitTrackPropagator.

Definition at line 37 of file CbmLitTGeoTrackPropagator.cxx.

◆ UpdateF()

void CbmLitTGeoTrackPropagator::UpdateF ( std::vector< litfloat > &  F,
const std::vector< litfloat > &  newF 
)
protected

Definition at line 141 of file CbmLitTGeoTrackPropagator.cxx.

References Mult36().

Referenced by Propagate().

Member Data Documentation

◆ fExtrapolator

TrackExtrapolatorPtr CbmLitTGeoTrackPropagator::fExtrapolator
private

Definition at line 59 of file CbmLitTGeoTrackPropagator.h.

Referenced by Propagate().

◆ fMaterial

MaterialEffectsPtr CbmLitTGeoTrackPropagator::fMaterial
private

Definition at line 61 of file CbmLitTGeoTrackPropagator.h.

Referenced by CbmLitTGeoTrackPropagator(), and Propagate().

◆ fNavigator

GeoNavigatorPtr CbmLitTGeoTrackPropagator::fNavigator
private

Definition at line 60 of file CbmLitTGeoTrackPropagator.h.

Referenced by CbmLitTGeoTrackPropagator(), and Propagate().

◆ MAXIMUM_PROPAGATION_STEP_SIZE

litfloat CbmLitTGeoTrackPropagator::MAXIMUM_PROPAGATION_STEP_SIZE = 10.
static

Definition at line 44 of file CbmLitTGeoTrackPropagator.h.

Referenced by Propagate().


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