#include <HcalDcsMap.h>
Classes | |
class | const_iterator |
class | Item |
Public Member Functions | |
const_iterator | beginByDcsId (void) const |
const_iterator | beginById (void) const |
const_iterator | endByDcsId (void) const |
const_iterator | endById (void) const |
HcalDcsMap () | |
HcalDcsMap (const HcalDcsMap &src) | |
HcalDcsMap (HcalDcsMap &&other) | |
const std::vector< HcalDetId > | lookup (HcalDcsDetId fId) const |
const std::vector< HcalDcsDetId > | lookup (HcalDetId fId, HcalDcsDetId::DcsType type) const |
bool | mapGeomId2DcsId (HcalDetId fId, HcalDcsDetId fDcsId) |
HcalDcsMap & | operator= (const HcalDcsMap &rhs) |
void | sort () |
void | sortByDcsId () const |
void | sortById () const |
void | swap (HcalDcsMap &other) |
~HcalDcsMap () | |
Protected Member Functions | |
std::vector< HcalDcsDetId > | allHcalDcsDetId () const |
std::vector< HcalGenericDetId > | allHcalDetId () const |
const std::vector< const Item * > | findByDcsId (unsigned long fDcsId) const |
const std::vector< const Item * > | findById (unsigned long fId) const |
const std::vector< const Item * > * | getItemsByDcsId (void) |
const std::vector< const Item * > * | getItemsById (void) |
Protected Attributes | |
std::vector< Item > | mItems |
std::atomic< std::vector< const Item * > * > | mItemsByDcsId |
std::atomic< std::vector< const Item * > * > | mItemsById |
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 28 of file HcalDcsMap.h.
HcalDcsMap::HcalDcsMap | ( | ) |
Definition at line 17 of file HcalDcsMap.cc.
HcalDcsMap::~HcalDcsMap | ( | ) |
Definition at line 24 of file HcalDcsMap.cc.
References mItemsByDcsId, and mItemsById.
HcalDcsMap::HcalDcsMap | ( | const HcalDcsMap & | src | ) |
Definition at line 29 of file HcalDcsMap.cc.
HcalDcsMap::HcalDcsMap | ( | HcalDcsMap && | other | ) |
|
protected |
Definition at line 215 of file HcalDcsMap.cc.
References mItems, and mps_fire::result.
|
protected |
Definition at line 223 of file HcalDcsMap.cc.
References mItems, and mps_fire::result.
HcalDcsMap::const_iterator HcalDcsMap::beginByDcsId | ( | void | ) | const |
Definition at line 80 of file HcalDcsMap.cc.
References begin, HcalDcsMap::const_iterator::fIter, mItemsByDcsId, and sortByDcsId().
HcalDcsMap::const_iterator HcalDcsMap::beginById | ( | void | ) | const |
Definition at line 73 of file HcalDcsMap.cc.
References begin, HcalDcsMap::const_iterator::fIter, mItemsById, and sortById().
Referenced by dumpHcalMatrixObject().
HcalDcsMap::const_iterator HcalDcsMap::endByDcsId | ( | void | ) | const |
Definition at line 94 of file HcalDcsMap.cc.
References end, HcalDcsMap::const_iterator::fIter, mItemsByDcsId, and sortByDcsId().
HcalDcsMap::const_iterator HcalDcsMap::endById | ( | void | ) | const |
Definition at line 87 of file HcalDcsMap.cc.
References end, HcalDcsMap::const_iterator::fIter, mItemsById, and sortById().
Referenced by dumpHcalMatrixObject().
|
protected |
Definition at line 154 of file HcalDcsMap.cc.
References mItemsByDcsId, mps_fire::result, sortByDcsId(), and edmPickEvents::target.
Referenced by lookup(), and mapGeomId2DcsId().
|
protected |
Definition at line 131 of file HcalDcsMap.cc.
References mItemsById, mps_fire::result, sortById(), and edmPickEvents::target.
Referenced by lookup().
|
inlineprotected |
Definition at line 126 of file HcalDcsMap.h.
References COND_TRANSIENT, getItemsById(), mItemsByDcsId, and mItemsById.
|
inlineprotected |
Definition at line 125 of file HcalDcsMap.h.
References mItemsById.
Referenced by getItemsByDcsId().
const std::vector< HcalDetId > HcalDcsMap::lookup | ( | HcalDcsDetId | fId | ) | const |
Definition at line 177 of file HcalDcsMap.cc.
References HcalDcsDetId::DCSUNKNOWN, findByDcsId(), mps_monitormerge::items, HcalDcsDetId::ring(), HcalDcsDetId::slice(), HcalDcsDetId::subchannel(), and HcalOtherDetId::subdet().
const std::vector< HcalDcsDetId > HcalDcsMap::lookup | ( | HcalDetId | fId, |
HcalDcsDetId::DcsType | type | ||
) | const |
Definition at line 196 of file HcalDcsMap.cc.
References findById(), mps_monitormerge::items, DetId::rawId(), HcalDcsDetId::ring(), HcalDcsDetId::slice(), HcalDcsDetId::subchannel(), HcalOtherDetId::subdet(), and HcalDcsDetId::zside().
bool HcalDcsMap::mapGeomId2DcsId | ( | HcalDetId | fId, |
HcalDcsDetId | fDcsId | ||
) |
Definition at line 235 of file HcalDcsMap.cc.
References HcalDcsDetId::DCSUNKNOWN, findByDcsId(), mps_monitormerge::items, mItems, mItemsByDcsId, mItemsById, HcalDcsDetId::ring(), HcalDcsDetId::slice(), HcalDcsDetId::subchannel(), and HcalOtherDetId::subdet().
Referenced by dumpHcalMatrixObject(), and HcalDbHardcode::makeHardcodeDcsMap().
HcalDcsMap & HcalDcsMap::operator= | ( | const HcalDcsMap & | rhs | ) |
Definition at line 34 of file HcalDcsMap.cc.
References swap(), and groupFilesInBlocks::temp.
|
private |
|
inline |
void HcalDcsMap::sortByDcsId | ( | ) | const |
Definition at line 281 of file HcalDcsMap.cc.
References i, mItems, and mItemsByDcsId.
Referenced by beginByDcsId(), endByDcsId(), and findByDcsId().
void HcalDcsMap::sortById | ( | ) | const |
Definition at line 264 of file HcalDcsMap.cc.
References i, mItems, and mItemsById.
Referenced by beginById(), endById(), and findById().
void HcalDcsMap::swap | ( | HcalDcsMap & | other | ) |
Definition at line 40 of file HcalDcsMap.cc.
References mItems, mItemsByDcsId, mItemsById, and std::swap().
Referenced by operator=().
|
friend |
Definition at line 134 of file HcalDcsMap.h.
|
friend |
Definition at line 134 of file HcalDcsMap.h.
|
protected |
Definition at line 121 of file HcalDcsMap.h.
Referenced by allHcalDcsDetId(), allHcalDetId(), mapGeomId2DcsId(), sortByDcsId(), sortById(), and swap().
|
mutableprotected |
Definition at line 124 of file HcalDcsMap.h.
Referenced by beginByDcsId(), endByDcsId(), findByDcsId(), getItemsByDcsId(), mapGeomId2DcsId(), sortByDcsId(), swap(), and ~HcalDcsMap().
|
mutableprotected |
Definition at line 123 of file HcalDcsMap.h.
Referenced by beginById(), endById(), findById(), getItemsByDcsId(), getItemsById(), mapGeomId2DcsId(), sortById(), swap(), and ~HcalDcsMap().