#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 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 67 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.
References hcaldqm::electronicsmap::fHcalElectronicsMap, initialize(), lookup(), and print().
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(), runTauDisplay::eid, 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::RawRunSummary::beginRun(), hcaldqm::DigiRunSummary::beginRun(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), TPTask::bookHistograms(), LEDTask::bookHistograms(), RawTask::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), DigiPhase1Task::bookHistograms(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), and ~ElectronicsMap().
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(), TPComparisonTask::_process(), QIE10Task::_process(), QIE11Task::_process(), TPTask::_process(), RawTask::_process(), RecHitTask::_process(), LEDTask::_process(), DigiTask::_process(), DigiPhase1Task::_process(), LaserTask::_process(), hcaldqm::DigiRunSummary::beginRun(), PedestalTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::TPRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), hcaldqm::DigiRunSummary::endLuminosityBlock(), and ~ElectronicsMap().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | HcalDetId const & | id | ) |
Definition at line 185 of file ElectronicsMap.cc.
References _emap, _etype, _ids, hcaldqm::electronicsmap::fHcalElectronicsMap, cond::hash, HcalElectronicsMap::lookup(), and DetId::rawId().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | HcalElectronicsId const & | id | ) |
Definition at line 200 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 213 of file ElectronicsMap.cc.
References _etype, _ids, gather_cfg::cout, TauDecayModes::dec, and findQualityFiles::v.
Referenced by ~ElectronicsMap().
|
private |
Definition at line 71 of file ElectronicsMap.h.
Referenced by initialize(), and lookup().
|
private |
Definition at line 64 of file ElectronicsMap.h.
Referenced by initialize(), lookup(), and print().
|
private |
Definition at line 68 of file ElectronicsMap.h.
Referenced by initialize(), lookup(), and print().