#include <DCCDataUnpacker.h>
Static Public Attributes | |
static bool | silentMode_ = false |
Definition at line 49 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 224 of file DCCDataUnpacker.h.
References currentEvent_.
|
inline |
Definition at line 153 of file DCCDataUnpacker.h.
References dccHeaders_.
Referenced by DCCEventBlock::updateCollectors().
|
inline |
Get the collection pointers
Definition at line 135 of file DCCDataUnpacker.h.
References ebDigis_.
Referenced by DCCTowerBlock::updateCollectors(), and EcalUnpackerWorker::work().
|
inline |
Definition at line 147 of file DCCDataUnpacker.h.
References ebSrFlags_.
Referenced by DCCEBSRPBlock::updateCollectors().
|
inline |
Definition at line 144 of file DCCDataUnpacker.h.
References ecalPSs_.
Referenced by DCCEETCCBlock::updateCollectors().
|
inline |
Definition at line 141 of file DCCDataUnpacker.h.
References ecalTps_.
Referenced by DCCEETCCBlock::updateCollectors(), and DCCEBTCCBlock::updateCollectors().
|
inline |
Definition at line 138 of file DCCDataUnpacker.h.
References eeDigis_.
Referenced by DCCSCBlock::updateCollectors(), and EcalUnpackerWorker::work().
|
inline |
Definition at line 150 of file DCCDataUnpacker.h.
References eeSrFlags_.
Referenced by DCCEESRPBlock::updateCollectors().
|
inline |
Get the ECAL electronics Mapper
Definition at line 204 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(), i, and EcalElectronicsMapper::mapping().
Referenced by 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().
uint16_t DCCDataUnpacker::getChannelValue | ( | const DetId & | id | ) | const |
Definition at line 80 of file DCCDataUnpacker.cc.
References getChannelStatus().
Referenced by getCCUValue(), printStatusRecords(), 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 electronicsMapper_, getChannelStatus(), EcalElectronicsMapping::getDetId(), EcalElectronicsMapper::getSMId(), and EcalElectronicsMapper::mapping().
|
inline |
Definition at line 182 of file DCCDataUnpacker.h.
References invalidBlockLengths_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 162 of file DCCDataUnpacker.h.
References invalidChIds_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 172 of file DCCDataUnpacker.h.
References invalidEEChIds_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 166 of file DCCDataUnpacker.h.
References invalidEEGains_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 169 of file DCCDataUnpacker.h.
References invalidEEGainsSwitch_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 156 of file DCCDataUnpacker.h.
References invalidGains_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 159 of file DCCDataUnpacker.h.
References invalidGainsSwitch_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 188 of file DCCDataUnpacker.h.
References invalidMemBlockSizes_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 191 of file DCCDataUnpacker.h.
References invalidMemChIds_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 194 of file DCCDataUnpacker.h.
References invalidMemGains_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 185 of file DCCDataUnpacker.h.
References invalidMemTtIds_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 176 of file DCCDataUnpacker.h.
References invalidTTIds_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 179 of file DCCDataUnpacker.h.
References invalidZSXtalIds_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 197 of file DCCDataUnpacker.h.
References pnDiodeDigis_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Functions to work with Channel Status DB
Definition at line 210 of file DCCDataUnpacker.h.
References chdb_.
Referenced by EcalRawToDigi::beginRun().
|
inline |
Definition at line 71 of file DCCDataUnpacker.h.
References dccHeaders_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Set the collection pointers
Definition at line 65 of file DCCDataUnpacker.h.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 74 of file DCCDataUnpacker.h.
References ebSrFlags_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 83 of file DCCDataUnpacker.h.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 80 of file DCCDataUnpacker.h.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 68 of file DCCDataUnpacker.h.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 77 of file DCCDataUnpacker.h.
References eeSrFlags_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 112 of file DCCDataUnpacker.h.
References invalidBlockLengths_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 92 of file DCCDataUnpacker.h.
References invalidChIds_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 102 of file DCCDataUnpacker.h.
References invalidEEChIds_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 96 of file DCCDataUnpacker.h.
References invalidEEGains_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 99 of file DCCDataUnpacker.h.
References invalidEEGainsSwitch_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 86 of file DCCDataUnpacker.h.
References invalidGains_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 89 of file DCCDataUnpacker.h.
References invalidGainsSwitch_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 121 of file DCCDataUnpacker.h.
References invalidMemBlockSizes_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 124 of file DCCDataUnpacker.h.
References invalidMemChIds_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 127 of file DCCDataUnpacker.h.
References invalidMemGains_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 118 of file DCCDataUnpacker.h.
References invalidMemTtIds_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 106 of file DCCDataUnpacker.h.
References invalidTTIds_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 109 of file DCCDataUnpacker.h.
References invalidZSXtalIds_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and EcalRawToDigi::produce().
|
inline |
Definition at line 115 of file DCCDataUnpacker.h.
References pnDiodeDigis_, and x.
Referenced by EcalUnpackerWorker::EcalUnpackerWorker(), and 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(), and EcalUnpackerWorker::work().
|
protected |
Definition at line 257 of file DCCDataUnpacker.h.
Referenced by getChannelStatus(), and setChannelStatusDB().
|
protected |
Definition at line 258 of file DCCDataUnpacker.h.
Referenced by currentEvent(), and unpack().
|
protected |
Definition at line 235 of file DCCDataUnpacker.h.
Referenced by dccHeadersCollection(), and setDccHeadersCollection().
|
protected |
Definition at line 231 of file DCCDataUnpacker.h.
Referenced by ebDigisCollection(), and setEBDigisCollection().
|
protected |
Definition at line 259 of file DCCDataUnpacker.h.
Referenced by DCCDataUnpacker(), unpack(), and ~DCCDataUnpacker().
|
protected |
Definition at line 244 of file DCCDataUnpacker.h.
Referenced by ebSrFlagsCollection(), and setEBSrFlagsCollection().
|
protected |
Definition at line 234 of file DCCDataUnpacker.h.
Referenced by ecalPSsCollection(), and setEcalPSsCollection().
|
protected |
Definition at line 233 of file DCCDataUnpacker.h.
Referenced by ecalTpsCollection(), and setEcalTpsCollection().
|
protected |
Definition at line 232 of file DCCDataUnpacker.h.
Referenced by eeDigisCollection(), and setEEDigisCollection().
|
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 eeSrFlagsCollection(), and setEESrFlagsCollection().
|
protected |
Definition at line 256 of file DCCDataUnpacker.h.
Referenced by DCCDataUnpacker(), electronicsMapper(), getCCUValue(), and getChannelValue().
|
protected |
Definition at line 248 of file DCCDataUnpacker.h.
Referenced by invalidBlockLengthsCollection(), and setInvalidBlockLengthsCollection().
|
protected |
Definition at line 238 of file DCCDataUnpacker.h.
Referenced by invalidChIdsCollection(), and setInvalidChIdsCollection().
|
protected |
Definition at line 242 of file DCCDataUnpacker.h.
Referenced by invalidEEChIdsCollection(), and setInvalidEEChIdsCollection().
|
protected |
Definition at line 240 of file DCCDataUnpacker.h.
Referenced by invalidEEGainsCollection(), and setInvalidEEGainsCollection().
|
protected |
Definition at line 241 of file DCCDataUnpacker.h.
Referenced by invalidEEGainsSwitchCollection(), and setInvalidEEGainsSwitchCollection().
|
protected |
Definition at line 236 of file DCCDataUnpacker.h.
Referenced by invalidGainsCollection(), and setInvalidGainsCollection().
|
protected |
Definition at line 237 of file DCCDataUnpacker.h.
Referenced by invalidGainsSwitchCollection(), and setInvalidGainsSwitchCollection().
|
protected |
Definition at line 251 of file DCCDataUnpacker.h.
Referenced by invalidMemBlockSizesCollection(), and setInvalidMemBlockSizesCollection().
|
protected |
Definition at line 252 of file DCCDataUnpacker.h.
Referenced by invalidMemChIdsCollection(), and setInvalidMemChIdsCollection().
|
protected |
Definition at line 253 of file DCCDataUnpacker.h.
Referenced by invalidMemGainsCollection(), and setInvalidMemGainsCollection().
|
protected |
Definition at line 250 of file DCCDataUnpacker.h.
Referenced by invalidMemTtIdsCollection(), and setInvalidMemTtIdsCollection().
|
protected |
Definition at line 246 of file DCCDataUnpacker.h.
Referenced by invalidTTIdsCollection(), and setInvalidTTIdsCollection().
|
protected |
Definition at line 247 of file DCCDataUnpacker.h.
Referenced by invalidZSXtalIdsCollection(), and setInvalidZSXtalIdsCollection().
|
protected |
Definition at line 254 of file DCCDataUnpacker.h.
Referenced by pnDiodeDigisCollection(), and setPnDiodeDigisCollection().
|
static |
Definition at line 226 of file DCCDataUnpacker.h.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCEBSRPBlock::checkSrpIdAndNumbSRFlags(), DCCEETCCBlock::checkTccIdAndNumbTTs(), DCCEBTCCBlock::checkTccIdAndNumbTTs(), EcalDCCHeaderRuntypeDecoder::Decode(), EcalDCCHeaderRuntypeDecoder::DecodeSetting(), EcalDCCHeaderRuntypeDecoder::DecodeSettingGlobal(), EcalRawToDigi::EcalRawToDigi(), EcalUnpackerWorker::EcalUnpackerWorker(), 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().