#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 (HcalElectronicsId const &) |
void | print () |
~ElectronicsMap () | |
Private Types | |
typedef boost::unordered_map < uint32_t, uint32_t > | EMapType |
Private Attributes | |
HcalElectronicsMap const * | _emap |
ElectronicsMapType | _etype |
EMapType | _ids |
Definition at line 37 of file ElectronicsMap.h.
|
private |
Definition at line 66 of file ElectronicsMap.h.
|
inline |
Definition at line 40 of file ElectronicsMap.h.
|
inline |
Definition at line 44 of file ElectronicsMap.h.
|
inline |
Definition at line 47 of file ElectronicsMap.h.
void hcaldqm::electronicsmap::ElectronicsMap::initialize | ( | HcalElectronicsMap const * | emap, |
ElectronicsMapType | etype = fHcalElectronicsMap |
||
) |
Definition at line 8 of file ElectronicsMap.cc.
References _emap, _etype, _ids, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allElectronicsIdTrigger(), HcalElectronicsMap::allTriggerId(), hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::electronicsmap::fE2DHashMap, hcaldqm::electronicsmap::fE2THashMap, hcaldqm::electronicsmap::fHcalElectronicsMap, hcaldqm::electronicsmap::fT2EHashMap, cond::hash, HcalElectronicsMap::lookup(), HcalElectronicsMap::lookupTrigger(), DetId::rawId(), and HcalElectronicsId::rawId().
Referenced by hcaldqm::DigiRunSummary::beginRun(), hcaldqm::RawRunSummary::beginRun(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), LEDTask::bookHistograms(), QIE11Task::bookHistograms(), PedestalTask::bookHistograms(), LaserTask::bookHistograms(), TPTask::bookHistograms(), QIE10Task::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiPhase1Task::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RecoRunSummary::endJob(), and hcaldqm::TPRunSummary::endJob().
void hcaldqm::electronicsmap::ElectronicsMap::initialize | ( | HcalElectronicsMap const * | emap, |
ElectronicsMapType | etype, | ||
filter::HashFilter const & | filter | ||
) |
Definition at line 91 of file ElectronicsMap.cc.
References _emap, _etype, _ids, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allElectronicsIdTrigger(), hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::electronicsmap::fE2DHashMap, hcaldqm::electronicsmap::fE2THashMap, hcaldqm::electronicsmap::fHcalElectronicsMap, hcaldqm::filter::HashFilter::filter(), hcaldqm::electronicsmap::fT2EHashMap, cond::hash, hcaldqm::hashfunctions::hash_EChannel(), HcalElectronicsMap::lookup(), HcalElectronicsMap::lookupTrigger(), and DetId::rawId().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | DetId const & | id | ) |
Definition at line 172 of file ElectronicsMap.cc.
References _emap, _etype, _ids, hcaldqm::electronicsmap::fHcalElectronicsMap, cond::hash, HcalElectronicsMap::lookup(), and DetId::rawId().
Referenced by PedestalTask::_dump(), LEDTask::_dump(), LaserTask::_dump(), DigiComparisonTask::_process(), QIE10Task::_process(), QIE11Task::_process(), TPComparisonTask::_process(), TPTask::_process(), RawTask::_process(), RecHitTask::_process(), DigiTask::_process(), DigiPhase1Task::_process(), hcaldqm::DigiRunSummary::beginRun(), PedestalTask::bookHistograms(), DigiPhase1Task::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::DigiRunSummary::endLuminosityBlock(), and hcaldqm::RawRunSummary::endLuminosityBlock().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | HcalElectronicsId const & | id | ) |
Definition at line 185 of file ElectronicsMap.cc.
References _emap, _etype, _ids, hcaldqm::electronicsmap::fHcalElectronicsMap, cond::hash, HcalElectronicsMap::lookup(), and DetId::rawId().
void hcaldqm::electronicsmap::ElectronicsMap::print | ( | void | ) |
Definition at line 198 of file ElectronicsMap.cc.
References _etype, _ids, gather_cfg::cout, TauDecayModes::dec, and findQualityFiles::v.
|
private |
Definition at line 70 of file ElectronicsMap.h.
Referenced by initialize(), and lookup().
|
private |
Definition at line 63 of file ElectronicsMap.h.
Referenced by initialize(), lookup(), and print().
|
private |
Definition at line 67 of file ElectronicsMap.h.
Referenced by initialize(), lookup(), and print().