CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual LitStatus Propagate (CbmLitTrackParam *par, litfloat zOut, int pdg, std::vector< litfloat > *F, litfloat *length)
 Track parameter propagation.
 

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 22 of file CbmLitTGeoTrackPropagator.h.

Constructor & Destructor Documentation

◆ CbmLitTGeoTrackPropagator()

CbmLitTGeoTrackPropagator::CbmLitTGeoTrackPropagator ( TrackExtrapolatorPtr extrapolator)

Definition at line 32 of file CbmLitTGeoTrackPropagator.cxx.

References fMaterial, and fNavigator.

◆ ~CbmLitTGeoTrackPropagator()

CbmLitTGeoTrackPropagator::~CbmLitTGeoTrackPropagator ( )
virtual

Definition at line 38 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 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 40 of file CbmLitTGeoTrackPropagator.cxx.

References Propagate().

Referenced by Propagate().

◆ UpdateF()

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

Definition at line 149 of file CbmLitTGeoTrackPropagator.cxx.

References Mult36().

Referenced by Propagate().

Member Data Documentation

◆ fExtrapolator

TrackExtrapolatorPtr CbmLitTGeoTrackPropagator::fExtrapolator
private

Definition at line 55 of file CbmLitTGeoTrackPropagator.h.

Referenced by Propagate().

◆ fMaterial

MaterialEffectsPtr CbmLitTGeoTrackPropagator::fMaterial
private

Definition at line 57 of file CbmLitTGeoTrackPropagator.h.

Referenced by CbmLitTGeoTrackPropagator(), and Propagate().

◆ fNavigator

GeoNavigatorPtr CbmLitTGeoTrackPropagator::fNavigator
private

Definition at line 56 of file CbmLitTGeoTrackPropagator.h.

Referenced by CbmLitTGeoTrackPropagator(), and Propagate().

◆ MAXIMUM_PROPAGATION_STEP_SIZE

litfloat CbmLitTGeoTrackPropagator::MAXIMUM_PROPAGATION_STEP_SIZE = 10.
static

Definition at line 40 of file CbmLitTGeoTrackPropagator.h.

Referenced by Propagate().


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