#include <DCCDataUnpacker.h>
Static Public Attributes | |
static std::atomic< bool > | silentMode_ |
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(), DCCEventBlock::enableSyncChecks(), ecalcalib_dqm_sourceclient-live_cfg::feIdCheck, and ecalcalib_dqm_sourceclient-live_cfg::syncCheck.
DCCDataUnpacker::~DCCDataUnpacker | ( | ) |
|
inline |
Get the associated event
Definition at line 183 of file DCCDataUnpacker.h.
References currentEvent_.
|
inline |
Definition at line 130 of file DCCDataUnpacker.h.
References dccHeaders_.
Referenced by DCCEventBlock::updateCollectors().
|
inline |
Get the collection pointers
Definition at line 118 of file DCCDataUnpacker.h.
References ebDigis_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 126 of file DCCDataUnpacker.h.
References ebSrFlags_.
Referenced by DCCEBSRPBlock::updateCollectors().
|
inline |
Definition at line 124 of file DCCDataUnpacker.h.
References ecalPSs_.
Referenced by DCCEETCCBlock::updateCollectors().
|
inline |
Definition at line 122 of file DCCDataUnpacker.h.
References ecalTps_.
Referenced by DCCEETCCBlock::updateCollectors(), and DCCEBTCCBlock::updateCollectors().
|
inline |
Definition at line 120 of file DCCDataUnpacker.h.
References eeDigis_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 128 of file DCCDataUnpacker.h.
References eeSrFlags_.
Referenced by DCCEESRPBlock::updateCollectors().
|
inline |
Get the ECAL electronics Mapper
Definition at line 165 of file DCCDataUnpacker.h.
References electronicsMapper_.
Referenced by printStatusRecords().
uint16_t DCCDataUnpacker::getCCUValue | ( | const int | fed, |
const int | ccu | ||
) | const |
Definition at line 89 of file DCCDataUnpacker.cc.
References EcalElectronicsMapping::dccTowerConstituents(), electronicsMapper_, getChannelValue(), EcalElectronicsMapper::getSMId(), mps_fire::i, EcalElectronicsMapper::mapping(), findQualityFiles::size, and heppy_batch::val.
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 76 of file DCCDataUnpacker.cc.
References getChannelStatus().
Referenced by getCCUValue(), printStatusRecords(), DCCSCBlock::unpackXtalData(), and DCCTowerBlock::unpackXtalData().
uint16_t DCCDataUnpacker::getChannelValue | ( | const int | fed, |
const int | ccu, | ||
const int | strip, | ||
const int | xtal | ||
) | const |
Definition at line 78 of file DCCDataUnpacker.cc.
References runTauDisplay::eid, electronicsMapper_, getChannelStatus(), EcalElectronicsMapping::getDetId(), EcalElectronicsMapper::getSMId(), EcalElectronicsMapper::mapping(), and nano_mu_digi_cff::strip.
|
inline |
Definition at line 150 of file DCCDataUnpacker.h.
References invalidBlockLengths_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 136 of file DCCDataUnpacker.h.
References invalidChIds_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 143 of file DCCDataUnpacker.h.
References invalidEEChIds_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 139 of file DCCDataUnpacker.h.
References invalidEEGains_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 141 of file DCCDataUnpacker.h.
References invalidEEGainsSwitch_.
Referenced by DCCSCBlock::updateCollectors().
|
inline |
Definition at line 132 of file DCCDataUnpacker.h.
References invalidGains_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 134 of file DCCDataUnpacker.h.
References invalidGainsSwitch_.
Referenced by DCCTowerBlock::updateCollectors().
|
inline |
Definition at line 154 of file DCCDataUnpacker.h.
References invalidMemBlockSizes_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 156 of file DCCDataUnpacker.h.
References invalidMemChIds_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 158 of file DCCDataUnpacker.h.
References invalidMemGains_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 152 of file DCCDataUnpacker.h.
References invalidMemTtIds_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Definition at line 146 of file DCCDataUnpacker.h.
References invalidTTIds_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 148 of file DCCDataUnpacker.h.
References invalidZSXtalIds_.
Referenced by DCCFEBlock::updateCollectors().
|
inline |
Definition at line 160 of file DCCDataUnpacker.h.
References pnDiodeDigis_.
Referenced by DCCMemBlock::updateCollectors().
|
inline |
Functions to work with Channel Status DB
Definition at line 170 of file DCCDataUnpacker.h.
References chdb_.
Referenced by EcalRawToDigi::beginRun().
|
inline |
Definition at line 74 of file DCCDataUnpacker.h.
References dccHeaders_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Set the collection pointers
Definition at line 70 of file DCCDataUnpacker.h.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 76 of file DCCDataUnpacker.h.
References ebSrFlags_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 82 of file DCCDataUnpacker.h.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 80 of file DCCDataUnpacker.h.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 72 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 102 of file DCCDataUnpacker.h.
References invalidBlockLengths_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 88 of file DCCDataUnpacker.h.
References invalidChIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 95 of file DCCDataUnpacker.h.
References invalidEEChIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 91 of file DCCDataUnpacker.h.
References invalidEEGains_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 93 of file DCCDataUnpacker.h.
References invalidEEGainsSwitch_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 84 of file DCCDataUnpacker.h.
References invalidGains_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 86 of file DCCDataUnpacker.h.
References invalidGainsSwitch_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 108 of file DCCDataUnpacker.h.
References invalidMemBlockSizes_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 110 of file DCCDataUnpacker.h.
References invalidMemChIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 112 of file DCCDataUnpacker.h.
References invalidMemGains_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 106 of file DCCDataUnpacker.h.
References invalidMemTtIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 98 of file DCCDataUnpacker.h.
References invalidTTIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 100 of file DCCDataUnpacker.h.
References invalidZSXtalIds_, and x.
Referenced by EcalRawToDigi::produce().
|
inline |
Definition at line 104 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 33 of file DCCDataUnpacker.cc.
References edmScanValgrind::buffer, currentEvent_, ebEventBlock_, eeEventBlock_, l1tstage2_dqm_sourceclient-live_cfg::fedId, DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), and DCCEventBlock::updateCollectors().
Referenced by EcalRawToDigi::produce().
|
protected |
Definition at line 215 of file DCCDataUnpacker.h.
Referenced by getChannelStatus(), and setChannelStatusDB().
|
protected |
Definition at line 216 of file DCCDataUnpacker.h.
Referenced by currentEvent(), and unpack().
|
protected |
Definition at line 193 of file DCCDataUnpacker.h.
Referenced by dccHeadersCollection(), and setDccHeadersCollection().
|
protected |
Definition at line 189 of file DCCDataUnpacker.h.
Referenced by ebDigisCollection(), and setEBDigisCollection().
|
protected |
Definition at line 217 of file DCCDataUnpacker.h.
Referenced by DCCDataUnpacker(), unpack(), and ~DCCDataUnpacker().
|
protected |
Definition at line 202 of file DCCDataUnpacker.h.
Referenced by ebSrFlagsCollection(), and setEBSrFlagsCollection().
|
protected |
Definition at line 192 of file DCCDataUnpacker.h.
Referenced by ecalPSsCollection(), and setEcalPSsCollection().
|
protected |
Definition at line 191 of file DCCDataUnpacker.h.
Referenced by ecalTpsCollection(), and setEcalTpsCollection().
|
protected |
Definition at line 190 of file DCCDataUnpacker.h.
Referenced by eeDigisCollection(), and setEEDigisCollection().
|
protected |
Definition at line 218 of file DCCDataUnpacker.h.
Referenced by DCCDataUnpacker(), unpack(), and ~DCCDataUnpacker().
|
protected |
Definition at line 203 of file DCCDataUnpacker.h.
Referenced by eeSrFlagsCollection(), and setEESrFlagsCollection().
|
protected |
Definition at line 214 of file DCCDataUnpacker.h.
Referenced by DCCDataUnpacker(), electronicsMapper(), getCCUValue(), and getChannelValue().
|
protected |
Definition at line 206 of file DCCDataUnpacker.h.
Referenced by invalidBlockLengthsCollection(), and setInvalidBlockLengthsCollection().
|
protected |
Definition at line 196 of file DCCDataUnpacker.h.
Referenced by invalidChIdsCollection(), and setInvalidChIdsCollection().
|
protected |
Definition at line 200 of file DCCDataUnpacker.h.
Referenced by invalidEEChIdsCollection(), and setInvalidEEChIdsCollection().
|
protected |
Definition at line 198 of file DCCDataUnpacker.h.
Referenced by invalidEEGainsCollection(), and setInvalidEEGainsCollection().
|
protected |
Definition at line 199 of file DCCDataUnpacker.h.
Referenced by invalidEEGainsSwitchCollection(), and setInvalidEEGainsSwitchCollection().
|
protected |
Definition at line 194 of file DCCDataUnpacker.h.
Referenced by invalidGainsCollection(), and setInvalidGainsCollection().
|
protected |
Definition at line 195 of file DCCDataUnpacker.h.
Referenced by invalidGainsSwitchCollection(), and setInvalidGainsSwitchCollection().
|
protected |
Definition at line 209 of file DCCDataUnpacker.h.
Referenced by invalidMemBlockSizesCollection(), and setInvalidMemBlockSizesCollection().
|
protected |
Definition at line 210 of file DCCDataUnpacker.h.
Referenced by invalidMemChIdsCollection(), and setInvalidMemChIdsCollection().
|
protected |
Definition at line 211 of file DCCDataUnpacker.h.
Referenced by invalidMemGainsCollection(), and setInvalidMemGainsCollection().
|
protected |
Definition at line 208 of file DCCDataUnpacker.h.
Referenced by invalidMemTtIdsCollection(), and setInvalidMemTtIdsCollection().
|
protected |
Definition at line 204 of file DCCDataUnpacker.h.
Referenced by invalidTTIdsCollection(), and setInvalidTTIdsCollection().
|
protected |
Definition at line 205 of file DCCDataUnpacker.h.
Referenced by invalidZSXtalIdsCollection(), and setInvalidZSXtalIdsCollection().
|
protected |
Definition at line 212 of file DCCDataUnpacker.h.
Referenced by pnDiodeDigisCollection(), and setPnDiodeDigisCollection().
|
static |
Definition at line 185 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().