#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 | |
COND_SERIALIZABLE | |
std::atomic< std::vector < const Item * > * > mItemsById | COND_TRANSIENT |
std::atomic< std::vector < const Item * > * > mItemsByDcsId | COND_TRANSIENT |
std::vector< Item > | mItems |
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.
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 query::result.
|
protected |
Definition at line 223 of file HcalDcsMap.cc.
References mItems, and query::result.
HcalDcsMap::const_iterator HcalDcsMap::beginByDcsId | ( | void | ) | const |
Definition at line 80 of file HcalDcsMap.cc.
References begin, HcalDcsMap::const_iterator::fIter, and sortByDcsId().
HcalDcsMap::const_iterator HcalDcsMap::beginById | ( | void | ) | const |
Definition at line 73 of file HcalDcsMap.cc.
References begin, HcalDcsMap::const_iterator::fIter, and sortById().
HcalDcsMap::const_iterator HcalDcsMap::endByDcsId | ( | void | ) | const |
Definition at line 94 of file HcalDcsMap.cc.
References end, HcalDcsMap::const_iterator::fIter, and sortByDcsId().
HcalDcsMap::const_iterator HcalDcsMap::endById | ( | void | ) | const |
Definition at line 87 of file HcalDcsMap.cc.
References end, HcalDcsMap::const_iterator::fIter, and sortById().
|
protected |
Definition at line 154 of file HcalDcsMap.cc.
References query::result, sortByDcsId(), and filterCSVwithJSON::target.
Referenced by lookup(), and mapGeomId2DcsId().
|
protected |
Definition at line 131 of file HcalDcsMap.cc.
References query::result, sortById(), and filterCSVwithJSON::target.
Referenced by lookup().
|
inlineprotected |
Definition at line 126 of file HcalDcsMap.h.
|
inlineprotected |
Definition at line 125 of file HcalDcsMap.h.
const std::vector< HcalDetId > HcalDcsMap::lookup | ( | HcalDcsDetId | fId | ) | const |
Definition at line 177 of file HcalDcsMap.cc.
References HcalDcsDetId::DCSUNKNOWN, findByDcsId(), 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(), 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(), mItems, HcalDcsDetId::ring(), HcalDcsDetId::slice(), HcalDcsDetId::subchannel(), and HcalOtherDetId::subdet().
HcalDcsMap & HcalDcsMap::operator= | ( | const HcalDcsMap & | rhs | ) |
Definition at line 34 of file HcalDcsMap.cc.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 78 of file HcalDcsMap.h.
void HcalDcsMap::sortByDcsId | ( | ) | const |
Definition at line 281 of file HcalDcsMap.cc.
References i, mItems, and python.multivaluedict::sort().
Referenced by beginByDcsId(), endByDcsId(), and findByDcsId().
void HcalDcsMap::sortById | ( | ) | const |
Definition at line 264 of file HcalDcsMap.cc.
References i, mItems, and python.multivaluedict::sort().
Referenced by beginById(), endById(), and findById().
void HcalDcsMap::swap | ( | HcalDcsMap & | other | ) |
Definition at line 40 of file HcalDcsMap.cc.
References mItems, and std::swap().
Referenced by HcalDcsMap(), and operator=().
|
protected |
Definition at line 134 of file HcalDcsMap.h.
|
mutableprotected |
Definition at line 123 of file HcalDcsMap.h.
|
mutableprotected |
Definition at line 124 of file HcalDcsMap.h.
|
protected |
Definition at line 121 of file HcalDcsMap.h.
Referenced by allHcalDcsDetId(), allHcalDetId(), mapGeomId2DcsId(), sortByDcsId(), sortById(), and swap().