ChannelMapPostGres class definiton. More...
Public Member Functions | |
ChannelMapPostGres (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
~ChannelMapPostGres () | |
Destructor. More... | |
virtual int | BuildTPCFragmentIDToReadoutIDMap (TPCFragmentIDToReadoutIDMap &) const override |
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... | |
virtual int | BuildTPCReadoutBoardToChannelMap (TPCReadoutBoardToChannelMap &) const override |
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... | |
virtual int | BuildFragmentToDigitizerChannelMap (FragmentToDigitizerChannelMap &) const override |
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... | |
virtual int | BuildCRTChannelIDToHWtoSimMacAddressPairMap (CRTChannelIDToHWtoSimMacAddressPairMap &) const override |
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... | |
virtual int | BuildTopCRTHWtoSimMacAddressPairMap (TopCRTHWtoSimMacAddressPairMap &) const override |
Top CRT harware mac5 to software mac5 relation. More... | |
virtual int | BuildSideCRTCalibrationMap (SideCRTChannelToCalibrationMap &) const override |
Define the returned data structures for a mapping between Side CRT Channels and their calibration values. Then define the function interface to fill these data structures. More... | |
Public Member Functions inherited from icarusDB::IChannelMapping | |
virtual | ~IChannelMapping () noexcept=default |
Virtual Destructor. More... | |
Private Member Functions | |
int | GetDataset (const std::string &, const std::string &, const std::string &, Dataset &) const |
int | GetCRTCaldata (const std::string &, const std::string &, Dataset &) const |
Private Attributes | |
uint32_t | fNothing |
Additional Inherited Members | |
Public Types inherited from icarusDB::IChannelMapping | |
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 > |
ChannelMapPostGres class definiton.
Definition at line 34 of file ChannelMapPostGres_tool.cc.
|
explicit |
icarusDB::ChannelMapPostGres::~ChannelMapPostGres | ( | ) |
|
overridevirtual |
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.
Implements icarusDB::IChannelMapping.
Definition at line 399 of file ChannelMapPostGres_tool.cc.
|
overridevirtual |
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.
Implements icarusDB::IChannelMapping.
Definition at line 352 of file ChannelMapPostGres_tool.cc.
|
overridevirtual |
Define the returned data structures for a mapping between Side CRT Channels and their calibration values. Then define the function interface to fill these data structures.
Accesing the Side CRT charge calibration from the postgresql database.
Implements icarusDB::IChannelMapping.
Definition at line 482 of file ChannelMapPostGres_tool.cc.
|
overridevirtual |
Top CRT harware mac5 to software mac5 relation.
Implements icarusDB::IChannelMapping.
Definition at line 441 of file ChannelMapPostGres_tool.cc.
|
overridevirtual |
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.
Implements icarusDB::IChannelMapping.
Definition at line 154 of file ChannelMapPostGres_tool.cc.
|
overridevirtual |
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.
Implements icarusDB::IChannelMapping.
Definition at line 303 of file ChannelMapPostGres_tool.cc.
|
private |
Definition at line 132 of file ChannelMapPostGres_tool.cc.
|
private |
Definition at line 114 of file ChannelMapPostGres_tool.cc.
|
private |
Definition at line 90 of file ChannelMapPostGres_tool.cc.