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_
ALPAKA_FN_ACC int dcc(int ieta, int iphi)
const EcalElectronicsMapping * mapping()
void unpack(const uint64_t *buffer, size_t bufferSize, unsigned int smId, unsigned int fedId)
unsigned int getSMId(unsigned int aDCCId) const
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
EcalElectronicsMapper * electronicsMapper_
Log< level::Error, false > LogError
uint16_t getCCUValue(const int fed, const int ccu) const
DCCDataUnpacker(EcalElectronicsMapper *, bool hU, bool srpU, bool tccU, bool feU, bool memU, bool syncCheck, bool feIdCheck, bool forceToKeepFRdata)
uint16_t getChannelValue(const DetId &id) const
static std::atomic< bool > silentMode_
const EcalChannelStatusMap * chdb_
DCCEEEventBlock * eeEventBlock_
const_iterator find(uint32_t rawId) const
std::vector< DetId > dccTowerConstituents(int dccId, int tower) const
Get the constituent detids for this dccId.
unsigned long long uint64_t
void unpack(const uint64_t *buffer, size_t bufferSize, unsigned int expFedId) override
uint16_t getChannelStatus(const DetId &id) const
std::vector< Item >::const_iterator const_iterator
const_iterator end() const
DetId getDetId(const EcalElectronicsId &id) const
Get the detid given an electronicsId.