Public Member Functions | |
BeamlineChannelMap (fhicl::ParameterSet const &pset) | |
BeamlineChannelMap (fhicl::ParameterSet const &pset, art::ActivityRegistry &) | |
bool | ActiveDigitChannel (unsigned int channel) const |
Enquire whether this online digitizer channel is active. More... | |
SystemID | DigitSystem (unsigned int channel) const |
Offline SystemID for this online digitizer channel. More... | |
DetectorID | DigitDetector (unsigned int channel) const |
Offline DetectorID for this online digitizer channel. More... | |
ChannelID | DigitChannel (unsigned int channel) const |
Offline ChannelID for this online digitizer channel. More... | |
unsigned int | OnlineDigitChannel (ChannelID channel) const |
Online digiziter channel number for this offline ChannelID. More... | |
DetectorID | TrigDetector () const |
Offline DetectorID for trigger. More... | |
DetectorID | WCDetector (unsigned int detector) const |
Offline DetectorID for this online WC detector. More... | |
std::vector< SystemID > | SystemIDs () const |
All the SystemIDs in this channel mapping. More... | |
std::vector< DetectorID > | DetectorIDs () const |
All the DetectorIDs in this channel mapping. More... | |
std::vector< ChannelID > | ChannelIDs () const |
All the ChannelIDs in this channel mapping. More... | |
Private Member Functions | |
void | FillBeamlineChannels (const fhicl::ParameterSet &map) |
Private Attributes | |
std::map< unsigned int, ChannelID > | fDigitOnlineToOffline |
std::map< ChannelID, unsigned int > | fDigitOfflineToOnline |
Definition at line 41 of file BeamlineChannelMap.h.
beamlineutil::BeamlineChannelMap::BeamlineChannelMap | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 23 of file BeamlineChannelMap_service.cc.
References FillBeamlineChannels(), and fhicl::ParameterSet::get().
beamlineutil::BeamlineChannelMap::BeamlineChannelMap | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | |||
) |
Definition at line 29 of file BeamlineChannelMap_service.cc.
bool beamlineutil::BeamlineChannelMap::ActiveDigitChannel | ( | unsigned int | channel | ) | const |
Enquire whether this online digitizer channel is active.
Definition at line 103 of file BeamlineChannelMap_service.cc.
References fDigitOnlineToOffline.
Referenced by daq2raw::BeamlineUnpack::UnpackDigits().
std::vector< ChannelID > beamlineutil::BeamlineChannelMap::ChannelIDs | ( | ) | const |
All the ChannelIDs in this channel mapping.
Definition at line 168 of file BeamlineChannelMap_service.cc.
References DEFINE_ART_SERVICE, and fDigitOnlineToOffline.
Referenced by beamlinereco::ToFSingleCounterAnalysis::beginJob(), and beamlinereco::ToFAnalysisMini::beginJob().
std::vector< DetectorID > beamlineutil::BeamlineChannelMap::DetectorIDs | ( | ) | const |
All the DetectorIDs in this channel mapping.
Definition at line 159 of file BeamlineChannelMap_service.cc.
References fDigitOnlineToOffline.
Offline ChannelID for this online digitizer channel.
Definition at line 124 of file BeamlineChannelMap_service.cc.
References fDigitOnlineToOffline.
Referenced by daq2raw::BeamlineUnpack::UnpackDigits().
DetectorID beamlineutil::BeamlineChannelMap::DigitDetector | ( | unsigned int | channel | ) | const |
Offline DetectorID for this online digitizer channel.
Definition at line 116 of file BeamlineChannelMap_service.cc.
References fDigitOnlineToOffline.
Offline SystemID for this online digitizer channel.
Definition at line 108 of file BeamlineChannelMap_service.cc.
References fDigitOnlineToOffline.
|
private |
Definition at line 34 of file BeamlineChannelMap_service.cc.
References beamlinegeo::Cherenkov, fDigitOfflineToOnline, fDigitOnlineToOffline, fhicl::ParameterSet::get(), beamlinegeo::MuonStack, beamlinegeo::Other, beamlinegeo::Paddle, beamlinegeo::ToF, beamlinegeo::ToFChannelNames, beamlinegeo::ToFCounterNames, and beamlinegeo::WCDigit.
Referenced by BeamlineChannelMap().
Online digiziter channel number for this offline ChannelID.
Definition at line 132 of file BeamlineChannelMap_service.cc.
References fDigitOfflineToOnline.
Referenced by novatb::TOFTimingResolution::analyze(), novatb::TriggerRateAna::analyze(), beamlinereco::ToFPositionRecoAnalysis::analyze(), novatb::BeamTuning::analyze(), beamlinereco::ToFAnalysisMini::beginJob(), beamlinereco::LEHitReco::produce(), and beamlinereco::CFDHitReco::produce().
std::vector< SystemID > beamlineutil::BeamlineChannelMap::SystemIDs | ( | ) | const |
All the SystemIDs in this channel mapping.
Definition at line 150 of file BeamlineChannelMap_service.cc.
References fDigitOnlineToOffline.
DetectorID beamlineutil::BeamlineChannelMap::TrigDetector | ( | ) | const |
Offline DetectorID for trigger.
Definition at line 145 of file BeamlineChannelMap_service.cc.
References beamlinegeo::Trigger.
Referenced by daq2raw::BeamlineUnpack::UnpackTrigger().
DetectorID beamlineutil::BeamlineChannelMap::WCDetector | ( | unsigned int | detector | ) | const |
Offline DetectorID for this online WC detector.
Definition at line 140 of file BeamlineChannelMap_service.cc.
References beamlinegeo::WC.
Referenced by daq2raw::BeamlineUnpack::UnpackWC().
Definition at line 82 of file BeamlineChannelMap.h.
Referenced by FillBeamlineChannels(), and OnlineDigitChannel().
Definition at line 81 of file BeamlineChannelMap.h.
Referenced by ActiveDigitChannel(), ChannelIDs(), DetectorIDs(), DigitChannel(), DigitDetector(), DigitSystem(), FillBeamlineChannels(), and SystemIDs().