#include <ElectronicsMap.h>
Public Member Functions | |
ElectronicsMap () | |
ElectronicsMap (ElectronicsMapType etype) | |
void | initialize (HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap) |
void | initialize (HcalElectronicsMap const *, ElectronicsMapType, filter::HashFilter const &) |
uint32_t | lookup (DetId const &) |
uint32_t | lookup (HcalDetId const &) |
uint32_t | lookup (HcalElectronicsId const &) |
void | print () |
~ElectronicsMap () | |
Private Types | |
typedef std::unordered_map< uint32_t, uint32_t > | EMapType |
Private Attributes | |
HcalElectronicsMap const * | _emap |
ElectronicsMapType | _etype |
EMapType | _ids |
Definition at line 32 of file ElectronicsMap.h.
|
private |
Definition at line 54 of file ElectronicsMap.h.
|
inline |
Definition at line 34 of file ElectronicsMap.h.
|
inline |
Definition at line 36 of file ElectronicsMap.h.
|
inline |
Definition at line 37 of file ElectronicsMap.h.
void hcaldqm::electronicsmap::ElectronicsMap::initialize | ( | HcalElectronicsMap const * | emap, |
ElectronicsMapType | etype = fHcalElectronicsMap |
||
) |
Definition at line 6 of file ElectronicsMap.cc.
References _emap, _etype, _ids, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allElectronicsIdTrigger(), HcalElectronicsMap::allTriggerId(), runTauDisplay::eid, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::electronicsmap::fE2DHashMap, hcaldqm::electronicsmap::fE2THashMap, hcaldqm::electronicsmap::fHcalElectronicsMap, hcaldqm::electronicsmap::fT2EHashMap, cond::hash, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HcalElectronicsMap::lookup(), HcalElectronicsMap::lookupTrigger(), and DetId::rawId().
Referenced by hcaldqm::RawRunSummary::beginRun(), hcaldqm::DigiRunSummary::beginRun(), PedestalTask::bookHistograms(), FCDTask::bookHistograms(), TPTask::bookHistograms(), LEDTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), LaserTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::TPRunSummary::endJob(), and hcaldqm::RecoRunSummary::endJob().
void hcaldqm::electronicsmap::ElectronicsMap::initialize | ( | HcalElectronicsMap const * | emap, |
ElectronicsMapType | etype, | ||
filter::HashFilter const & | filter | ||
) |
Definition at line 64 of file ElectronicsMap.cc.
References _emap, _etype, _ids, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allElectronicsIdTrigger(), hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::electronicsmap::fE2DHashMap, hcaldqm::electronicsmap::fE2THashMap, hcaldqm::electronicsmap::fHcalElectronicsMap, ALCARECOTkAlBeamHalo_cff::filter, hcaldqm::electronicsmap::fT2EHashMap, cond::hash, hcaldqm::hashfunctions::hash_EChannel(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HcalElectronicsMap::lookup(), HcalElectronicsMap::lookupTrigger(), and DetId::rawId().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | DetId const & | id | ) |
Definition at line 122 of file ElectronicsMap.cc.
References _emap, _etype, _ids, hcaldqm::electronicsmap::fHcalElectronicsMap, cond::hash, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HcalElectronicsMap::lookup(), and DetId::rawId().
Referenced by PedestalTask::_dump(), LEDTask::_dump(), LaserTask::_dump(), QIE10Task::_process(), QIE11Task::_process(), TPTask::_process(), RawTask::_process(), LEDTask::_process(), RecHitTask::_process(), DigiTask::_process(), LaserTask::_process(), FCDTask::analyze(), hcaldqm::DigiRunSummary::beginRun(), PedestalTask::bookHistograms(), FCDTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), and hcaldqm::DigiRunSummary::endLuminosityBlock().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | HcalDetId const & | id | ) |
Definition at line 133 of file ElectronicsMap.cc.
References _emap, _etype, _ids, hcaldqm::electronicsmap::fHcalElectronicsMap, cond::hash, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HcalElectronicsMap::lookup(), and DetId::rawId().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | HcalElectronicsId const & | id | ) |
Definition at line 146 of file ElectronicsMap.cc.
References _emap, _etype, _ids, hcaldqm::electronicsmap::fHcalElectronicsMap, cond::hash, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HcalElectronicsMap::lookup(), and DetId::rawId().
void hcaldqm::electronicsmap::ElectronicsMap::print | ( | void | ) |
Definition at line 157 of file ElectronicsMap.cc.
References _etype, _ids, gather_cfg::cout, TauDecayModes::dec, and findQualityFiles::v.
|
private |
Definition at line 58 of file ElectronicsMap.h.
Referenced by initialize(), and lookup().
|
private |
Definition at line 51 of file ElectronicsMap.h.
Referenced by initialize(), lookup(), and print().
|
private |
Definition at line 55 of file ElectronicsMap.h.
Referenced by initialize(), lookup(), and print().