8 #ifndef GEO_AuxDetGeo_H 9 #define GEO_AuxDetGeo_H 11 #include "TGeoVolume.h" 13 #include "Geometry/AuxDetSensitiveGeo.h" 22 class AuxDetGeoObjectSorter;
26 AuxDetGeo(std::vector<const TGeoNode*>& path,
31 double localz=0.0)
const;
43 void LocalToWorld (
const double* local,
double* world)
const;
45 void WorldToLocal (
const double* world,
double* local)
const;
const TGeoVolume * TotalVolume() const
const TGeoVolume * fTotalVolume
Total volume of AuxDet, called vol*.
double fHalfWidth1
1st half width of volume, at -z/2 in local coordinates
std::vector< AuxDetSensitiveGeo * > fSensitive
sensitive volumes in the detector
double HalfHeight() const
AuxDetSensitiveGeo const & SensitiveVolume(size_t sv) const
double fHalfHeight
half height of volume
void LocalToWorldVect(const double *local, double *world) const
void GetNormalVector(double *xyzDir) const
TGeoHMatrix * fGeoMatrix
Transformation matrix to world frame.
double HalfWidth2() const
double DistanceToPoint(double *xyz) const
size_t FindSensitiveVolume(double const worldLoc[3]) const
void LocalToWorld(const double *local, double *world) const
void FindAuxDetSensitive(std::vector< const TGeoNode * > &path, unsigned int depth)
General GArSoft Utilities.
void SortSubVolumes(geo::AuxDetGeoObjectSorter const &sorter)
void WorldToLocalVect(const double *world, double *local) const
double HalfWidth1() const
void WorldToLocal(const double *world, double *local) const
AuxDetSensitiveGeo const & PositionToSensitiveVolume(double const worldLoc[3], size_t &sv) const
AuxDetGeo(std::vector< const TGeoNode * > &path, int depth)
LArSoft geometry interface.
void MakeAuxDetSensitive(std::vector< const TGeoNode * > &path, int depth)
size_t NSensitiveVolume() const
double fLength
length of volume, along z direction in local
double fHalfWidth2
2nd half width (width1==width2 for boxes), at +z/2
void GetCenter(double *xyz, double localz=0.0) const