18 #include "TGeoVolume.h" 
   21 #include "messagefacility/MessageLogger/MessageLogger.h" 
   32     : fTrans(std::move(trans))
 
   33     , fTotalVolume(node.GetVolume())
 
   36     MF_LOG_DEBUG(
"Geometry") << 
"detector sensitive total  volume is " << fTotalVolume->GetName();
 
   78     (std::string indent , 
unsigned int verbosity ) 
const 
   80     std::ostringstream sstr;
 
   81     PrintAuxDetInfo(sstr, indent, verbosity);
 
   90     if( volName.find(
"Trap") != std::string::npos ) {
 
double fLength
length of volume, along z direction in local 
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space. 
double Length_t
Type used for coordinates and distances. They are measured in centimeters. 
Encapsulate the geometry of the sensitive portion of an auxiliary detector. 
geo::Vector_t GetNormalVector() const 
Returns the unit normal vector to the detector. 
double fHalfWidth1
1st half width of volume, at -z/2 in local coordinates 
double fHalfHeight
half height of volume 
AuxDetSensitiveGeo(TGeoNode const &node, geo::TransformationMatrix &&trans)
void InitShapeSize()
Extracts the size of the detector from the geometry information. 
const TGeoVolume * fTotalVolume
Total volume of AuxDet, called vol*. 
Utilities to extend the interface of geometry vectors. 
geo::Length_t DistanceToPoint(geo::Point_t const &point) const 
Returns the distance of point from the center of the detector. 
auto norm(Vector const &v)
Return norm of the specified vector. 
std::string AuxDetInfo(std::string indent="", unsigned int verbosity=1) const 
Returns a string with auxiliary sensitive detector information. 
geo::Point3DBase_t< AuxDetSensitiveGeoCoordinatesTag > LocalPoint_t
Type of points in the local GDML auxiliary detector frame. 
double fHalfWidth2
2nd half width (width1==width2 for boxes), at +z/2 
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space. 
GENVECTOR_CONSTEXPR::geo::Point_t makePointFromCoords(Coords &&coords)
Creates a geo::Point_t from its coordinates (see makeFromCoords()). 
void GetCenter(double *xyz, double localz=0.0) const 
Return the center position of an AuxDet. 
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry. 
geo::Point_t toWorldCoords(LocalPoint_t const &local) const 
Transform point from local auxiliary detector frame to world frame.