39 return HcalObjectAddons::findByT<PrecisionItem, HcalFrontEndMapAddons::LessById>(&
target,
mPItemsById);
46 auto iter = mPItems.find(
target);
47 if (iter != mPItems.end()) {
49 << iter->mRM <<
" RBX " << iter->mRBX <<
" new values " <<
rm <<
" and " << rbx
86 for (std::vector<PrecisionItem>::const_iterator
item = mPItems.begin();
item != mPItems.end();
item++)
94 for (std::vector<PrecisionItem>::const_iterator
item = mPItems.begin();
item != mPItems.end();
item++) {
102 std::vector<std::string>
result;
103 for (std::vector<PrecisionItem>::const_iterator
item = mPItems.begin();
item != mPItems.end();
item++) {
111 HcalObjectAddons::sortByT<PrecisionItem, HcalFrontEndMapAddons::LessById>(mPItems, mPItemsById);
const int lookupRBXIndex(DetId fId) const
std::vector< const PrecisionItem * > mPItemsById
bool loadObject(DetId fId, int rm, std::string rbx)
load a new entry
const PrecisionItem * findById(uint32_t fId) const
HcalFrontEndMap & operator=(const HcalFrontEndMap &rhs)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
const int lookupRMIndex(DetId fId) const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
const int lookupRM(DetId fId) const
brief lookup the RM associated with the given logical id
void swap(HcalFrontEndMap &other)
std::vector< std::string > allRBXs() const
std::vector< int > allRMs() const
std::vector< DetId > allDetIds() const
constexpr uint32_t rawId() const
get the raw id
Log< level::Warning, false > LogWarning
const std::string lookupRBX(DetId fId) const
brief lookup the RBX associated with the given logical id
std::vector< PrecisionItem > mPItems