#include <DCCDataUnpacker.h>
Static Public Attributes | |
static std::atomic< bool > | silentMode_ |
Definition at line 50 of file DCCDataUnpacker.h.
DCCDataUnpacker::DCCDataUnpacker | ( | EcalElectronicsMapper * | mapper, |
bool | hU, | ||
bool | srpU, | ||
bool | tccU, | ||
bool | feU, | ||
bool | memU, | ||
bool | syncCheck, | ||
bool | feIdCheck, | ||
bool | forceToKeepFRdata | ||
) |
Definition at line 11 of file DCCDataUnpacker.cc.
References ebEventBlock_, eeEventBlock_, electronicsMapper_, DCCEventBlock::enableFeIdChecks(), and DCCEventBlock::enableSyncChecks().
DCCDataUnpacker::~DCCDataUnpacker | ( | ) |
|
inline |
Get the associated event
Definition at line 225 of file DCCDataUnpacker.h.
References currentEvent_.
|
inline |
Definition at line 154 of file DCCDataUnpacker.h.
References dccHeaders_.
Referenced by DCCEventBlock::updateCollectors().
|
inline |
Get the collection pointers
Definition at line 136 of file DCCDataUnpacker.h.
References ebDigis_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 148 of file DCCDataUnpacker.h.
References ebSrFlags_.
Referenced by DCCEBSRPBlock::updateCollectors().
|
inline |
Definition at line 145 of file DCCDataUnpacker.h.
References ecalPSs_.
Referenced by DCCEETCCBlock::updateCollectors().
|
inline |
Definition at line 142 of file DCCDataUnpacker.h.
References ecalTps_.
Referenced by DCCEETCCBlock::updateCollectors(), and DCCEBTCCBlock::updateCollectors().
|
inline |
Definition at line 139 of file DCCDataUnpacker.h.
References eeDigis_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 151 of file DCCDataUnpacker.h.
References eeSrFlags_.
Referenced by DCCEESRPBlock::updateCollectors().
|
inline |
Get the ECAL electronics Mapper
Definition at line 205 of file DCCDataUnpacker.h.
References electronicsMapper_.
Referenced by printStatusRecords().
uint16_t DCCDataUnpacker::getCCUValue | ( | const int | fed, |
const int | ccu | ||
) | const |
Definition at line 97 of file DCCDataUnpacker.cc.
References EcalElectronicsMapping::dccTowerConstituents(), electronicsMapper_, getChannelValue(), EcalElectronicsMapper::getSMId(), mps_fire::i, EcalElectronicsMapper::mapping(), findQualityFiles::size, and heppy_batch::val.
Referenced by setChannelStatusDB(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
uint16_t DCCDataUnpacker::getChannelStatus | ( | const DetId & | id | ) | const |
Definition at line 54 of file DCCDataUnpacker.cc.
References chdb_, EcalCondObjectContainer< T >::end(), and EcalCondObjectContainer< T >::find().
Referenced by getChannelValue(), and setChannelStatusDB().
uint16_t DCCDataUnpacker::getChannelValue | ( | const DetId & | id | ) | const |
Definition at line 80 of file DCCDataUnpacker.cc.
References getChannelStatus().
Referenced by getCCUValue(), printStatusRecords(), setChannelStatusDB(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
uint16_t DCCDataUnpacker::getChannelValue | ( | const int | fed, |
const int | ccu, | ||
const int | strip, | ||
const int | xtal | ||
) | const |
Definition at line 85 of file DCCDataUnpacker.cc.
References runTauDisplay::eid, electronicsMapper_, getChannelStatus(), EcalElectronicsMapping::getDetId(), EcalElectronicsMapper::getSMId(), and EcalElectronicsMapper::mapping().
|
inline |
Definition at line 183 of file DCCDataUnpacker.h.
References invalidBlockLengths_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 163 of file DCCDataUnpacker.h.
References invalidChIds_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 173 of file DCCDataUnpacker.h.
References invalidEEChIds_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 167 of file DCCDataUnpacker.h.
References invalidEEGains_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 170 of file DCCDataUnpacker.h.
References invalidEEGainsSwitch_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 157 of file DCCDataUnpacker.h.
References invalidGains_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 160 of file DCCDataUnpacker.h.
References invalidGainsSwitch_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 189 of file DCCDataUnpacker.h.
References invalidMemBlockSizes_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 192 of file DCCDataUnpacker.h.
References invalidMemChIds_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 195 of file DCCDataUnpacker.h.
References invalidMemGains_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 186 of file DCCDataUnpacker.h.
References invalidMemTtIds_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 177 of file DCCDataUnpacker.h.
References invalidTTIds_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 180 of file DCCDataUnpacker.h.
References invalidZSXtalIds_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 198 of file DCCDataUnpacker.h.
References pnDiodeDigis_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Functions to work with Channel Status DB
Definition at line 211 of file DCCDataUnpacker.h.
References chdb_, getCCUValue(), getChannelStatus(), getChannelValue(), and digi_MixPreMix_cfi::strip.
Referenced by EcalRawToDigi::beginRun().
|
inline |
Definition at line 72 of file DCCDataUnpacker.h.
References dccHeaders_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Set the collection pointers
Definition at line 66 of file DCCDataUnpacker.h.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 75 of file DCCDataUnpacker.h.
References ebSrFlags_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 84 of file DCCDataUnpacker.h.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 81 of file DCCDataUnpacker.h.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 69 of file DCCDataUnpacker.h.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 78 of file DCCDataUnpacker.h.
References eeSrFlags_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 113 of file DCCDataUnpacker.h.
References invalidBlockLengths_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 93 of file DCCDataUnpacker.h.
References invalidChIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 103 of file DCCDataUnpacker.h.
References invalidEEChIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 97 of file DCCDataUnpacker.h.
References invalidEEGains_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 100 of file DCCDataUnpacker.h.
References invalidEEGainsSwitch_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 87 of file DCCDataUnpacker.h.
References invalidGains_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 90 of file DCCDataUnpacker.h.
References invalidGainsSwitch_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 122 of file DCCDataUnpacker.h.
References invalidMemBlockSizes_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 125 of file DCCDataUnpacker.h.
References invalidMemChIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 128 of file DCCDataUnpacker.h.
References invalidMemGains_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 119 of file DCCDataUnpacker.h.
References invalidMemTtIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 107 of file DCCDataUnpacker.h.
References invalidTTIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 110 of file DCCDataUnpacker.h.
References invalidZSXtalIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 116 of file DCCDataUnpacker.h.
References pnDiodeDigis_, and x.
Referenced by EcalRawToDigi::produce().
void DCCDataUnpacker::unpack | ( | const uint64_t * | buffer, |
size_t | bufferSize, | ||
unsigned int | smId, | ||
unsigned int | fedId | ||
) |
Unpack data from a buffer
Definition at line 28 of file DCCDataUnpacker.cc.
References currentEvent_, ebEventBlock_, eeEventBlock_, DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), and DCCEventBlock::updateCollectors().
Referenced by EcalRawToDigi::produce().
|
protected |
Definition at line 258 of file DCCDataUnpacker.h.
Referenced by getChannelStatus(), and setChannelStatusDB().
|
protected |
Definition at line 259 of file DCCDataUnpacker.h.
Referenced by currentEvent(), and unpack().
|
protected |
Definition at line 236 of file DCCDataUnpacker.h.
Referenced by dccHeadersCollection(), and setDccHeadersCollection().
|
protected |
Definition at line 232 of file DCCDataUnpacker.h.
Referenced by ebDigisCollection(), and setEBDigisCollection().
|
protected |
Definition at line 260 of file DCCDataUnpacker.h.
Referenced by DCCDataUnpacker(), unpack(), and ~DCCDataUnpacker().
|
protected |
Definition at line 245 of file DCCDataUnpacker.h.
Referenced by ebSrFlagsCollection(), and setEBSrFlagsCollection().
|
protected |
Definition at line 235 of file DCCDataUnpacker.h.
Referenced by ecalPSsCollection(), and setEcalPSsCollection().
|
protected |
Definition at line 234 of file DCCDataUnpacker.h.
Referenced by ecalTpsCollection(), and setEcalTpsCollection().
|
protected |
Definition at line 233 of file DCCDataUnpacker.h.
Referenced by eeDigisCollection(), and setEEDigisCollection().
|
protected |
Definition at line 261 of file DCCDataUnpacker.h.
Referenced by DCCDataUnpacker(), unpack(), and ~DCCDataUnpacker().
|
protected |
Definition at line 246 of file DCCDataUnpacker.h.
Referenced by eeSrFlagsCollection(), and setEESrFlagsCollection().
|
protected |
Definition at line 257 of file DCCDataUnpacker.h.
Referenced by DCCDataUnpacker(), electronicsMapper(), getCCUValue(), and getChannelValue().
|
protected |
Definition at line 249 of file DCCDataUnpacker.h.
Referenced by invalidBlockLengthsCollection(), and setInvalidBlockLengthsCollection().
|
protected |
Definition at line 239 of file DCCDataUnpacker.h.
Referenced by invalidChIdsCollection(), and setInvalidChIdsCollection().
|
protected |
Definition at line 243 of file DCCDataUnpacker.h.
Referenced by invalidEEChIdsCollection(), and setInvalidEEChIdsCollection().
|
protected |
Definition at line 241 of file DCCDataUnpacker.h.
Referenced by invalidEEGainsCollection(), and setInvalidEEGainsCollection().
|
protected |
Definition at line 242 of file DCCDataUnpacker.h.
Referenced by invalidEEGainsSwitchCollection(), and setInvalidEEGainsSwitchCollection().
|
protected |
Definition at line 237 of file DCCDataUnpacker.h.
Referenced by invalidGainsCollection(), and setInvalidGainsCollection().
|
protected |
Definition at line 238 of file DCCDataUnpacker.h.
Referenced by invalidGainsSwitchCollection(), and setInvalidGainsSwitchCollection().
|
protected |
Definition at line 252 of file DCCDataUnpacker.h.
Referenced by invalidMemBlockSizesCollection(), and setInvalidMemBlockSizesCollection().
|
protected |
Definition at line 253 of file DCCDataUnpacker.h.
Referenced by invalidMemChIdsCollection(), and setInvalidMemChIdsCollection().
|
protected |
Definition at line 254 of file DCCDataUnpacker.h.
Referenced by invalidMemGainsCollection(), and setInvalidMemGainsCollection().
|
protected |
Definition at line 251 of file DCCDataUnpacker.h.
Referenced by invalidMemTtIdsCollection(), and setInvalidMemTtIdsCollection().
|
protected |
Definition at line 247 of file DCCDataUnpacker.h.
Referenced by invalidTTIdsCollection(), and setInvalidTTIdsCollection().
|
protected |
Definition at line 248 of file DCCDataUnpacker.h.
Referenced by invalidZSXtalIdsCollection(), and setInvalidZSXtalIdsCollection().
|
protected |
Definition at line 255 of file DCCDataUnpacker.h.
Referenced by pnDiodeDigisCollection(), and setPnDiodeDigisCollection().
|
static |
Definition at line 227 of file DCCDataUnpacker.h.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCEBSRPBlock::checkSrpIdAndNumbSRFlags(), DCCEETCCBlock::checkTccIdAndNumbTTs(), DCCEBTCCBlock::checkTccIdAndNumbTTs(), EcalDCCHeaderRuntypeDecoder::Decode(), EcalDCCHeaderRuntypeDecoder::DecodeSetting(), EcalDCCHeaderRuntypeDecoder::DecodeSettingGlobal(), EcalRawToDigi::EcalRawToDigi(), DCCTowerBlock::fillEcalElectronicsError(), DCCSCBlock::fillEcalElectronicsError(), DCCMemBlock::fillPnDiodeDigisCollection(), EcalElectronicsMapper::getDCCId(), EcalElectronicsMapper::getSMId(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), DCCFEBlock::unpack(), DCCSRPBlock::unpack(), DCCMemBlock::unpack(), DCCTCCBlock::unpack(), DCCMemBlock::unpackMemTowerData(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().