7 #ifndef LARCOREALG_GEOMETRY_AUXDETREADOUTGEOM_H 8 #define LARCOREALG_GEOMETRY_AUXDETREADOUTGEOM_H 22 using chanAndSV = std::pair<std::uint32_t, std::size_t>;
27 std::map<std::size_t, std::vector<chanAndSV>>
48 std::size_t NearestAuxDet(
Point_t const& point,
49 std::vector<AuxDetGeo>
const& auxDets,
51 bool throwIfAbsent =
true)
const;
52 std::size_t NearestSensitiveAuxDet(
Point_t const& point,
53 std::vector<AuxDetGeo>
const& auxDets,
55 bool throwIfAbsent =
true)
const;
56 std::pair<std::size_t, std::size_t> ChannelToSensitiveAuxDet(std::string
const& detName,
57 std::uint32_t channel)
const;
59 Point_t AuxDetChannelToPosition(std::uint32_t channel,
60 std::string
const& auxDetName,
61 std::vector<AuxDetGeo>
const& auxDets)
const;
64 std::size_t DetNameToAuxDet(std::string
const& detName)
const;
68 std::map<std::size_t, std::vector<chanAndSV>>
73 #endif // LARCOREALG_GEOMETRY_AUXDETREADOUTGEOM_H std::map< std::string, std::size_t > NameToADGeo
map the names to the AuxDetGeo index
std::map< std::size_t, std::string > ADGeoToName
map the AuxDetGeo index to the name
std::map< std::size_t, std::vector< chanAndSV > > fADGeoToChannelAndSV
Definitions of geometry vector data types.
std::pair< std::uint32_t, std::size_t > chanAndSV
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
std::map< std::string, std::size_t > fNameToADGeo
map the names to the AuxDetGeo index
std::map< std::size_t, std::string > fADGeoToName
map the AuxDetGeo index to the name
std::map< std::size_t, std::vector< chanAndSV > > ADGeoToChannelAndSV