1 #ifndef HcalElectronicsMap_h 2 #define HcalElectronicsMap_h 17 #include <boost/cstdint.hpp> 18 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 41 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 94 : mTrigId (fTrigId),
mElId (fElId) { }
108 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
const TriggerItem * findByTrigId(unsigned long fTrigId) const
const PrecisionItem * findPByElId(unsigned long fElId) const
std::vector< HcalElectronicsId > allElectronicsIdPrecision() const
std::vector< PrecisionItem > mPItems
PrecisionItem(uint32_t fId, uint32_t fElId)
bool mapEId2tId(HcalElectronicsId fElectronicsId, HcalTrigTowerDetId fTriggerId)
void swap(HcalElectronicsMap &other)
std::vector< HcalElectronicsId > allElectronicsIdTrigger() const
const PrecisionItem * findById(unsigned long fId) const
std::atomic< std::vector< const PrecisionItem * > * > mPItemsById
std::vector< TriggerItem > mTItems
std::vector< HcalGenericDetId > allPrecisionId() const
bool mapEId2chId(HcalElectronicsId fElectronicsId, DetId fId)
std::vector< HcalElectronicsId > allElectronicsId() const
const TriggerItem * findTByElId(unsigned long fElId) const
HcalElectronicsMap & operator=(const HcalElectronicsMap &rhs)
#define COND_SERIALIZABLE
TriggerItem(uint32_t fTrigId, uint32_t fElId)
void sortByTriggerId() const
const DetId lookupTrigger(HcalElectronicsId fId) const
brief lookup the trigger logical detid associated with the given electronics id
Readout chain identification for Hcal.
std::vector< HcalTrigTowerDetId > allTriggerId() const
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
std::atomic< std::vector< const TriggerItem * > * > mTItemsByTrigId