8 #ifndef LARCOREALG_GEOMETRY_AUXDETGEOMETRYCORE_H 9 #define LARCOREALG_GEOMETRY_AUXDETGEOMETRYCORE_H 79 std::unique_ptr<AuxDetGeoObjectSorter> sorter =
nullptr,
80 std::unique_ptr<AuxDetInitializer> initializer =
nullptr);
147 std::string
const& auxDetName,
148 uint32_t channel)
const;
168 double tolerance = 0.)
const;
180 double tolerance = 0)
const;
196 std::unique_ptr<AuxDetGeoObjectSorter>
fSorter;
201 std::unique_ptr<AuxDetReadoutGeom const>
208 #endif // LARCOREALG_GEOMETRY_AUXDETGEOMETRYCORE_H AuxDetGeo const & AuxDet(std::size_t const ad=0) const
Returns the specified auxiliary detector.
std::size_t FindAuxDetAtPosition(Point_t const &point, double tolerance=0) const
Returns the index of the auxiliary detector at specified location.
std::string fDetectorName
std::size_t NAuxDetSensitive(size_t ad) const
Returns the number of sensitive components of auxiliary detector.
std::string const & DetectorName() const
Returns a string with the name of the detector, as configured.
Point_t AuxDetChannelToPosition(std::string const &auxDetName, uint32_t channel) const
std::string const & GDMLFile() const
Returns the full directory path to the GDML file source.
Description of physical geometry of one set of auxiliary detectors.
std::size_t NAuxDets() const
Returns the number of auxiliary detectors.
std::unique_ptr< AuxDetReadoutGeom const > fReadoutGeom
Object containing the channel to wire mapping.
bool hasAuxDetChannelMap() const
Returns whether we have a channel map.
Definitions of geometry vector data types.
std::unique_ptr< AuxDetGeoObjectSorter > fSorter
fhicl::ParameterSet fBuilderParameters
Configuration of geometry builder.
Encapsulate the geometry of an auxiliary detector.
void FindAuxDetSensitiveAtPosition(Point_t const &point, std::size_t &adg, std::size_t &sv, double tolerance=0) const
Fills the indices of the sensitive auxiliary detector at location.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
std::vector< AuxDetGeo > const & AuxDetGeoVec() const
Returns the full list of pointer to the auxiliary detectors.
std::vector< AuxDetGeo > fAuxDets
AuxDetGeometryCore(fhicl::ParameterSet const &pset, std::unique_ptr< AuxDetGeoObjectSorter > sorter=nullptr, std::unique_ptr< AuxDetInitializer > initializer=nullptr)
Initialize geometry from a given configuration.
std::string fGDMLfile
path to geometry file used for Geant4 simulation
AuxDetGeo const & PositionToAuxDet(Point_t const &point, double tolerance=0.) const
Returns the auxiliary detector at specified location.
AuxDetGeometryCore & operator=(AuxDetGeometryCore const &)=delete
Interface to auxiliary-detector geometry for wire readouts. .
std::unique_ptr< AuxDetInitializer > fInitializer
AuxDetSensitiveGeo const & ChannelToAuxDetSensitive(std::string const &auxDetName, uint32_t channel) const