TGeo Implementation of the abstract interface that returns the (material) properties along a given distance between two points in in world coordinates. More...
#include <TGeoGearDistanceProperties.h>
Public Member Functions | |
TGeoGearDistanceProperties (const TGeoGearDistanceProperties &)=delete | |
TGeoGearDistanceProperties & | operator= (const TGeoGearDistanceProperties &)=delete |
TGeoGearDistanceProperties (TGeoManager *geoMgr) | |
virtual | ~TGeoGearDistanceProperties () |
Destructor. | |
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 a vector that will change after the next call to this method with different arguments or if the GearDistanceProperties object goes out of scope. More... | |
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 returned by getMaterialNames() - WARNING: this method returns a reference to a vector that will change after the next call to this method with different arguments or if the GearDistanceProperties object goes out of scope. More... | |
virtual const std::vector < std::string > | getVolumeNames (const Vector3D &p0, const Vector3D &p1) const |
List of traversed volumes by name. More... | |
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 double | getBdL (const Vector3D &p0, const Vector3D &p1) const |
The integrated magnetic field along the distance between [p0,p1] in Tesla*mm. | |
virtual double | getEdL (const Vector3D &p0, const Vector3D &p1) const |
The integrated electric field along the distance between [p0,p1] in mVolt. | |
Public Member Functions inherited from gear::GearDistanceProperties | |
virtual | ~GearDistanceProperties () |
Destructor. | |
Protected Member Functions | |
void | beamOn (const Vector3D &p0, const Vector3D &p1) const |
Protected Attributes | |
TGeoManager * | _tgeomanager = nullptr |
Vector3D | _p0 {} |
Vector3D | _p1 {} |
std::vector< std::string > | _volNames {} |
std::vector< std::string > | _matNames {} |
std::vector< double > | _distance {} |
std::vector< double > | _intLen {} |
std::vector< double > | _radLen {} |
TGeo Implementation of the abstract interface that returns the (material) properties along a given distance between two points in in world coordinates.
Definition at line 21 of file TGeoGearDistanceProperties.h.
|
virtual |
List of matrial names along the distance between [p0,p1]- WARNING: this method returns a reference to a vector that will change after the next call to this method with different arguments or if the GearDistanceProperties object goes out of scope.
List of matrial names along the distance between [p0,p1] .
It is the users responsibility to make a copy of that vector if needed.
Implements gear::GearDistanceProperties.
Definition at line 132 of file TGeoGearDistanceProperties.cc.
|
virtual |
List of matrial thicknesses in mm along the distance between [p0,p1] - runs parallel to the array returned by getMaterialNames() - WARNING: this method returns a reference to a vector that will change after the next call to this method with different arguments or if the GearDistanceProperties object goes out of scope.
List of matrial thicknesses in mm along the distance between [p0,p1] - runs parallel to the array returned by getMaterialNames().
It is the users responsibility to make a copy of that vector if needed.
Implements gear::GearDistanceProperties.
Definition at line 159 of file TGeoGearDistanceProperties.cc.
|
virtual |
List of traversed volumes by name.
List of volume names along the distance between [p0,p1] .
Definition at line 145 of file TGeoGearDistanceProperties.cc.