All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
icarusDB::IChannelMapping Class Referenceabstract

IChannelMapping interface class definiton. More...

#include <IChannelMapping.h>

Inheritance diagram for icarusDB::IChannelMapping:
icarusDB::ChannelMapPostGres icarusDB::ChannelMapSQLite

Public Types

using ReadoutIDVec = std::vector< unsigned int >
 Define the returned data structures for a mapping between TPC Fragment IDs and the related crate and readout information. Then define the function interface to fill these data structures. More...
 
using CrateNameReadoutIDPair = std::pair< std::string, ReadoutIDVec >
 
using TPCFragmentIDToReadoutIDMap = std::map< unsigned int, CrateNameReadoutIDPair >
 
using ChannelPlanePair = std::pair< unsigned int, unsigned int >
 Define the returned data structures for a mapping between TPC readout boards and the channel information Then define the function interface to fill these data structures. More...
 
using ChannelPlanePairVec = std::vector< ChannelPlanePair >
 
using SlotChannelVecPair = std::pair< unsigned int, ChannelPlanePairVec >
 
using TPCReadoutBoardToChannelMap = std::map< unsigned int, SlotChannelVecPair >
 
using DigitizerChannelChannelIDPair = std::pair< size_t, size_t >
 Define the returned data structures for a mapping between PMT Fragment IDs and the related crate and readout information. Then define the function interface to fill these data structures. More...
 
using DigitizerChannelChannelIDPairVec = std::vector< DigitizerChannelChannelIDPair >
 
using FragmentToDigitizerChannelMap = std::map< size_t, DigitizerChannelChannelIDPairVec >
 
using CRTHWtoSimMacAddressPair = std::pair< unsigned int, unsigned int >
 Define the returned data structures for a mapping between CRT hardware mac_address to the simulated mac_address. Then define the function interface to fill these data structures. More...
 
using CRTChannelIDToHWtoSimMacAddressPairMap = std::map< unsigned int, CRTHWtoSimMacAddressPair >
 
using TopCRTHWtoSimMacAddressPairMap = std::map< unsigned int, unsigned int >
 
using SideCRTMac5ToChannelPair = std::pair< unsigned int, unsigned int >
 
using SideCRTGainToPedPair = std::pair< double, double >
 
using SideCRTChannelToCalibrationMap = std::map< SideCRTMac5ToChannelPair, SideCRTGainToPedPair >
 

Public Member Functions

virtual ~IChannelMapping () noexcept=default
 Virtual Destructor. More...
 
virtual int BuildTPCFragmentIDToReadoutIDMap (TPCFragmentIDToReadoutIDMap &) const =0
 
virtual int BuildTPCReadoutBoardToChannelMap (TPCReadoutBoardToChannelMap &) const =0
 
virtual int BuildFragmentToDigitizerChannelMap (FragmentToDigitizerChannelMap &) const =0
 
virtual int BuildCRTChannelIDToHWtoSimMacAddressPairMap (CRTChannelIDToHWtoSimMacAddressPairMap &) const =0
 
virtual int BuildTopCRTHWtoSimMacAddressPairMap (TopCRTHWtoSimMacAddressPairMap &) const =0
 
virtual int BuildSideCRTCalibrationMap (SideCRTChannelToCalibrationMap &) const =0
 

Detailed Description

IChannelMapping interface class definiton.

Definition at line 23 of file IChannelMapping.h.

Member Typedef Documentation

using icarusDB::IChannelMapping::ChannelPlanePair = std::pair<unsigned int, unsigned int>

Define the returned data structures for a mapping between TPC readout boards and the channel information Then define the function interface to fill these data structures.

Definition at line 47 of file IChannelMapping.h.

Definition at line 48 of file IChannelMapping.h.

Definition at line 37 of file IChannelMapping.h.

Definition at line 72 of file IChannelMapping.h.

using icarusDB::IChannelMapping::CRTHWtoSimMacAddressPair = std::pair<unsigned int, unsigned int>

Define the returned data structures for a mapping between CRT hardware mac_address to the simulated mac_address. Then define the function interface to fill these data structures.

Definition at line 71 of file IChannelMapping.h.

Define the returned data structures for a mapping between PMT Fragment IDs and the related crate and readout information. Then define the function interface to fill these data structures.

Definition at line 59 of file IChannelMapping.h.

Definition at line 60 of file IChannelMapping.h.

Definition at line 61 of file IChannelMapping.h.

using icarusDB::IChannelMapping::ReadoutIDVec = std::vector<unsigned int>

Define the returned data structures for a mapping between TPC Fragment IDs and the related crate and readout information. Then define the function interface to fill these data structures.

Definition at line 36 of file IChannelMapping.h.

Definition at line 84 of file IChannelMapping.h.

using icarusDB::IChannelMapping::SideCRTGainToPedPair = std::pair<double, double>

Definition at line 83 of file IChannelMapping.h.

using icarusDB::IChannelMapping::SideCRTMac5ToChannelPair = std::pair<unsigned int, unsigned int>

Definition at line 82 of file IChannelMapping.h.

Definition at line 49 of file IChannelMapping.h.

using icarusDB::IChannelMapping::TopCRTHWtoSimMacAddressPairMap = std::map<unsigned int, unsigned int>

Definition at line 77 of file IChannelMapping.h.

Definition at line 38 of file IChannelMapping.h.

Definition at line 50 of file IChannelMapping.h.

Constructor & Destructor Documentation

virtual icarusDB::IChannelMapping::~IChannelMapping ( )
virtualdefaultnoexcept

Virtual Destructor.

Member Function Documentation

virtual int icarusDB::IChannelMapping::BuildCRTChannelIDToHWtoSimMacAddressPairMap ( CRTChannelIDToHWtoSimMacAddressPairMap ) const
pure virtual
virtual int icarusDB::IChannelMapping::BuildFragmentToDigitizerChannelMap ( FragmentToDigitizerChannelMap ) const
pure virtual
virtual int icarusDB::IChannelMapping::BuildSideCRTCalibrationMap ( SideCRTChannelToCalibrationMap ) const
pure virtual
virtual int icarusDB::IChannelMapping::BuildTopCRTHWtoSimMacAddressPairMap ( TopCRTHWtoSimMacAddressPairMap ) const
pure virtual
virtual int icarusDB::IChannelMapping::BuildTPCFragmentIDToReadoutIDMap ( TPCFragmentIDToReadoutIDMap ) const
pure virtual
virtual int icarusDB::IChannelMapping::BuildTPCReadoutBoardToChannelMap ( TPCReadoutBoardToChannelMap ) const
pure virtual

The documentation for this class was generated from the following file: