#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, hcaldqm::hashfunctions::hash_EChannel(), HcalGenericDetId::isHcalDetId(), HcalElectronicsMap::lookup(), HcalElectronicsMap::lookupTrigger(), DetId::rawId(), and HcalElectronicsId::rawId().
Referenced by hcaldqm::DigiRunSummary::beginRun(), hcaldqm::RawRunSummary::beginRun(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), TPTask::bookHistograms(), LEDTask::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 89 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(), HcalGenericDetId::isHcalDetId(), HcalElectronicsMap::lookup(), HcalElectronicsMap::lookupTrigger(), and DetId::rawId().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | DetId const & | id | ) |
Definition at line 170 of file ElectronicsMap.cc.
References _emap, _etype, _ids, hcaldqm::electronicsmap::fHcalElectronicsMap, cond::hash, HcalElectronicsMap::lookup(), and DetId::rawId().
Referenced by PedestalTask::_dump(), LaserTask::_dump(), LEDTask::_dump(), DigiComparisonTask::_process(), TPComparisonTask::_process(), TPTask::_process(), RawTask::_process(), RecHitTask::_process(), hcaldqm::DigiRunSummary::beginRun(), PedestalTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::TPRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), and hcaldqm::DigiRunSummary::endLuminosityBlock().
uint32_t hcaldqm::electronicsmap::ElectronicsMap::lookup | ( | HcalElectronicsId const & | id | ) |
Definition at line 177 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 184 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().