60 const uint16_t NO_DATA = 11;
64 <<
"ECAL channel status database do not initialized";
71 return pCh->getStatusCode();
75 <<
"No channel status record found for detit = " <<
id.rawId();
104 std::set<uint16_t> set;
105 for (
size_t i = 0;
i < xtals.size(); ++
i) {
112 if (set.size() == 1)
return *set.begin();
void unpack(uint64_t *buffer, unsigned int bufferSize, unsigned int smId, unsigned int fedId)
DCCEventBlock * currentEvent_
unsigned int getSMId(unsigned int aDCCId) const
const EcalElectronicsMapping * mapping()
void unpack(uint64_t *buffer, unsigned int bufferSize, unsigned int expFedId)
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
DCCEBEventBlock * ebEventBlock_
uint16_t getChannelStatus(const DetId &id) const
EcalElectronicsMapper * electronicsMapper_
void unpack(uint64_t *buffer, unsigned int bufferSize, unsigned int expFedId)
DCCDataUnpacker(EcalElectronicsMapper *, bool hU, bool srpU, bool tccU, bool feU, bool memU, bool syncCheck, bool feIdCheck, bool forceToKeepFRdata)
const EcalChannelStatusMap * chdb_
uint16_t getChannelValue(const DetId &id) const
uint16_t getCCUValue(const int fed, const int ccu) const
DCCEEEventBlock * eeEventBlock_
unsigned long long uint64_t
std::vector< Item >::const_iterator const_iterator
DetId getDetId(const EcalElectronicsId &id) const
Get the detid given an electronicsId.
const_iterator find(uint32_t rawId) const
const_iterator end() const
std::vector< DetId > dccTowerConstituents(int dccId, int tower) const
Get the constituent detids for this dccId.