Go to the documentation of this file.
25 : mItems(
src.mItems), mItemsById(
src.mItemsById), mItemsByDcsId(
src.mItemsByDcsId) {}
92 return HcalObjectAddons::findByT<Item, HcalDcsMapAddons::LessById>(&
target,
mItemsById);
97 return HcalObjectAddons::findByT<Item, HcalDcsMapAddons::LessByDcsId>(&
target,
mItemsByDcsId);
116 return HcalDcsDetId(_id.subdet(), _id.zside() * _id.ring(), _id.slice(),
type, _id.subchannel());
121 std::vector<HcalDcsDetId>
result;
130 std::vector<HcalGenericDetId>
result;
131 std::set<unsigned long> allIds;
134 allIds.insert(
item->mId);
135 for (std::set<unsigned long>::const_iterator channel = allIds.begin(); channel != allIds.end(); channel++) {
154 if (iter !=
mItems.end() and iter->mId == fId) {
155 edm::LogWarning(
"HCAL") <<
"HcalDcsMap::mapGeomId2DcsId-> Geom channel " << fId <<
" already mapped to DCS channel "
const_iterator operator++()
std::vector< const Item * > mItemsById
bool mapGeomId2DcsId(HcalDetId fId, HcalDcsDetId fDcsId)
std::vector< HcalGenericDetId > allHcalDetId() const
Log< level::Warning, false > LogWarning
std::vector< HcalDcsDetId > allHcalDcsDetId() const
const_iterator beginById(void) const
const_iterator beginByDcsId(void) const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
const_iterator endByDcsId(void) const
void swap(HcalDcsMap &other)
HcalDetId getHcalDetId(void)
HcalDcsMap & operator=(const HcalDcsMap &rhs)
HcalDcsDetId getHcalDcsDetId(void)
HcalDetId lookup(HcalDcsDetId fId) const
const Item * findById(unsigned long fId) const
std::vector< const Item * >::const_iterator fIter
constexpr uint32_t rawId() const
get the raw id
std::vector< Item > mItems
std::vector< const Item * > mItemsByDcsId
bool operator!=(const const_iterator &other)
HcalOtherSubdetector subdet() const
get the category
const Item * findByDcsId(unsigned long fDcsId) const
const_iterator endById(void) const