CbmRoot
CbmLitTGeoNavigator Class Reference

#include <CbmLitTGeoNavigator.h>

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

Public Member Functions

 CbmLitTGeoNavigator ()
 
virtual ~CbmLitTGeoNavigator ()
 
LitStatus FindIntersections (const CbmLitTrackParam *par, litfloat zOut, std::vector< CbmLitMaterialInfo > &inter)
 Find intersection points with detector material in a certain interval. More...
 

Private Member Functions

void InitTrack (const CbmLitTrackParam *par, Bool_t downstream) const
 
CbmLitMaterialInfo MakeStep (litfloat step=0.) const
 
litfloat CalcLength (litfloat zOut) const
 

Detailed Description

Definition at line 19 of file CbmLitTGeoNavigator.h.

Constructor & Destructor Documentation

◆ CbmLitTGeoNavigator()

CbmLitTGeoNavigator::CbmLitTGeoNavigator ( )

◆ ~CbmLitTGeoNavigator()

CbmLitTGeoNavigator::~CbmLitTGeoNavigator ( )
virtual

Definition at line 21 of file CbmLitTGeoNavigator.cxx.

Member Function Documentation

◆ CalcLength()

litfloat CbmLitTGeoNavigator::CalcLength ( litfloat  zOut) const
private

Definition at line 110 of file CbmLitTGeoNavigator.cxx.

References sqrt().

Referenced by FindIntersections().

◆ FindIntersections()

LitStatus CbmLitTGeoNavigator::FindIntersections ( const CbmLitTrackParam par,
litfloat  zOut,
std::vector< CbmLitMaterialInfo > &  inter 
)
virtual

Find intersection points with detector material in a certain interval.

Parameters
[in]parInput track parameter. Define initial direction and Z position.
[in]zOutOutput Z position [cm].
[out]interOutput vector with crossed materials.
Returns
Status code.

Implements CbmLitGeoNavigator.

Definition at line 24 of file CbmLitTGeoNavigator.cxx.

References CalcLength(), CbmLitTrackParam::GetZ(), CbmLitMaterialInfo::GetZpos(), InitTrack(), kLITERROR, kLITSUCCESS, MakeStep(), CbmLitMaterialInfo::SetLength(), and CbmLitMaterialInfo::SetZpos().

◆ InitTrack()

void CbmLitTGeoNavigator::InitTrack ( const CbmLitTrackParam par,
Bool_t  downstream 
) const
private

◆ MakeStep()


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