19 bool forceToKeepFRdata) {
37 if (smId > 9 && smId < 46) {
59 const uint16_t NO_DATA = 11;
61 if (
chdb_ ==
nullptr) {
62 edm::LogError(
"IncorrectMapping") <<
"ECAL channel status database do not initialized";
69 return pCh->getStatusCode();
71 edm::LogError(
"IncorrectMapping") <<
"No channel status record found for detit = " <<
id.rawId();
93 const std::vector<DetId> xtals =
97 std::set<uint16_t> set;
98 for (
size_t i = 0;
i < xtals.size(); ++
i) {
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_
void unpack(const uint64_t *buffer, size_t bufferSize, unsigned int expFedId) override
uint16_t getChannelStatus(const DetId &id) const
EcalElectronicsMapper * electronicsMapper_
Log< level::Error, false > LogError
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
void unpack(const uint64_t *buffer, size_t bufferSize, unsigned int expFedId) override
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.