#include <HcalFrontEndMap.h>
Classes | |
class | PrecisionItem |
Public Member Functions | |
std::vector< DetId > | allDetIds () const |
std::vector< std::string > | allRBXs () const |
std::vector< int > | allRMs () const |
const PrecisionItem * | findById (uint32_t fId) const |
HcalFrontEndMap () | |
HcalFrontEndMap (const HcalFrontEndMapAddons::Helper &helper) | |
HcalFrontEndMap (const HcalFrontEndMap &src) | |
HcalFrontEndMap (HcalFrontEndMap &&other) | |
void | initialize () |
const std::string | lookupRBX (DetId fId) const |
brief lookup the RBX associated with the given logical id More... | |
const int | lookupRBXIndex (DetId fId) const |
const int | lookupRM (DetId fId) const |
brief lookup the RM associated with the given logical id More... | |
const int | lookupRMIndex (DetId fId) const |
const int | maxRMIndex () const |
HcalFrontEndMap & | operator= (const HcalFrontEndMap &rhs) |
void | sortById () |
void | swap (HcalFrontEndMap &other) |
~HcalFrontEndMap () | |
Protected Attributes | |
std::vector< PrecisionItem > | mPItems |
std::vector< const PrecisionItem * > | mPItemsById |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 23 of file HcalFrontEndMap.h.
|
inline |
Definition at line 38 of file HcalFrontEndMap.h.
References trackingPlots::other, TrackRefitter_38T_cff::src, and edm::swap().
HcalFrontEndMap::HcalFrontEndMap | ( | const HcalFrontEndMapAddons::Helper & | helper | ) |
Definition at line 11 of file HcalFrontEndMap.cc.
References initialize().
HcalFrontEndMap::~HcalFrontEndMap | ( | ) |
Definition at line 18 of file HcalFrontEndMap.cc.
HcalFrontEndMap::HcalFrontEndMap | ( | const HcalFrontEndMap & | src | ) |
Definition at line 22 of file HcalFrontEndMap.cc.
HcalFrontEndMap::HcalFrontEndMap | ( | HcalFrontEndMap && | other | ) |
std::vector< DetId > HcalFrontEndMap::allDetIds | ( | ) | const |
Definition at line 92 of file HcalFrontEndMap.cc.
References mPItems, and mps_fire::result.
Referenced by HcalDbASCIIIO::createObject< HcalFrontEndMap >().
std::vector< std::string > HcalFrontEndMap::allRBXs | ( | ) | const |
Definition at line 110 of file HcalFrontEndMap.cc.
References spr::find(), mPItems, and mps_fire::result.
std::vector< int > HcalFrontEndMap::allRMs | ( | ) | const |
Definition at line 100 of file HcalFrontEndMap.cc.
References spr::find(), mPItems, and mps_fire::result.
const HcalFrontEndMap::PrecisionItem * HcalFrontEndMap::findById | ( | uint32_t | fId | ) | const |
Definition at line 43 of file HcalFrontEndMap.cc.
References mPItemsById, and edmPickEvents::target.
Referenced by lookupRBX(), lookupRBXIndex(), lookupRM(), and lookupRMIndex().
void HcalFrontEndMap::initialize | ( | ) |
Definition at line 124 of file HcalFrontEndMap.cc.
References sortById().
Referenced by cond::createPayload< HcalCalibrationQIEData >(), and HcalFrontEndMap().
const std::string HcalFrontEndMap::lookupRBX | ( | DetId | fId | ) | const |
brief lookup the RBX associated with the given logical id
Definition at line 80 of file HcalFrontEndMap.cc.
References findById(), HcalFrontEndMap::PrecisionItem::mRBX, and DetId::rawId().
Referenced by HcalDbASCIIIO::createObject< HcalFrontEndMap >(), and HBHEIsolatedNoiseReflagger::DumpHBHEHitMap().
const int HcalFrontEndMap::lookupRBXIndex | ( | DetId | fId | ) | const |
Definition at line 85 of file HcalFrontEndMap.cc.
References findById(), triggerObjects_cff::id, HcalFrontEndMap::PrecisionItem::mRBX, HcalFrontEndMap::PrecisionItem::mRM, and DetId::rawId().
Referenced by HBHEHitMapOrganizer::HBHEHitMapOrganizer().
const int HcalFrontEndMap::lookupRM | ( | DetId | fId | ) | const |
brief lookup the RM associated with the given logical id
Definition at line 68 of file HcalFrontEndMap.cc.
References findById(), HcalFrontEndMap::PrecisionItem::mRM, and DetId::rawId().
Referenced by HcalDbASCIIIO::createObject< HcalFrontEndMap >().
const int HcalFrontEndMap::lookupRMIndex | ( | DetId | fId | ) | const |
Definition at line 73 of file HcalFrontEndMap.cc.
References findById(), triggerObjects_cff::id, HcalFrontEndMap::PrecisionItem::mRBX, HcalFrontEndMap::PrecisionItem::mRM, and DetId::rawId().
Referenced by HBHEIsolatedNoiseReflagger::DumpHBHEHitMap(), HBHEHitMapOrganizer::getHPDNeighbors(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), HBHEStatusBitSetter::rememberHit(), and HBHEStatusBitSetter::SetFlagsFromRecHits().
|
inline |
Definition at line 57 of file HcalFrontEndMap.h.
References initialize(), HcalFrontEndId::maxRmIndex, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HBHEStatusBitSetter::SetFrontEndMap().
HcalFrontEndMap & HcalFrontEndMap::operator= | ( | const HcalFrontEndMap & | rhs | ) |
Definition at line 26 of file HcalFrontEndMap.cc.
References swap(), and groupFilesInBlocks::temp.
|
private |
void HcalFrontEndMap::sortById | ( | ) |
Definition at line 120 of file HcalFrontEndMap.cc.
References mPItems, and mPItemsById.
Referenced by initialize().
void HcalFrontEndMap::swap | ( | HcalFrontEndMap & | other | ) |
Definition at line 33 of file HcalFrontEndMap.cc.
References mPItems, mPItemsById, and std::swap().
Referenced by operator=().
|
friend |
Definition at line 79 of file HcalFrontEndMap.h.
|
friend |
Definition at line 79 of file HcalFrontEndMap.h.
|
protected |
Definition at line 76 of file HcalFrontEndMap.h.
Referenced by allDetIds(), allRBXs(), allRMs(), HcalFrontEndMapAddons::Helper::loadObject(), sortById(), and swap().
|
protected |
Definition at line 77 of file HcalFrontEndMap.h.
Referenced by findById(), sortById(), and swap().