#include <HcalElectronicsMap.h>
Classes | |
class | PrecisionItem |
class | TriggerItem |
Public Member Functions | |
std::vector< HcalElectronicsId > | allElectronicsId () const |
std::vector< HcalElectronicsId > | allElectronicsIdPrecision () const |
std::vector< HcalElectronicsId > | allElectronicsIdTrigger () const |
std::vector< HcalGenericDetId > | allPrecisionId () const |
std::vector< HcalTrigTowerDetId > | allTriggerId () const |
HcalElectronicsMap () | |
HcalElectronicsMap (const HcalElectronicsMapAddons::Helper &helper) | |
HcalElectronicsMap (const HcalElectronicsMap &src) | |
HcalElectronicsMap (HcalElectronicsMap &&other) | |
void | initialize () |
const DetId | lookup (HcalElectronicsId fId) const |
lookup the logical detid associated with the given electronics id More... | |
const HcalElectronicsId | lookup (DetId fId) const |
brief lookup the electronics detid associated with the given logical id More... | |
bool | lookup (const HcalElectronicsId pId, HcalElectronicsId &eid, HcalGenericDetId &did) const |
brief lookup the DetId and full electronics id associated with this partial (dcc/spigot/fiber/fiberchan) id More... | |
bool | lookup (const HcalElectronicsId pId, HcalElectronicsId &eid, HcalTrigTowerDetId &did) const |
brief lookup the DetId and full electronics id associated with this partial (dcc/spigot/slb/slbchan) id More... | |
const DetId | lookupTrigger (HcalElectronicsId fId) const |
brief lookup the trigger logical detid associated with the given electronics id More... | |
const HcalElectronicsId | lookupTrigger (DetId fId) const |
brief lookup the electronics detid associated with the given trigger logical id More... | |
HcalElectronicsMap & | operator= (const HcalElectronicsMap &rhs) |
void | swap (HcalElectronicsMap &other) |
~HcalElectronicsMap () | |
Protected Member Functions | |
const PrecisionItem * | findById (unsigned long fId) const |
const TriggerItem * | findByTrigId (unsigned long fTrigId) const |
const PrecisionItem * | findPByElId (unsigned long fElId) const |
const TriggerItem * | findTByElId (unsigned long fElId) const |
Protected Attributes | |
std::vector< PrecisionItem > | mPItems |
std::vector< const PrecisionItem * > | mPItemsById |
std::vector< TriggerItem > | mTItems |
std::vector< const TriggerItem * > | mTItemsByTrigId |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
void | sortById () |
void | sortByTriggerId () |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 31 of file HcalElectronicsMap.h.
|
inline |
Definition at line 53 of file HcalElectronicsMap.h.
HcalElectronicsMap::HcalElectronicsMap | ( | const HcalElectronicsMapAddons::Helper & | helper | ) |
Definition at line 17 of file HcalElectronicsMap.cc.
References initialize().
HcalElectronicsMap::~HcalElectronicsMap | ( | ) |
Definition at line 22 of file HcalElectronicsMap.cc.
HcalElectronicsMap::HcalElectronicsMap | ( | const HcalElectronicsMap & | src | ) |
Definition at line 24 of file HcalElectronicsMap.cc.
HcalElectronicsMap::HcalElectronicsMap | ( | HcalElectronicsMap && | other | ) |
std::vector< HcalElectronicsId > HcalElectronicsMap::allElectronicsId | ( | ) | const |
Definition at line 110 of file HcalElectronicsMap.cc.
References B2GTnPMonitor_cfi::item, mPItems, mTItems, and mps_fire::result.
Referenced by HcalLuttoDB::analyze(), LEDTask::bookHistograms(), and DigiTask::bookHistograms().
std::vector< HcalElectronicsId > HcalElectronicsMap::allElectronicsIdPrecision | ( | ) | const |
Definition at line 122 of file HcalElectronicsMap.cc.
References B2GTnPMonitor_cfi::item, mPItems, and mps_fire::result.
Referenced by hcaldqm::ContainerXXX< int >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), EMap::EMap(), hcaldqm::utilities::getCrateHashMap(), hcaldqm::utilities::getCrateList(), hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), and hcaldqm::Container1D::load().
std::vector< HcalElectronicsId > HcalElectronicsMap::allElectronicsIdTrigger | ( | ) | const |
Definition at line 130 of file HcalElectronicsMap.cc.
References B2GTnPMonitor_cfi::item, mTItems, and mps_fire::result.
Referenced by HcalTrigPrimDigiProducer::beginRun(), EMap::EMap(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), and HcaluLUTTPGCoder::update().
std::vector< HcalGenericDetId > HcalElectronicsMap::allPrecisionId | ( | ) | const |
Definition at line 139 of file HcalElectronicsMap.cc.
References B2GTnPMonitor_cfi::item, mPItems, and mps_fire::result.
Referenced by PedestalTask::_dump(), LEDTask::_dump(), LaserTask::_dump(), HcalQIEDataCheck::analyze(), HcalPedestalsCheck::analyze(), HcalPedestalWidthsCheck::analyze(), HcalGainsCheck::analyze(), hcaldqm::DigiRunSummary::beginRun(), hcaldqm::ContainerXXX< int >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), FCDTask::bookHistograms(), PedestalTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), hcaldqm::DigiRunSummary::endLuminosityBlock(), HcalDetIdTableProducer::globalBeginRunProduce(), HcalMLTask::globalEndLuminosityBlock(), and hcaldqm::Container1D::load().
std::vector< HcalTrigTowerDetId > HcalElectronicsMap::allTriggerId | ( | ) | const |
Definition at line 151 of file HcalElectronicsMap.cc.
References B2GTnPMonitor_cfi::item, mTItems, and mps_fire::result.
Referenced by hcaldqm::ContainerXXX< int >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), hcaldqm::TPRunSummary::endJob(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), and hcaldqm::Container1D::load().
|
protected |
Definition at line 42 of file HcalElectronicsMap.cc.
References mPItemsById, and filterCSVwithJSON::target.
Referenced by lookup().
|
protected |
Definition at line 65 of file HcalElectronicsMap.cc.
References mTItemsByTrigId, and filterCSVwithJSON::target.
Referenced by lookupTrigger().
|
protected |
Definition at line 47 of file HcalElectronicsMap.cc.
References runTauDisplay::eid, mps_fire::i, and mPItems.
Referenced by lookup().
|
protected |
Definition at line 56 of file HcalElectronicsMap.cc.
References runTauDisplay::eid, mps_fire::i, and mTItems.
Referenced by lookupTrigger().
void HcalElectronicsMap::initialize | ( | ) |
const DetId HcalElectronicsMap::lookup | ( | HcalElectronicsId | fId | ) | const |
lookup the logical detid associated with the given electronics id
Definition at line 70 of file HcalElectronicsMap.cc.
References findPByElId(), B2GTnPMonitor_cfi::item, and HcalElectronicsId::rawId().
Referenced by UHTRpacker::addChannel(), HtrXmlPattern::analyze(), HcalLuttoDB::analyze(), LEDTask::bookHistograms(), DigiTask::bookHistograms(), EMap::EMap(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::DigiRunSummary::endLuminosityBlock(), ChannelPattern::Fill_by_hand(), CMTRawAnalyzer::fillMAP(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), HcalPacker::pack(), HcalDigiToRawuHTR::produce(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalUnpacker::unpack(), HcalUnpacker::unpackUTCA(), and HcalUnpacker::unpackVME().
const HcalElectronicsId HcalElectronicsMap::lookup | ( | DetId | fId | ) | const |
brief lookup the electronics detid associated with the given logical id
Definition at line 75 of file HcalElectronicsMap.cc.
References findById(), B2GTnPMonitor_cfi::item, and DetId::rawId().
bool HcalElectronicsMap::lookup | ( | const HcalElectronicsId | pId, |
HcalElectronicsId & | eid, | ||
HcalGenericDetId & | did | ||
) | const |
brief lookup the DetId and full electronics id associated with this partial (dcc/spigot/fiber/fiberchan) id
Definition at line 90 of file HcalElectronicsMap.cc.
References runTauDisplay::eid, mps_fire::i, HcalElectronicsId::linearIndex(), and mPItems.
bool HcalElectronicsMap::lookup | ( | const HcalElectronicsId | pId, |
HcalElectronicsId & | eid, | ||
HcalTrigTowerDetId & | did | ||
) | const |
brief lookup the DetId and full electronics id associated with this partial (dcc/spigot/slb/slbchan) id
Definition at line 100 of file HcalElectronicsMap.cc.
References runTauDisplay::eid, mps_fire::i, HcalElectronicsId::linearIndex(), and mTItems.
const DetId HcalElectronicsMap::lookupTrigger | ( | HcalElectronicsId | fId | ) | const |
brief lookup the trigger logical detid associated with the given electronics id
Definition at line 80 of file HcalElectronicsMap.cc.
References findTByElId(), B2GTnPMonitor_cfi::item, and HcalElectronicsId::rawId().
Referenced by HcalLuttoDB::analyze(), HcalTrigPrimDigiProducer::beginRun(), hcaldqm::Container2D::book(), EMap::EMap(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), HcalDigiToRawuHTR::produce(), HcalUnpacker::unpackUTCA(), HcalUnpacker::unpackVME(), and HcaluLUTTPGCoder::update().
const HcalElectronicsId HcalElectronicsMap::lookupTrigger | ( | DetId | fId | ) | const |
brief lookup the electronics detid associated with the given trigger logical id
Definition at line 85 of file HcalElectronicsMap.cc.
References findByTrigId(), B2GTnPMonitor_cfi::item, and DetId::rawId().
HcalElectronicsMap & HcalElectronicsMap::operator= | ( | const HcalElectronicsMap & | rhs | ) |
Definition at line 27 of file HcalElectronicsMap.cc.
References groupFilesInBlocks::temp.
|
private |
|
private |
Definition at line 198 of file HcalElectronicsMap.cc.
|
private |
Definition at line 202 of file HcalElectronicsMap.cc.
void HcalElectronicsMap::swap | ( | HcalElectronicsMap & | other | ) |
Definition at line 33 of file HcalElectronicsMap.cc.
References mPItems, mPItemsById, mTItems, mTItemsByTrigId, trackingPlots::other, and edm::swap().
|
friend |
Definition at line 113 of file HcalElectronicsMap.h.
|
friend |
Definition at line 113 of file HcalElectronicsMap.h.
|
protected |
Definition at line 103 of file HcalElectronicsMap.h.
Referenced by allElectronicsId(), allElectronicsIdPrecision(), allPrecisionId(), findPByElId(), lookup(), and swap().
|
protected |
Definition at line 105 of file HcalElectronicsMap.h.
Referenced by findById(), and swap().
|
protected |
Definition at line 104 of file HcalElectronicsMap.h.
Referenced by allElectronicsId(), allElectronicsIdTrigger(), allTriggerId(), findTByElId(), lookup(), and swap().
|
protected |
Definition at line 106 of file HcalElectronicsMap.h.
Referenced by findByTrigId(), and swap().