1 #ifndef HcalFrontEndMap_h
2 #define HcalFrontEndMap_h
9 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
19 namespace HcalFrontEndMapAddons {
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;
82 namespace HcalFrontEndMapAddons {
102 std::set<HcalFrontEndMap::PrecisionItem, LessById>
mPItems;
std::vector< std::string > allRBXs() const
bool equal(const HcalFrontEndMap::PrecisionItem *a, const HcalFrontEndMap::PrecisionItem *b) const
std::vector< const PrecisionItem * > mPItemsById
bool loadObject(DetId fId, int rm, std::string rbx)
load a new entry
PrecisionItem(uint32_t fId, int fRM, std::string fRBX)
HcalFrontEndMap & operator=(const HcalFrontEndMap &rhs)
std::set< HcalFrontEndMap::PrecisionItem, LessById > mPItems
const int lookupRMIndex(DetId fId) const
bool operator()(const HcalFrontEndMap::PrecisionItem &a, const HcalFrontEndMap::PrecisionItem &b) const
bool operator()(const HcalFrontEndMap::PrecisionItem *a, const HcalFrontEndMap::PrecisionItem *b) const
bool good(const HcalFrontEndMap::PrecisionItem &a) const
const int lookupRBXIndex(DetId fId) const
std::vector< DetId > allDetIds() const
static const int maxRmIndex
void swap(HcalFrontEndMap &other)
const PrecisionItem * findById(uint32_t fId) const
const int lookupRM(DetId fId) const
brief lookup the RM associated with the given logical id
#define COND_SERIALIZABLE
std::vector< int > allRMs() const
const int maxRMIndex() const
const std::string lookupRBX(DetId fId) const
brief lookup the RBX associated with the given logical id
std::vector< PrecisionItem > mPItems