Go to the documentation of this file. 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;
bool equal(const HcalElectronicsMap::TriggerItem *a, const HcalElectronicsMap::TriggerItem *b)
std::vector< HcalElectronicsId > allElectronicsId() const
const PrecisionItem * findById(unsigned long fId) const
bool operator()(const HcalElectronicsMap::PrecisionItem *a, const HcalElectronicsMap::PrecisionItem *b)
const TriggerItem * findByTrigId(unsigned long fTrigId) const
std::vector< const TriggerItem * > mTItemsByTrigId
#define COND_SERIALIZABLE
bool mapEId2tId(HcalElectronicsId fElectronicsId, HcalTrigTowerDetId fTriggerId)
const TriggerItem * findTByElId(unsigned long fElId) const
HcalElectronicsMap & operator=(const HcalElectronicsMap &rhs)
PrecisionItem(uint32_t fId, uint32_t fElId)
const DetId lookupTrigger(HcalElectronicsId fId) const
brief lookup the trigger logical detid associated with the given electronics id
const PrecisionItem * findPByElId(unsigned long fElId) const
std::vector< HcalGenericDetId > allPrecisionId() const
std::vector< HcalTrigTowerDetId > allTriggerId() const
Readout chain identification for Hcal.
std::vector< HcalElectronicsId > allElectronicsIdTrigger() const
std::vector< HcalElectronicsMap::TriggerItem > mTItems
bool equal(const HcalElectronicsMap::PrecisionItem *a, const HcalElectronicsMap::PrecisionItem *b)
bool operator()(const HcalElectronicsMap::TriggerItem *a, const HcalElectronicsMap::TriggerItem *b)
std::vector< TriggerItem > mTItems
std::vector< HcalElectronicsId > allElectronicsIdPrecision() const
bool good(const HcalElectronicsMap::PrecisionItem &a)
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
void swap(HcalElectronicsMap &other)
bool mapEId2chId(HcalElectronicsId fElectronicsId, DetId fId)
std::vector< const PrecisionItem * > mPItemsById
std::vector< HcalElectronicsMap::PrecisionItem > mPItems
std::vector< PrecisionItem > mPItems
TriggerItem(uint32_t fTrigId, uint32_t fElId)
bool good(const HcalElectronicsMap::TriggerItem &a)