CbmRoot
|
#include <CbmLitTGeoNavigator.h>
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 |
Definition at line 19 of file CbmLitTGeoNavigator.h.
CbmLitTGeoNavigator::CbmLitTGeoNavigator | ( | ) |
|
virtual |
Definition at line 21 of file CbmLitTGeoNavigator.cxx.
Definition at line 110 of file CbmLitTGeoNavigator.cxx.
References sqrt().
Referenced by FindIntersections().
|
virtual |
Find intersection points with detector material in a certain interval.
[in] | par | Input track parameter. Define initial direction and Z position. |
[in] | zOut | Output Z position [cm]. |
[out] | inter | Output vector with crossed materials. |
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().
|
private |
Definition at line 73 of file CbmLitTGeoNavigator.cxx.
References CbmLitTrackParam::GetDirCos(), CbmLitTrackParam::GetX(), CbmLitTrackParam::GetY(), and CbmLitTrackParam::GetZ().
Referenced by FindIntersections().
|
private |
Definition at line 86 of file CbmLitTGeoNavigator.cxx.
References lit::CbmLitDefaultSettings::MAXIMUM_TGEO_NAVIGATION_DISTANCE, CbmLitMaterialInfo::SetA(), CbmLitMaterialInfo::SetLength(), CbmLitMaterialInfo::SetName(), CbmLitMaterialInfo::SetRho(), CbmLitMaterialInfo::SetRL(), CbmLitMaterialInfo::SetZ(), and CbmLitMaterialInfo::SetZpos().
Referenced by FindIntersections().