#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 |
HcalFrontEndMap () | |
HcalFrontEndMap (const HcalFrontEndMap &src) | |
HcalFrontEndMap (HcalFrontEndMap &&other) | |
bool | loadObject (DetId fId, int rm, std::string rbx) |
load a new entry More... | |
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 | sort () |
void | sortById () const |
void | swap (HcalFrontEndMap &other) |
~HcalFrontEndMap () | |
Protected Member Functions | |
const PrecisionItem * | findById (uint32_t fId) const |
Protected Attributes | |
std::vector< PrecisionItem > | mPItems |
std::atomic< 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 17 of file HcalFrontEndMap.h.
HcalFrontEndMap::HcalFrontEndMap | ( | ) |
Definition at line 10 of file HcalFrontEndMap.cc.
HcalFrontEndMap::~HcalFrontEndMap | ( | ) |
Definition at line 16 of file HcalFrontEndMap.cc.
References mPItemsById.
HcalFrontEndMap::HcalFrontEndMap | ( | const HcalFrontEndMap & | src | ) |
Definition at line 21 of file HcalFrontEndMap.cc.
HcalFrontEndMap::HcalFrontEndMap | ( | HcalFrontEndMap && | other | ) |
std::vector< DetId > HcalFrontEndMap::allDetIds | ( | ) | const |
Definition at line 97 of file HcalFrontEndMap.cc.
References mPItems, and mps_fire::result.
Referenced by dumpHcalMatrixObject(), and maxRMIndex().
std::vector< std::string > HcalFrontEndMap::allRBXs | ( | ) | const |
Definition at line 115 of file HcalFrontEndMap.cc.
References spr::find(), mPItems, and mps_fire::result.
Referenced by maxRMIndex().
std::vector< int > HcalFrontEndMap::allRMs | ( | ) | const |
Definition at line 105 of file HcalFrontEndMap.cc.
References spr::find(), mPItems, and mps_fire::result.
Referenced by maxRMIndex().
|
protected |
Definition at line 44 of file HcalFrontEndMap.cc.
References mPItemsById, sortById(), and edmPickEvents::target.
Referenced by loadObject(), lookupRBX(), lookupRBXIndex(), lookupRM(), and lookupRMIndex().
bool HcalFrontEndMap::loadObject | ( | DetId | fId, |
int | rm, | ||
std::string | rbx | ||
) |
load a new entry
Definition at line 57 of file HcalFrontEndMap.cc.
References findById(), mPItems, HcalFrontEndMap::PrecisionItem::mRBX, HcalFrontEndMap::PrecisionItem::mRM, DetId::rawId(), submit::rm, and edmPickEvents::target.
Referenced by dumpHcalMatrixObject(), and HcalDbHardcode::makeHardcodeFrontEndMap().
const std::string HcalFrontEndMap::lookupRBX | ( | DetId | fId | ) | const |
brief lookup the RBX associated with the given logical id
Definition at line 85 of file HcalFrontEndMap.cc.
References findById(), HcalFrontEndMap::PrecisionItem::mRBX, and DetId::rawId().
Referenced by HBHEIsolatedNoiseReflagger::DumpHBHEHitMap(), dumpHcalMatrixObject(), and maxRMIndex().
const int HcalFrontEndMap::lookupRBXIndex | ( | DetId | fId | ) | const |
Definition at line 90 of file HcalFrontEndMap.cc.
References findById(), hcalTTPDigis_cfi::id, HcalFrontEndMap::PrecisionItem::mRBX, HcalFrontEndMap::PrecisionItem::mRM, and DetId::rawId().
Referenced by HBHEHitMapOrganizer::HBHEHitMapOrganizer(), and maxRMIndex().
const int HcalFrontEndMap::lookupRM | ( | DetId | fId | ) | const |
brief lookup the RM associated with the given logical id
Definition at line 73 of file HcalFrontEndMap.cc.
References findById(), HcalFrontEndMap::PrecisionItem::mRM, and DetId::rawId().
Referenced by dumpHcalMatrixObject().
const int HcalFrontEndMap::lookupRMIndex | ( | DetId | fId | ) | const |
Definition at line 78 of file HcalFrontEndMap.cc.
References findById(), hcalTTPDigis_cfi::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 40 of file HcalFrontEndMap.h.
References allDetIds(), allRBXs(), allRMs(), lookupRBX(), lookupRBXIndex(), HcalFrontEndId::maxRmIndex, sortById(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HBHEStatusBitSetter::SetFrontEndMap().
HcalFrontEndMap & HcalFrontEndMap::operator= | ( | const HcalFrontEndMap & | rhs | ) |
Definition at line 25 of file HcalFrontEndMap.cc.
References swap(), and groupFilesInBlocks::temp.
|
private |
|
inline |
Definition at line 53 of file HcalFrontEndMap.h.
Referenced by dumpHcalMatrixObject(), and HcalDbHardcode::makeHardcodeFrontEndMap().
void HcalFrontEndMap::sortById | ( | ) | const |
Definition at line 125 of file HcalFrontEndMap.cc.
References mps_fire::i, mPItems, and mPItemsById.
Referenced by findById(), and maxRMIndex().
void HcalFrontEndMap::swap | ( | HcalFrontEndMap & | other | ) |
Definition at line 32 of file HcalFrontEndMap.cc.
References mPItems, mPItemsById, and std::swap().
Referenced by operator=().
|
friend |
Definition at line 76 of file HcalFrontEndMap.h.
|
friend |
Definition at line 76 of file HcalFrontEndMap.h.
|
protected |
Definition at line 69 of file HcalFrontEndMap.h.
Referenced by allDetIds(), allRBXs(), allRMs(), loadObject(), sortById(), and swap().
|
mutableprotected |
Definition at line 71 of file HcalFrontEndMap.h.
Referenced by findById(), sortById(), swap(), and ~HcalFrontEndMap().