#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 |
Definition at line 26 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 31 of file HcalDcsMap.cc.
HcalDcsMap::HcalDcsMap | ( | HcalDcsMap && | other | ) |
|
protected |
Definition at line 217 of file HcalDcsMap.cc.
References mItems, and query::result.
|
protected |
Definition at line 225 of file HcalDcsMap.cc.
References mItems, and query::result.
HcalDcsMap::const_iterator HcalDcsMap::beginByDcsId | ( | void | ) | const |
Definition at line 82 of file HcalDcsMap.cc.
References begin, HcalDcsMap::const_iterator::fIter, mItemsByDcsId, and sortByDcsId().
HcalDcsMap::const_iterator HcalDcsMap::beginById | ( | void | ) | const |
Definition at line 75 of file HcalDcsMap.cc.
References begin, HcalDcsMap::const_iterator::fIter, mItemsById, and sortById().
HcalDcsMap::const_iterator HcalDcsMap::endByDcsId | ( | void | ) | const |
Definition at line 96 of file HcalDcsMap.cc.
References end, HcalDcsMap::const_iterator::fIter, mItemsByDcsId, and sortByDcsId().
HcalDcsMap::const_iterator HcalDcsMap::endById | ( | void | ) | const |
Definition at line 89 of file HcalDcsMap.cc.
References end, HcalDcsMap::const_iterator::fIter, mItemsById, and sortById().
|
protected |
Definition at line 156 of file HcalDcsMap.cc.
References mItemsByDcsId, query::result, sortByDcsId(), and filterCSVwithJSON::target.
Referenced by lookup(), and mapGeomId2DcsId().
|
protected |
Definition at line 133 of file HcalDcsMap.cc.
References mItemsById, query::result, sortById(), and filterCSVwithJSON::target.
Referenced by lookup().
|
inlineprotected |
Definition at line 122 of file HcalDcsMap.h.
References mItemsByDcsId.
|
inlineprotected |
Definition at line 121 of file HcalDcsMap.h.
References mItemsById.
const std::vector< HcalDetId > HcalDcsMap::lookup | ( | HcalDcsDetId | fId | ) | const |
Definition at line 179 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 198 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 237 of file HcalDcsMap.cc.
References HcalDcsDetId::DCSUNKNOWN, findByDcsId(), mItems, mItemsByDcsId, mItemsById, HcalDcsDetId::ring(), HcalDcsDetId::slice(), HcalDcsDetId::subchannel(), and HcalOtherDetId::subdet().
HcalDcsMap & HcalDcsMap::operator= | ( | const HcalDcsMap & | rhs | ) |
Definition at line 36 of file HcalDcsMap.cc.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 76 of file HcalDcsMap.h.
void HcalDcsMap::sortByDcsId | ( | ) | const |
Definition at line 283 of file HcalDcsMap.cc.
References i, mItems, mItemsByDcsId, and python.multivaluedict::sort().
Referenced by beginByDcsId(), endByDcsId(), and findByDcsId().
void HcalDcsMap::sortById | ( | ) | const |
Definition at line 266 of file HcalDcsMap.cc.
References i, mItems, mItemsById, and python.multivaluedict::sort().
Referenced by beginById(), endById(), and findById().
void HcalDcsMap::swap | ( | HcalDcsMap & | other | ) |
Definition at line 42 of file HcalDcsMap.cc.
References mItems, mItemsByDcsId, mItemsById, and std::swap().
Referenced by HcalDcsMap(), and operator=().
|
protected |
Definition at line 117 of file HcalDcsMap.h.
Referenced by allHcalDcsDetId(), allHcalDetId(), mapGeomId2DcsId(), sortByDcsId(), sortById(), and swap().
|
mutableprotected |
Definition at line 120 of file HcalDcsMap.h.
Referenced by beginByDcsId(), endByDcsId(), findByDcsId(), getItemsByDcsId(), mapGeomId2DcsId(), sortByDcsId(), swap(), and ~HcalDcsMap().
|
mutableprotected |
Definition at line 119 of file HcalDcsMap.h.
Referenced by beginById(), endById(), findById(), getItemsById(), mapGeomId2DcsId(), sortById(), swap(), and ~HcalDcsMap().