7 #ifndef ICARUSCODE_DECODE_CHANNELMAPPING_ICARUSCHANNELMAPPROVIDER_H 
    8 #define ICARUSCODE_DECODE_CHANNELMAPPING_ICARUSCHANNELMAPPROVIDER_H 
   15 #include "fhiclcpp/ParameterSet.h" 
   16 #include "cetlib_except/exception.h" 
   24 namespace icarusDB { 
class ICARUSChannelMapProvider; }
 
   37     const std::string&                      
getCrateName(
const unsigned int)        
const override;
 
   42     bool                                    hasBoardID(
const unsigned int)          
const override;
 
   46     unsigned int                            getBoardSlot(
const unsigned int)        
const override;
 
   90       (
unsigned int fragmentID) 
const;
 
   97 #endif // ICARUSCODE_DECODE_CHANNELMAPPING_ICARUSCHANNELMAPPROVIDER_H 
bool hasBoardID(const unsigned int) const override
 
std::vector< ChannelPlanePair > ChannelPlanePairVec
 
std::vector< DigitizerChannelChannelIDPair > DigitizerChannelChannelIDPairVec
 
std::vector< unsigned int > ReadoutIDVec
 
const ChannelPlanePairVec & getChannelPlanePair(const unsigned int) const override
 
static constexpr unsigned int DBkeyToPMTfragmentID(unsigned int DBkey)
Returns the PMT fragment ID for the specified channel mapping database key. 
 
This provides an art tool interface definition for tools handle the channel mapping The idea is to be...
 
unsigned int nTPCboardIDs() const override
Returns the number of TPC board IDs known to the service. 
 
IChannelMapping::SideCRTChannelToCalibrationMap fSideCRTChannelToCalibrationMap
 
IChannelMapping::TopCRTHWtoSimMacAddressPairMap fTopCRTHWtoSimMacAddressPairMap
 
std::map< unsigned int, CRTHWtoSimMacAddressPair > CRTChannelIDToHWtoSimMacAddressPairMap
 
DigitizerChannelChannelIDPairVec const * findPMTfragmentEntry(unsigned int fragmentID) const 
 
const ReadoutIDVec & getReadoutBoardVec(const unsigned int) const override
 
std::pair< double, double > getSideCRTCalibrationMap(int mac5, int chan) const override
Returns the Gain and Pedestal for Side CRT. 
 
const std::string & getCrateName(const unsigned int) const override
 
IChannelMapping::TPCFragmentIDToReadoutIDMap fFragmentToReadoutMap
 
std::map< unsigned int, SlotChannelVecPair > TPCReadoutBoardToChannelMap
 
unsigned int nPMTfragmentIDs() const override
Returns the number of PMT fragment IDs known to the service. 
 
ICARUSChannelMapProvider(const fhicl::ParameterSet &pset)
 
unsigned int nTPCfragmentIDs() const override
Returns the number of TPC fragment IDs known to the service. 
 
const TPCReadoutBoardToChannelMap & getReadoutBoardToChannelMap() const override
 
const DigitizerChannelChannelIDPairVec & getChannelIDPairVec(const unsigned int) const override
 
bool hasFragmentID(const unsigned int) const override
 
std::map< SideCRTMac5ToChannelPair, SideCRTGainToPedPair > SideCRTChannelToCalibrationMap
 
std::map< unsigned int, SlotChannelVecPair > TPCReadoutBoardToChannelMap
 
static constexpr unsigned int PMTfragmentIDtoDBkey(unsigned int fragmentID)
Returns the channel mapping database key for the specified PMT fragment ID. 
 
unsigned int getSimMacAddress(const unsigned int) const override
 
std::map< unsigned int, CrateNameReadoutIDPair > TPCFragmentIDToReadoutIDMap
 
std::unique_ptr< IChannelMapping > fChannelMappingTool
 
std::map< size_t, DigitizerChannelChannelIDPairVec > FragmentToDigitizerChannelMap
 
unsigned int getBoardSlot(const unsigned int) const override
 
IChannelMapping::CRTChannelIDToHWtoSimMacAddressPairMap fCRTChannelIDToHWtoSimMacAddressPairMap
 
IChannelMapping::FragmentToDigitizerChannelMap fFragmentToDigitizerMap
 
bool hasPMTDigitizerID(const unsigned int) const override
 
std::map< unsigned int, unsigned int > TopCRTHWtoSimMacAddressPairMap
 
unsigned int gettopSimMacAddress(const unsigned int) const override
 
IChannelMapping::TPCReadoutBoardToChannelMap fReadoutBoardToChannelMap