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);
110 return item ? item->
mId : 0;
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++) {
153 auto iter =
mItems.find(target);
154 if (iter !=
mItems.end() and iter->mId == fId) {
155 edm::LogWarning(
"HCAL") <<
"HcalDcsMap::mapGeomId2DcsId-> Geom channel " << fId <<
" already mapped to DCS channel "
std::vector< HcalDcsDetId > allHcalDcsDetId() const
constexpr uint32_t rawId() const
get the raw id
const_iterator operator++()
const Item * findById(unsigned long fId) const
void swap(HcalDcsMap &other)
HcalDetId lookup(HcalDcsDetId fId) const
const_iterator endById(void) const
const_iterator beginById(void) const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
HcalDetId getHcalDetId(void)
HcalDcsMap & operator=(const HcalDcsMap &rhs)
HcalDcsDetId getHcalDcsDetId(void)
bool mapGeomId2DcsId(HcalDetId fId, HcalDcsDetId fDcsId)
HcalOtherSubdetector subdet() const
get the category
std::vector< HcalGenericDetId > allHcalDetId() const
std::vector< const Item * >::const_iterator fIter
bool operator!=(const const_iterator &other)
const Item * findByDcsId(unsigned long fDcsId) const
std::vector< const Item * > mItemsByDcsId
const_iterator endByDcsId(void) const
std::vector< Item > mItems
Log< level::Warning, false > LogWarning
const_iterator beginByDcsId(void) const
std::vector< const Item * > mItemsById