1 #ifndef HcalElectronicsMap_h 2 #define HcalElectronicsMap_h 17 #include <boost/cstdint.hpp> 38 : mId (fId), mElId (fElId) {}
49 : mTrigId (fTrigId), mElId (fElId) { }
67 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 92 std::vector <HcalElectronicsId> allElectronicsId ()
const;
93 std::vector <HcalElectronicsId> allElectronicsIdPrecision()
const;
94 std::vector <HcalElectronicsId> allElectronicsIdTrigger()
const;
95 std::vector <HcalGenericDetId> allPrecisionId ()
const;
96 std::vector <HcalTrigTowerDetId> allTriggerId ()
const;
102 const PrecisionItem* findPByElId (
unsigned long fElId)
const;
103 const TriggerItem* findTByElId (
unsigned long fElId)
const;
104 const TriggerItem* findByTrigId (
unsigned long fTrigId)
const;
114 void sortByTriggerId ();
139 std::vector<HcalElectronicsMap::PrecisionItem>
mPItems;
140 std::vector<HcalElectronicsMap::TriggerItem>
mTItems;
static AlgebraicMatrix initialize()
bool equal(const HcalElectronicsMap::TriggerItem *a, const HcalElectronicsMap::TriggerItem *b)
bool good(const HcalElectronicsMap::PrecisionItem &a)
std::vector< PrecisionItem > mPItems
std::vector< HcalElectronicsMap::TriggerItem > mTItems
PrecisionItem(uint32_t fId, uint32_t fElId)
void swap(Association< C > &lhs, Association< C > &rhs)
bool equal(const HcalElectronicsMap::PrecisionItem *a, const HcalElectronicsMap::PrecisionItem *b)
std::vector< TriggerItem > mTItems
std::vector< HcalElectronicsMap::PrecisionItem > mPItems
#define COND_SERIALIZABLE
TriggerItem(uint32_t fTrigId, uint32_t fElId)
Readout chain identification for Hcal.
bool good(const HcalElectronicsMap::TriggerItem &a)