1 #ifndef HcalFrontEndMap_h 2 #define HcalFrontEndMap_h 9 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 50 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 66 std::vector<int>
allRMs()
const;
67 std::vector<std::string>
allRBXs()
const;
69 const PrecisionItem*
findById(uint32_t fId)
const;
86 return a->mId <
b->mId;
92 return a->mId ==
b->mId;
102 std::set<HcalFrontEndMap::PrecisionItem, LessById>
mPItems;
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
PrecisionItem(uint32_t fId, int fRM, std::string fRBX)
bool operator()(const HcalFrontEndMap::PrecisionItem *a, const HcalFrontEndMap::PrecisionItem *b) const
HcalFrontEndMap & operator=(const HcalFrontEndMap &rhs)
std::set< HcalFrontEndMap::PrecisionItem, LessById > mPItems
bool good(const HcalFrontEndMap::PrecisionItem &a) const
const int maxRMIndex() const
const int lookupRMIndex(DetId fId) const
bool operator()(const HcalFrontEndMap::PrecisionItem &a, const HcalFrontEndMap::PrecisionItem &b) const
const int lookupRM(DetId fId) const
brief lookup the RM associated with the given logical id
static const int maxRmIndex
void swap(HcalFrontEndMap &other)
std::vector< std::string > allRBXs() const
std::vector< int > allRMs() const
std::vector< DetId > allDetIds() const
#define COND_SERIALIZABLE
bool equal(const HcalFrontEndMap::PrecisionItem *a, const HcalFrontEndMap::PrecisionItem *b) const
const std::string lookupRBX(DetId fId) const
brief lookup the RBX associated with the given logical id
std::vector< PrecisionItem > mPItems