1 #ifndef DCCDATAUNPACKER_HH
2 #define DCCDATAUNPACKER_HH
59 void unpack(
const uint64_t* buffer,
size_t bufferSize,
unsigned int smId,
unsigned int fedId);
217 uint16_t
getChannelValue(
const int fed,
const int ccu,
const int strip,
const int xtal)
const;
219 uint16_t
getCCUValue(
const int fed,
const int ccu)
const;
234 std::unique_ptr<EcalTrigPrimDigiCollection> *
ecalTps_;
235 std::unique_ptr<EcalPSInputDigiCollection> *
ecalPSs_;
void setChannelStatusDB(const EcalChannelStatusMap *chdb)
std::unique_ptr< EBSrFlagCollection > * ebSrFlagsCollection()
void setInvalidEEChIdsCollection(std::unique_ptr< EEDetIdCollection > *x)
DCCEventBlock * currentEvent_
void setInvalidGainsCollection(std::unique_ptr< EBDetIdCollection > *x)
std::unique_ptr< EEDigiCollection > * eeDigis_
std::unique_ptr< EEDigiCollection > * eeDigisCollection()
std::unique_ptr< EEDetIdCollection > * invalidEEChIdsCollection()
std::unique_ptr< EcalElectronicsIdCollection > * invalidBlockLengthsCollection()
std::unique_ptr< EESrFlagCollection > * eeSrFlags_
void unpack(const uint64_t *buffer, size_t bufferSize, unsigned int smId, unsigned int fedId)
std::unique_ptr< EcalElectronicsIdCollection > * invalidMemBlockSizesCollection()
void setPnDiodeDigisCollection(std::unique_ptr< EcalPnDiodeDigiCollection > *x)
std::unique_ptr< EEDetIdCollection > * invalidEEChIds_
DCCEBEventBlock * ebEventBlock_
void setInvalidTTIdsCollection(std::unique_ptr< EcalElectronicsIdCollection > *x)
void setInvalidBlockLengthsCollection(std::unique_ptr< EcalElectronicsIdCollection > *x)
void setInvalidGainsSwitchCollection(std::unique_ptr< EBDetIdCollection > *x)
uint16_t getChannelStatus(const DetId &id) const
std::unique_ptr< EcalElectronicsIdCollection > * invalidMemBlockSizes_
void setInvalidZSXtalIdsCollection(std::unique_ptr< EcalElectronicsIdCollection > *x)
EcalElectronicsMapper * electronicsMapper_
std::unique_ptr< EcalPnDiodeDigiCollection > * pnDiodeDigis_
std::unique_ptr< EcalPSInputDigiCollection > * ecalPSsCollection()
std::unique_ptr< EBDetIdCollection > * invalidGainsCollection()
const EcalElectronicsMapper * electronicsMapper() const
std::unique_ptr< EEDetIdCollection > * invalidEEGainsSwitchCollection()
std::unique_ptr< EcalElectronicsIdCollection > * invalidZSXtalIds_
DCCDataUnpacker(EcalElectronicsMapper *, bool hU, bool srpU, bool tccU, bool feU, bool memU, bool syncCheck, bool feIdCheck, bool forceToKeepFRdata)
std::unique_ptr< EcalRawDataCollection > * dccHeaders_
void setInvalidMemChIdsCollection(std::unique_ptr< EcalElectronicsIdCollection > *x)
std::unique_ptr< EcalElectronicsIdCollection > * invalidTTIdsCollection()
void setEBSrFlagsCollection(std::unique_ptr< EBSrFlagCollection > *x)
void setInvalidMemBlockSizesCollection(std::unique_ptr< EcalElectronicsIdCollection > *x)
std::unique_ptr< EcalElectronicsIdCollection > * invalidMemGainsCollection()
void setEcalTpsCollection(std::unique_ptr< EcalTrigPrimDigiCollection > *x)
static std::atomic< bool > silentMode_
void setInvalidMemTtIdsCollection(std::unique_ptr< EcalElectronicsIdCollection > *x)
void setInvalidEEGainsSwitchCollection(std::unique_ptr< EEDetIdCollection > *x)
std::unique_ptr< EBSrFlagCollection > * ebSrFlags_
void setEEDigisCollection(std::unique_ptr< EEDigiCollection > *x)
const EcalChannelStatusMap * chdb_
uint16_t getChannelValue(const DetId &id) const
std::unique_ptr< EBDetIdCollection > * invalidGainsSwitchCollection()
std::unique_ptr< EcalPnDiodeDigiCollection > * pnDiodeDigisCollection()
std::unique_ptr< EBDetIdCollection > * invalidChIds_
uint16_t getCCUValue(const int fed, const int ccu) const
DCCEEEventBlock * eeEventBlock_
std::unique_ptr< EcalElectronicsIdCollection > * invalidBlockLengths_
std::unique_ptr< EEDetIdCollection > * invalidEEGainsCollection()
void setEcalPSsCollection(std::unique_ptr< EcalPSInputDigiCollection > *x)
std::unique_ptr< EBDetIdCollection > * invalidGainsSwitch_
std::unique_ptr< EBDetIdCollection > * invalidGains_
std::unique_ptr< EcalPSInputDigiCollection > * ecalPSs_
void setEESrFlagsCollection(std::unique_ptr< EESrFlagCollection > *x)
void setInvalidEEGainsCollection(std::unique_ptr< EEDetIdCollection > *x)
std::unique_ptr< EcalElectronicsIdCollection > * invalidMemTtIdsCollection()
std::unique_ptr< EBDetIdCollection > * invalidChIdsCollection()
std::unique_ptr< EcalElectronicsIdCollection > * invalidMemChIdsCollection()
unsigned long long uint64_t
std::unique_ptr< EcalElectronicsIdCollection > * invalidMemGains_
std::unique_ptr< EcalTrigPrimDigiCollection > * ecalTps_
std::unique_ptr< EcalRawDataCollection > * dccHeadersCollection()
std::unique_ptr< EcalElectronicsIdCollection > * invalidZSXtalIdsCollection()
std::unique_ptr< EcalElectronicsIdCollection > * invalidTTIds_
DCCEventBlock * currentEvent()
void setDccHeadersCollection(std::unique_ptr< EcalRawDataCollection > *x)
std::unique_ptr< EcalElectronicsIdCollection > * invalidMemTtIds_
std::unique_ptr< EEDetIdCollection > * invalidEEGainsSwitch_
std::unique_ptr< EcalElectronicsIdCollection > * invalidMemChIds_
void setInvalidChIdsCollection(std::unique_ptr< EBDetIdCollection > *x)
std::unique_ptr< EBDigiCollection > * ebDigis_
std::unique_ptr< EEDetIdCollection > * invalidEEGains_
void setInvalidMemGainsCollection(std::unique_ptr< EcalElectronicsIdCollection > *x)
std::unique_ptr< EcalTrigPrimDigiCollection > * ecalTpsCollection()
void setEBDigisCollection(std::unique_ptr< EBDigiCollection > *x)
std::unique_ptr< EESrFlagCollection > * eeSrFlagsCollection()
std::unique_ptr< EBDigiCollection > * ebDigisCollection()