#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 56 of file HcalElectronicsMap.h.
References runTauDisplay::eid, initialize(), trackingPlots::other, TrackRefitter_38T_cff::src, and edm::swap().
HcalElectronicsMap::HcalElectronicsMap | ( | const HcalElectronicsMapAddons::Helper & | helper | ) |
Definition at line 17 of file HcalElectronicsMap.cc.
References initialize().
HcalElectronicsMap::~HcalElectronicsMap | ( | ) |
Definition at line 23 of file HcalElectronicsMap.cc.
HcalElectronicsMap::HcalElectronicsMap | ( | const HcalElectronicsMap & | src | ) |
Definition at line 25 of file HcalElectronicsMap.cc.
HcalElectronicsMap::HcalElectronicsMap | ( | HcalElectronicsMap && | other | ) |
std::vector< HcalElectronicsId > HcalElectronicsMap::allElectronicsId | ( | ) | const |
Definition at line 114 of file HcalElectronicsMap.cc.
References mPItems, mTItems, and mps_fire::result.
Referenced by HcalLuttoDB::analyze(), and HcalDbASCIIIO::createObject< HcalElectronicsMap >().
std::vector< HcalElectronicsId > HcalElectronicsMap::allElectronicsIdPrecision | ( | ) | const |
Definition at line 124 of file HcalElectronicsMap.cc.
References mPItems, and mps_fire::result.
Referenced by hcaldqm::ContainerXXX< STDTYPE >::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 131 of file HcalElectronicsMap.cc.
References mTItems, and mps_fire::result.
Referenced by EMap::EMap(), and hcaldqm::electronicsmap::ElectronicsMap::initialize().
std::vector< HcalGenericDetId > HcalElectronicsMap::allPrecisionId | ( | ) | const |
Definition at line 139 of file HcalElectronicsMap.cc.
References 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< STDTYPE >::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(), and hcaldqm::Container1D::load().
std::vector< HcalTrigTowerDetId > HcalElectronicsMap::allTriggerId | ( | ) | const |
Definition at line 150 of file HcalElectronicsMap.cc.
References mTItems, and mps_fire::result.
Referenced by hcaldqm::ContainerXXX< STDTYPE >::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 48 of file HcalElectronicsMap.cc.
References mPItemsById, and edmPickEvents::target.
Referenced by lookup().
|
protected |
Definition at line 70 of file HcalElectronicsMap.cc.
References mTItemsByTrigId, and edmPickEvents::target.
Referenced by lookupTrigger().
|
protected |
Definition at line 53 of file HcalElectronicsMap.cc.
References runTauDisplay::eid, mps_fire::i, HcalElectronicsId::linearIndex(), HcalElectronicsMap::PrecisionItem::mElId, and mPItems.
Referenced by lookup().
|
protected |
Definition at line 61 of file HcalElectronicsMap.cc.
References runTauDisplay::eid, mps_fire::i, HcalElectronicsId::linearIndex(), HcalElectronicsMap::TriggerItem::mElId, and mTItems.
Referenced by lookupTrigger().
void HcalElectronicsMap::initialize | ( | ) |
Definition at line 204 of file HcalElectronicsMap.cc.
Referenced by cond::createPayload< HcalCalibrationQIEData >(), and HcalElectronicsMap().
const DetId HcalElectronicsMap::lookup | ( | HcalElectronicsId | fId | ) | const |
lookup the logical detid associated with the given electronics id
Definition at line 75 of file HcalElectronicsMap.cc.
References findPByElId(), HcalElectronicsMap::PrecisionItem::mId, and HcalElectronicsId::rawId().
Referenced by UHTRpacker::addChannel(), HtrXmlPattern::analyze(), HcalLuttoDB::analyze(), HcalDbASCIIIO::createObject< HcalElectronicsMap >(), EMap::EMap(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::DigiRunSummary::endLuminosityBlock(), ChannelPattern::Fill_by_hand(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), HcalPacker::pack(), HcalPatternSource::produce(), 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 80 of file HcalElectronicsMap.cc.
References findById(), HcalElectronicsMap::PrecisionItem::mElId, 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 95 of file HcalElectronicsMap.cc.
References mps_fire::i, HcalElectronicsId::linearIndex(), HcalElectronicsMap::PrecisionItem::mElId, HcalElectronicsMap::PrecisionItem::mId, 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 104 of file HcalElectronicsMap.cc.
References mps_fire::i, HcalElectronicsId::linearIndex(), HcalElectronicsMap::TriggerItem::mElId, mTItems, and HcalElectronicsMap::TriggerItem::mTrigId.
const DetId HcalElectronicsMap::lookupTrigger | ( | HcalElectronicsId | fId | ) | const |
brief lookup the trigger logical detid associated with the given electronics id
Definition at line 85 of file HcalElectronicsMap.cc.
References findTByElId(), HcalElectronicsMap::TriggerItem::mTrigId, and HcalElectronicsId::rawId().
Referenced by HcalLuttoDB::analyze(), HcalDbASCIIIO::createObject< HcalElectronicsMap >(), EMap::EMap(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), HcalDigiToRawuHTR::produce(), HcalUnpacker::unpackUTCA(), and HcalUnpacker::unpackVME().
const HcalElectronicsId HcalElectronicsMap::lookupTrigger | ( | DetId | fId | ) | const |
brief lookup the electronics detid associated with the given trigger logical id
Definition at line 90 of file HcalElectronicsMap.cc.
References findByTrigId(), HcalElectronicsMap::TriggerItem::mElId, and DetId::rawId().
HcalElectronicsMap & HcalElectronicsMap::operator= | ( | const HcalElectronicsMap & | rhs | ) |
Definition at line 30 of file HcalElectronicsMap.cc.
References swap(), and groupFilesInBlocks::temp.
|
private |
|
private |
Definition at line 196 of file HcalElectronicsMap.cc.
References HcalElectronicsMapAddons::Helper::mPItems.
|
private |
Definition at line 200 of file HcalElectronicsMap.cc.
References HcalElectronicsMapAddons::Helper::mTItems.
void HcalElectronicsMap::swap | ( | HcalElectronicsMap & | other | ) |
Definition at line 36 of file HcalElectronicsMap.cc.
References mPItems, mPItemsById, mTItems, mTItemsByTrigId, and std::swap().
Referenced by operator=().
|
friend |
Definition at line 116 of file HcalElectronicsMap.h.
|
friend |
Definition at line 116 of file HcalElectronicsMap.h.
|
protected |
Definition at line 106 of file HcalElectronicsMap.h.
Referenced by allElectronicsId(), allElectronicsIdPrecision(), allPrecisionId(), findPByElId(), lookup(), and swap().
|
protected |
Definition at line 108 of file HcalElectronicsMap.h.
Referenced by findById(), and swap().
|
protected |
Definition at line 107 of file HcalElectronicsMap.h.
Referenced by allElectronicsId(), allElectronicsIdTrigger(), allTriggerId(), findTByElId(), lookup(), and swap().
|
protected |
Definition at line 109 of file HcalElectronicsMap.h.
Referenced by findByTrigId(), and swap().