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();
102 const std::vector<DetId> xtals =
105 std::vector<DetId>();
108 std::set<uint16_t> set;
109 for (
size_t i = 0;
i < xtals.size(); ++
i) {
116 if (set.size() == 1)
return *set.begin();
DCCEventBlock * currentEvent_
unsigned int getSMId(unsigned int aDCCId) const
const EcalElectronicsMapping * mapping()
void unpack(const uint64_t *buffer, size_t bufferSize, unsigned int smId, unsigned int fedId)
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(const uint64_t *buffer, size_t bufferSize, unsigned int expFedId)
DCCDataUnpacker(EcalElectronicsMapper *, bool hU, bool srpU, bool tccU, bool feU, bool memU, bool syncCheck, bool feIdCheck, bool forceToKeepFRdata)
static std::atomic< bool > silentMode_
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.
void unpack(const uint64_t *buffer, size_t bufferSize, unsigned int expFedId)
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.