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 ==
static_cast<uint32_t
>(fId)) {
155 edm::LogWarning(
"HCAL") <<
"HcalDcsMap::mapGeomId2DcsId-> Geom channel " << fId <<
" already mapped to DCS channel "
const_iterator endByDcsId(void) const
const Item * findByDcsId(unsigned long fDcsId) const
const_iterator operator++()
std::vector< HcalGenericDetId > allHcalDetId() const
void swap(HcalDcsMap &other)
const_iterator beginById(void) const
const_iterator beginByDcsId(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)
const Item * findById(unsigned long fId) const
HcalDetId lookup(HcalDcsDetId fId) const
constexpr uint32_t rawId() const
get the raw id
std::vector< const Item * >::const_iterator fIter
bool operator!=(const const_iterator &other)
std::vector< const Item * > mItemsByDcsId
std::vector< Item > mItems
Log< level::Warning, false > LogWarning
const_iterator endById(void) const
std::vector< HcalDcsDetId > allHcalDcsDetId() const
HcalOtherSubdetector subdet() const
get the category
std::vector< const Item * > mItemsById