1 #ifndef HcalElectronicsMap_h 2 #define HcalElectronicsMap_h 64 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 98 const PrecisionItem*
findById(
unsigned long fId)
const;
99 const PrecisionItem*
findPByElId(
unsigned long fElId)
const;
100 const TriggerItem*
findTByElId(
unsigned long fElId)
const;
101 const TriggerItem*
findByTrigId(
unsigned long fTrigId)
const;
120 return a->mId <
b->mId;
123 return a->mId ==
b->mId;
130 return a->mTrigId <
b->mTrigId;
133 return a->mTrigId ==
b->mTrigId;
144 std::vector<HcalElectronicsMap::PrecisionItem>
mPItems;
145 std::vector<HcalElectronicsMap::TriggerItem>
mTItems;
const TriggerItem * findByTrigId(unsigned long fTrigId) const
std::vector< HcalElectronicsId > allElectronicsIdTrigger() const
bool mapEId2chId(HcalElectronicsId fElectronicsId, DetId fId)
bool equal(const HcalElectronicsMap::TriggerItem *a, const HcalElectronicsMap::TriggerItem *b)
bool good(const HcalElectronicsMap::PrecisionItem &a)
std::vector< PrecisionItem > mPItems
std::vector< HcalTrigTowerDetId > allTriggerId() const
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
std::vector< HcalElectronicsMap::TriggerItem > mTItems
PrecisionItem(uint32_t fId, uint32_t fElId)
void swap(HcalElectronicsMap &other)
bool equal(const HcalElectronicsMap::PrecisionItem *a, const HcalElectronicsMap::PrecisionItem *b)
std::vector< const PrecisionItem * > mPItemsById
std::vector< TriggerItem > mTItems
const PrecisionItem * findPByElId(unsigned long fElId) const
bool mapEId2tId(HcalElectronicsId fElectronicsId, HcalTrigTowerDetId fTriggerId)
std::vector< HcalElectronicsId > allElectronicsId() const
std::vector< HcalElectronicsMap::PrecisionItem > mPItems
const PrecisionItem * findById(unsigned long fId) const
std::vector< const TriggerItem * > mTItemsByTrigId
bool operator()(const HcalElectronicsMap::TriggerItem *a, const HcalElectronicsMap::TriggerItem *b)
bool operator()(const HcalElectronicsMap::PrecisionItem *a, const HcalElectronicsMap::PrecisionItem *b)
HcalElectronicsMap & operator=(const HcalElectronicsMap &rhs)
#define COND_SERIALIZABLE
TriggerItem(uint32_t fTrigId, uint32_t fElId)
const TriggerItem * findTByElId(unsigned long fElId) const
std::vector< HcalGenericDetId > allPrecisionId() const
std::vector< HcalElectronicsId > allElectronicsIdPrecision() const
const DetId lookupTrigger(HcalElectronicsId fId) const
brief lookup the trigger logical detid associated with the given electronics id
Readout chain identification for Hcal.
bool good(const HcalElectronicsMap::TriggerItem &a)