7 #ifndef GEO_AUXDETGEOMETRYCORE_H 8 #define GEO_AUXDETGEOMETRYCORE_H 39 class AuxDetSensitiveGeo;
40 class AuxDetGeometryCore;
163 unsigned int NAuxDets()
const {
return AuxDets().size(); }
171 unsigned int NAuxDetSensitive(
size_t const& aid)
const;
178 std::vector<AuxDetGeo*>
const&
AuxDetGeoVec()
const {
return AuxDets(); }
188 AuxDetGeo const& AuxDet(
unsigned int const ad = 0)
const;
197 unsigned int FindAuxDetAtPosition(
double const worldLoc[3])
const;
205 void FindAuxDetSensitiveAtPosition(
double const worldLoc[3],
217 AuxDetGeo const& PositionToAuxDet(
double const worldLoc[3],
218 unsigned int &ad)
const;
233 uint32_t PositionToAuxDetChannel(
double const worldLoc[3],
236 const TVector3 AuxDetChannelToPosition(uint32_t
const&
channel,
242 uint32_t
const& channel)
const;
246 uint32_t
const& channel)
const;
298 void ApplyChannelMap(std::shared_ptr<geo::seg::AuxDetChannelMapAlg> pChannelMap);
315 void FindAuxDet(std::vector<const TGeoNode*>& path,
unsigned int depth);
317 void MakeAuxDet(std::vector<const TGeoNode*>& path,
int depth);
320 void ClearGeometry();
335 #endif // GEO_AUXDETGEOMETRYCORE_H std::shared_ptr< const geo::seg::AuxDetChannelMapAlg > fChannelMapAlg
Object containing the channel to wire mapping.
std::string fGDMLfile
path to geometry file used for Geant4 simulation
geo::seg::AuxDetChannelMapAlg const * AuxDetChannelMap() const
Returns the object handling the channel map.
unsigned int NAuxDets() const
Returns the number of auxiliary detectors.
Data in the geometry description.
std::string GDMLFile() const
Returns the full directory path to the GDML file source.
AuxDetList_t & AuxDets()
Return the internal auxiliary detectors list.
std::vector< AuxDetGeo * > const & AuxDetGeoVec() const
Returns the full list of pointer to the auxiliary detectors.
AuxDetList_t const & AuxDets() const
AuxDetGeometryData_t::AuxDetList_t AuxDetList_t
Type of list of auxiliary detectors.
std::vector< AuxDetGeo * > AuxDetList_t
Type of list of auxiliary detectors.
AuxDetGeometryData_t fGeoData
The detector description data.
General GArSoft Utilities.
std::string fDetectorName
Name of the detector.
std::string ROOTFile() const
Returns the full directory path to the geometry file source.
bool hasAuxDetChannelMap() const
Returns whether we have a channel map.
std::string DetectorName() const
Returns a string with the name of the detector, as configured.
AuxDetList_t auxDets
The auxiliary detectors.
LArSoft geometry interface.
Description of geometry of one set of auxiliary detectors.
std::string fROOTfile
path to geometry file for geometry in GeometryCore