1 #ifndef HcalElectronicsMap_h
2 #define HcalElectronicsMap_h
15 #include <boost/cstdint.hpp>
16 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
39 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
102 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
103 mutable std::atomic<std::vector<const PrecisionItem*>*>
mPItemsById;
106 mutable std::vector<const PrecisionItem*>*
mPItemsById;
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)
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 [31:26] Unused (so far) [25] Trigger-chain id flag [24:20] Read...
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