1 #ifndef GEAR_TGeoGEARDISTANCEPROPERTIES_H
2 #define GEAR_TGeoGEARDISTANCEPROPERTIES_H 1
8 #include "gear/GearDistanceProperties.h"
64 TGeoManager *_tgeomanager;
72 mutable std::vector<std::string> _volNames;
73 mutable std::vector<std::string> _matNames;
74 mutable std::vector<double> _distance;
75 mutable std::vector<double> _intLen;
76 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.
NotImplementedException used for features that are not implemented.
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...
OutsideGeometryException used if user asks for info from geometry tree where no node is defined...
virtual double getBdL(const Vector3D &p0, const Vector3D &p1) const
The integrated magnetic field along the distance between [p0,p1] in Tesla*mm.