8 #ifndef GEO_AUXDETGEOMETRYCORE_H 9 #define GEO_AUXDETGEOMETRYCORE_H 31 class AuxDetChannelMapAlg;
32 class AuxDetSensitiveGeo;
153 unsigned int NAuxDets()
const {
return AuxDets().size(); }
161 unsigned int NAuxDetSensitive(
size_t const& aid)
const;
168 std::vector<AuxDetGeo>
const&
AuxDetGeoVec()
const {
return AuxDets(); }
178 AuxDetGeo const& AuxDet(
unsigned int const ad = 0)
const;
187 unsigned int FindAuxDetAtPosition(
double const worldLoc[3],
double tolerance = 0)
const;
196 void FindAuxDetSensitiveAtPosition(
double const worldLoc[3],
210 AuxDetGeo const& PositionToAuxDet(
double const worldLoc[3],
229 uint32_t PositionToAuxDetChannel(
double const worldLoc[3],
233 TVector3 AuxDetChannelToPosition(uint32_t
const&
channel,
238 uint32_t
const& channel)
const;
242 uint32_t
const& channel)
const;
294 void ApplyChannelMap(std::unique_ptr<geo::AuxDetChannelMapAlg> pChannelMap);
312 void ClearGeometry();
328 #endif // GEO_AUXDETGEOMETRYCORE_H
AuxDetGeometryData_t fGeoData
The detector description data.
std::vector< AuxDetGeo > AuxDetList_t
Type of list of auxiliary detectors.
std::string fDetectorName
Name of the detector.
std::string GDMLFile() const
Returns the full directory path to the GDML file source.
std::unique_ptr< const geo::AuxDetChannelMapAlg > fChannelMapAlg
Object containing the channel to wire mapping.
Description of geometry of one set of auxiliary detectors.
bool hasAuxDetChannelMap() const
Returns whether we have a channel map.
std::string ROOTFile() const
Returns the full directory path to the geometry file source.
unsigned int NAuxDets() const
Returns the number of auxiliary detectors.
AuxDetList_t & AuxDets()
Return the internal auxiliary detectors list.
Encapsulate the geometry of an auxiliary detector.
geo::AuxDetChannelMapAlg const * AuxDetChannelMap() const
Returns the object handling the channel map.
fhicl::ParameterSet fBuilderParameters
Configuration of geometry builder.
AuxDetList_t auxDets
The auxiliary detectors.
std::string fROOTfile
path to geometry file for geometry in GeometryCore
std::vector< AuxDetGeo > const & AuxDetGeoVec() const
Returns the full list of pointer to the auxiliary detectors.
std::string DetectorName() const
Returns a string with the name of the detector, as configured.
std::string fGDMLfile
path to geometry file used for Geant4 simulation
LArSoft geometry interface.
AuxDetGeometryData_t::AuxDetList_t AuxDetList_t
Type of list of auxiliary detectors.
AuxDetList_t const & AuxDets() const