#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 () | |
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) |
void | sort () |
void | sortByDcsId () const |
void | sortById () const |
~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::vector< const Item * > | mItemsByDcsId |
std::vector< const Item * > | mItemsById |
bool | sortedByDcsId |
bool | sortedById |
Definition at line 23 of file HcalDcsMap.h.
HcalDcsMap::HcalDcsMap | ( | ) |
Definition at line 17 of file HcalDcsMap.cc.
HcalDcsMap::~HcalDcsMap | ( | ) |
Definition at line 24 of file HcalDcsMap.cc.
|
protected |
Definition at line 185 of file HcalDcsMap.cc.
References mItems, and query::result.
|
protected |
Definition at line 193 of file HcalDcsMap.cc.
References mItems, and query::result.
HcalDcsMap::const_iterator HcalDcsMap::beginByDcsId | ( | void | ) | const |
Definition at line 52 of file HcalDcsMap.cc.
References HcalDcsMap::const_iterator::fIter, mItemsByDcsId, sortByDcsId(), and sortedByDcsId.
HcalDcsMap::const_iterator HcalDcsMap::beginById | ( | void | ) | const |
Definition at line 45 of file HcalDcsMap.cc.
References HcalDcsMap::const_iterator::fIter, mItemsById, sortById(), and sortedById.
HcalDcsMap::const_iterator HcalDcsMap::endByDcsId | ( | void | ) | const |
Definition at line 66 of file HcalDcsMap.cc.
References HcalDcsMap::const_iterator::fIter, mItemsByDcsId, sortByDcsId(), and sortedByDcsId.
HcalDcsMap::const_iterator HcalDcsMap::endById | ( | void | ) | const |
Definition at line 59 of file HcalDcsMap.cc.
References HcalDcsMap::const_iterator::fIter, mItemsById, sortById(), and sortedById.
|
protected |
Definition at line 125 of file HcalDcsMap.cc.
References mItemsByDcsId, query::result, sortByDcsId(), sortedByDcsId, and filterCSVwithJSON::target.
Referenced by lookup(), and mapGeomId2DcsId().
|
protected |
Definition at line 103 of file HcalDcsMap.cc.
References mItemsById, query::result, sortById(), sortedById, and filterCSVwithJSON::target.
Referenced by lookup().
|
inlineprotected |
|
inlineprotected |
const std::vector< HcalDetId > HcalDcsMap::lookup | ( | HcalDcsDetId | fId | ) | const |
Definition at line 147 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 166 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 205 of file HcalDcsMap.cc.
References HcalDcsDetId::DCSUNKNOWN, findByDcsId(), mItems, HcalDcsDetId::ring(), HcalDcsDetId::slice(), sortedByDcsId, sortedById, HcalDcsDetId::subchannel(), and HcalOtherDetId::subdet().
|
inline |
Definition at line 62 of file HcalDcsMap.h.
void HcalDcsMap::sortByDcsId | ( | ) | const |
Definition at line 243 of file HcalDcsMap.cc.
References i, mItems, mItemsByDcsId, python.multivaluedict::sort(), and sortedByDcsId.
Referenced by beginByDcsId(), endByDcsId(), and findByDcsId().
void HcalDcsMap::sortById | ( | ) | const |
Definition at line 232 of file HcalDcsMap.cc.
References i, mItems, mItemsById, python.multivaluedict::sort(), and sortedById.
Referenced by beginById(), endById(), and findById().
|
protected |
Definition at line 103 of file HcalDcsMap.h.
Referenced by allHcalDcsDetId(), allHcalDetId(), mapGeomId2DcsId(), sortByDcsId(), and sortById().
|
mutableprotected |
Definition at line 107 of file HcalDcsMap.h.
Referenced by beginByDcsId(), endByDcsId(), findByDcsId(), getItemsByDcsId(), and sortByDcsId().
|
mutableprotected |
Definition at line 104 of file HcalDcsMap.h.
Referenced by beginById(), endById(), findById(), getItemsById(), and sortById().
|
mutableprotected |
Definition at line 108 of file HcalDcsMap.h.
Referenced by beginByDcsId(), endByDcsId(), findByDcsId(), mapGeomId2DcsId(), and sortByDcsId().
|
mutableprotected |
Definition at line 105 of file HcalDcsMap.h.
Referenced by beginById(), endById(), findById(), mapGeomId2DcsId(), and sortById().