1 #ifndef GEAR_TGeoGEARDISTANCEPROPERTIES_H
2 #define GEAR_TGeoGEARDISTANCEPROPERTIES_H 1
8 #include "gear/GearDistanceProperties.h"
68 TGeoManager *_tgeomanager = nullptr ;
71 mutable Vector3D _p1{};
76 mutable std::vector<std::string> _volNames{};
77 mutable std::vector<std::string> _matNames{};
78 mutable std::vector<double> _distance{};
79 mutable std::vector<double> _intLen{};
80 mutable std::vector<double> _radLen{};
Abstract interface for a class that returns the (material) properties along a given distance between ...
virtual double getEdL(const Vector3D &p0, const Vector3D &p1) const
The integrated electric field along the distance between [p0,p1] in mVolt.
virtual double getNRadlen(const Vector3D &p0, const Vector3D &p1) const
The number of radiation lengths along the distance between [p0,p1] .
virtual double getNIntlen(const Vector3D &p0, const Vector3D &p1) const
The number of interaction lengths along the distance between [p0,p1] .
virtual const std::vector< std::string > & getMaterialNames(const Vector3D &p0, const Vector3D &p1) const
List of matrial names along the distance between [p0,p1]- WARNING: this method returns a reference to...
TGeo Implementation of the abstract interface that returns the (material) properties along a given di...
virtual const std::vector< std::string > getVolumeNames(const Vector3D &p0, const Vector3D &p1) const
List of traversed volumes by name.
Simple three dimensional vector providing the components for cartesian, cylindrical and spherical coo...
virtual ~TGeoGearDistanceProperties()
Destructor.
virtual const std::vector< double > & getMaterialThicknesses(const Vector3D &p0, const Vector3D &p1) const
List of matrial thicknesses in mm along the distance between [p0,p1] - runs parallel to the array ret...
virtual double getBdL(const Vector3D &p0, const Vector3D &p1) const
The integrated magnetic field along the distance between [p0,p1] in Tesla*mm.