15 #ifndef geo_ProtoDUNEChannelMapAlgv8_H 16 #define geo_ProtoDUNEChannelMapAlgv8_H 19 #include "cetlib_except/exception.h" 50 {
return fOpDet.count(opChannel); }
62 std::map<Index, Index>
fSSP;
Index MaxOpChannel(Index NOpDets) const override
Returns the number of optical channels contained in some detectors.
std::map< Index, Index > fSSPChOne
std::map< Index, Index > fHWChannel
std::map< Index, Index > fOpDet
Classes identifying readout-related concepts.
Index NOpChannels(Index NOpDets) const override
Returns the number of optical channels contained in some detectors.
std::map< Index, Index > fSSP
Index NOpHardwareChannels(Index opDet) const override
Returns the number of channels in the specified optical detectors.
void PrintChannelMaps() const
Index OpDetFromOpChannel(Index opChannel) const override
Returns the optical detector the specified optical channel belongs.
bool IsValidOpChannel(Index opChannel, Index) const override
Returns whether the ID identifies a valid optical detector channel.
Interface to algorithm class for a specific detector channel mapping.
Index FirstSSPChFromOpDet(Index OpDet) const
Index OpChannel(Index detNum, Index channel) const override
Returns the channel ID of the specified hardware channel.
ProtoDUNEChannelMapAlgv8(const fhicl::ParameterSet &pset)
Interface to algorithm class for sorting geo::XXXGeo objects.
void Uninitialize() override
Deconfiguration: prepare for a following call of Initialize()
Index HardwareChannelFromOpChannel(Index opChannel) const override
Returns the hardware channel number of specified optical channel.
void Initialize(GeometryData_t const &geodata) override
Geometry initialisation.
Index SSPfromOpDet(Index opDet) const
Data in the geometry description.
Interface to algorithm class for a specific detector channel mapping.
Index OpChannelFromSSP(Index ssp, Index sspch) const
LArSoft geometry interface.