Go to the documentation of this file.
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);
std::vector< int > allRMs() const
HcalFrontEndMap & operator=(const HcalFrontEndMap &rhs)
const int lookupRMIndex(DetId fId) const
bool loadObject(DetId fId, int rm, std::string rbx)
load a new entry
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< PrecisionItem > mPItems
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
std::vector< std::string > allRBXs() const
std::vector< DetId > allDetIds() const
const int lookupRBXIndex(DetId fId) const
const std::string lookupRBX(DetId fId) const
brief lookup the RBX associated with the given logical id
std::vector< const PrecisionItem * > mPItemsById
constexpr uint32_t rawId() const
get the raw id
const int lookupRM(DetId fId) const
brief lookup the RM associated with the given logical id
void swap(HcalFrontEndMap &other)
const PrecisionItem * findById(uint32_t fId) const