#include <DCCEventBlock.h>
Public Member Functions | |
unsigned int | bx () |
DCCEventBlock (DCCDataUnpacker *u, EcalElectronicsMapper *m, bool hU, bool srpU, bool tccU, bool feU, bool memU, bool forceToKeepFRdata) | |
void | display (std::ostream &o) |
void | enableFeIdChecks () |
void | enableSyncChecks () |
unsigned int | fov () |
short | getHLTChannel (int channel) |
unsigned int | l1A () |
unsigned int | mem () |
void | reset () |
void | setFESyncNumbers (short l1, short bx, short id) |
void | setHLTChannel (int channel, short value) |
void | setSRPSyncNumbers (short l1, short bx) |
void | setTCCSyncNumbers (short l1, short bx, short id) |
unsigned int | smId () |
virtual void | unpack (const uint64_t *buffer, size_t bufferSize, unsigned int expFedId) |
DCCDataUnpacker * | unpacker () |
void | updateCollectors () |
virtual | ~DCCEventBlock () |
Protected Member Functions | |
void | addHeaderToCollection () |
unsigned int | next_tower_search (const unsigned int current_tower_id) |
virtual int | unpackTCCBlocks () |
Protected Attributes | |
unsigned int | blockLength_ |
unsigned int | bx_ |
const uint64_t * | data_ |
unsigned int | dccErrors_ |
std::unique_ptr< EcalRawDataCollection > * | dccHeaders_ |
unsigned int | detailedTriggerType_ |
unsigned int | dwToEnd_ |
unsigned int | eventSize_ |
std::vector< short > | feBx_ |
std::vector< short > | feChStatus_ |
unsigned int | fedId_ |
std::vector< short > | feLv1_ |
bool | feUnpacking_ |
bool | forceToKeepFRdata_ |
unsigned int | fov_ |
bool | headerUnpacking_ |
std::vector< short > | hlt_ |
unsigned int | l1_ |
EcalElectronicsMapper * | mapper_ |
unsigned int | mem_ |
DCCMemBlock * | memBlock_ |
bool | memUnpacking_ |
unsigned int | orbitCounter_ |
unsigned int | runNumber_ |
unsigned int | runType_ |
unsigned int | smId_ |
unsigned int | sr_ |
unsigned int | srChStatus_ |
DCCSRPBlock * | srpBlock_ |
short | srpBx_ |
short | srpLv1_ |
bool | srpUnpacking_ |
DCCTCCBlock * | tccBlock_ |
std::vector< short > | tccBx_ |
std::vector< short > | tccChStatus_ |
std::vector< short > | tccLv1_ |
bool | tccUnpacking_ |
DCCFEBlock * | towerBlock_ |
unsigned int | triggerType_ |
unsigned int | tzs_ |
DCCDataUnpacker * | unpacker_ |
unsigned int | zs_ |
Definition at line 29 of file DCCEventBlock.h.
DCCEventBlock::DCCEventBlock | ( | DCCDataUnpacker * | u, |
EcalElectronicsMapper * | m, | ||
bool | hU, | ||
bool | srpU, | ||
bool | tccU, | ||
bool | feU, | ||
bool | memU, | ||
bool | forceToKeepFRdata | ||
) |
Definition at line 14 of file DCCEventBlock.cc.
References feBx_, feChStatus_, feLv1_, hlt_, visualization-live-secondInstance_cfg::m, memBlock_, srpBx_, srpLv1_, tccBx_, tccChStatus_, and tccLv1_.
|
virtual |
Definition at line 210 of file DCCEventBlock.cc.
References memBlock_, srpBlock_, tccBlock_, and towerBlock_.
|
protected |
Definition at line 140 of file DCCEventBlock.cc.
References bx_, dccErrors_, ecaldqm::dccId(), EcalDCCHeaderRuntypeDecoder::Decode(), detailedTriggerType_, feBx_, feChStatus_, fedId_, feLv1_, EcalElectronicsMapper::getActiveSM(), l1_, mapper_, orbitCounter_, runNumber_, runType_, EcalDCCHeaderBlock::setBasicTriggerType(), EcalDCCHeaderBlock::setBX(), EcalDCCHeaderBlock::setErrors(), EcalDCCHeaderBlock::setFEBx(), EcalDCCHeaderBlock::setFedId(), EcalDCCHeaderBlock::setFELv1(), EcalDCCHeaderBlock::setFEStatus(), EcalDCCHeaderBlock::setId(), EcalDCCHeaderBlock::setLV1(), EcalDCCHeaderBlock::setOrbit(), EcalDCCHeaderBlock::setRunNumber(), EcalDCCHeaderBlock::setSelectiveReadout(), EcalDCCHeaderBlock::setSRPBx(), EcalDCCHeaderBlock::setSRPLv1(), EcalDCCHeaderBlock::setSrpStatus(), EcalDCCHeaderBlock::setTCCBx(), EcalDCCHeaderBlock::setTCCLv1(), EcalDCCHeaderBlock::setTccStatus(), EcalDCCHeaderBlock::setTestZeroSuppression(), EcalDCCHeaderBlock::setZeroSuppression(), sr_, srChStatus_, srpBx_, srpLv1_, tccBx_, tccChStatus_, tccLv1_, triggerType_, tzs_, and zs_.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
inline |
Definition at line 58 of file DCCEventBlock.h.
References bx_.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCEETCCBlock::checkTccIdAndNumbTTs(), DCCEBTCCBlock::checkTccIdAndNumbTTs(), next_tower_search(), setFESyncNumbers(), setSRPSyncNumbers(), setTCCSyncNumbers(), DCCFEBlock::unpack(), DCCSRPBlock::unpack(), DCCMemBlock::unpack(), DCCTCCBlock::unpack(), DCCSCBlock::unpackXtalData(), and DCCTowerBlock::unpackXtalData().
void DCCEventBlock::display | ( | std::ostream & | o | ) |
Definition at line 183 of file DCCEventBlock.cc.
References blockLength_, bx_, dccErrors_, feChStatus_, fedId_, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmdumpme::k, l1_, EcalTangentSkim_cfg::o, runNumber_, sr_, srChStatus_, tccChStatus_, triggerType_, tzs_, and zs_.
void DCCEventBlock::enableFeIdChecks | ( | ) |
Definition at line 76 of file DCCEventBlock.cc.
References DCCFEBlock::enableFeIdChecks(), and towerBlock_.
Referenced by DCCDataUnpacker::DCCDataUnpacker().
void DCCEventBlock::enableSyncChecks | ( | ) |
Definition at line 69 of file DCCEventBlock.cc.
References DCCDataBlockPrototype::enableSyncChecks(), memBlock_, srpBlock_, tccBlock_, and towerBlock_.
Referenced by DCCDataUnpacker::DCCDataUnpacker().
|
inline |
Definition at line 55 of file DCCEventBlock.h.
References fov_.
Referenced by DCCEBSRPBlock::addSRFlagToCollection(), DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCSRPBlock::unpack(), DCCFEBlock::unpack(), DCCMemBlock::unpack(), and DCCTCCBlock::unpack().
|
inline |
|
inline |
Definition at line 57 of file DCCEventBlock.h.
References l1_.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCEBSRPBlock::checkSrpIdAndNumbSRFlags(), DCCEETCCBlock::checkTccIdAndNumbTTs(), DCCEBTCCBlock::checkTccIdAndNumbTTs(), DCCSCBlock::fillEcalElectronicsError(), DCCTowerBlock::fillEcalElectronicsError(), DCCSRPBlock::unpack(), DCCFEBlock::unpack(), DCCMemBlock::unpack(), DCCTCCBlock::unpack(), DCCMemBlock::unpackMemTowerData(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
inline |
|
protected |
Definition at line 78 of file DCCEventBlock.cc.
References bx(), bx_, data_, dwToEnd_, l1_, mapper_, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, EcalElectronicsMapper::numbXtalTSamples(), and Validation_hcalonly_cfi::sign.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
void DCCEventBlock::reset | ( | void | ) |
Definition at line 55 of file DCCEventBlock.cc.
References feBx_, feLv1_, srpBx_, srpLv1_, tccBx_, and tccLv1_.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
inline |
Definition at line 65 of file DCCEventBlock.h.
References bx(), feBx_, feLv1_, and l1ctLayer2EG_cff::id.
Referenced by DCCFEBlock::unpack(), and DCCMemBlock::unpack().
|
inline |
|
inline |
Definition at line 61 of file DCCEventBlock.h.
References bx(), srpBx_, and srpLv1_.
Referenced by DCCSRPBlock::unpack().
|
inline |
Definition at line 69 of file DCCEventBlock.h.
References bx(), l1ctLayer2EG_cff::id, tccBx_, and tccLv1_.
Referenced by DCCTCCBlock::unpack().
|
inline |
|
inlinevirtual |
Reimplemented in DCCEBEventBlock, and DCCEEEventBlock.
Definition at line 42 of file DCCEventBlock.h.
|
inline |
|
inlineprotectedvirtual |
Reimplemented in DCCEBEventBlock, and DCCEEEventBlock.
Definition at line 79 of file DCCEventBlock.h.
References BLOCK_UNPACKED.
void DCCEventBlock::updateCollectors | ( | ) |
Definition at line 131 of file DCCEventBlock.cc.
References dccHeaders_, DCCDataUnpacker::dccHeadersCollection(), memBlock_, srpBlock_, tccBlock_, towerBlock_, unpacker_, DCCFEBlock::updateCollectors(), DCCMemBlock::updateCollectors(), and DCCDataBlockPrototype::updateCollectors().
Referenced by DCCDataUnpacker::unpack().
|
protected |
Definition at line 107 of file DCCEventBlock.h.
Referenced by display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 103 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), bx(), display(), next_tower_search(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 82 of file DCCEventBlock.h.
Referenced by next_tower_search(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), DCCEEEventBlock::unpackTCCBlocks(), and DCCEBEventBlock::unpackTCCBlocks().
|
protected |
Definition at line 108 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 132 of file DCCEventBlock.h.
Referenced by updateCollectors().
|
protected |
Definition at line 111 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 84 of file DCCEventBlock.h.
Referenced by next_tower_search(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), DCCEEEventBlock::unpackTCCBlocks(), and DCCEBEventBlock::unpackTCCBlocks().
|
protected |
Definition at line 83 of file DCCEventBlock.h.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 93 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setFESyncNumbers().
|
protected |
Definition at line 88 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 102 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 92 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setFESyncNumbers().
|
protected |
Definition at line 128 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 130 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), and DCCEEEventBlock::DCCEEEventBlock().
|
protected |
Definition at line 101 of file DCCEventBlock.h.
Referenced by fov(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 125 of file DCCEventBlock.h.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 90 of file DCCEventBlock.h.
Referenced by DCCEventBlock(), getHLTChannel(), and setHLTChannel().
|
protected |
Definition at line 104 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), l1A(), next_tower_search(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 123 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), and next_tower_search().
|
protected |
Definition at line 114 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), mem(), and DCCEEEventBlock::unpack().
|
protected |
Definition at line 121 of file DCCEventBlock.h.
Referenced by DCCEventBlock(), enableSyncChecks(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), updateCollectors(), and ~DCCEventBlock().
|
protected |
Definition at line 129 of file DCCEventBlock.h.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 113 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 109 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 110 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 106 of file DCCEventBlock.h.
Referenced by smId().
|
protected |
Definition at line 115 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 99 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 122 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), enableSyncChecks(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), updateCollectors(), and ~DCCEventBlock().
|
protected |
Definition at line 97 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setSRPSyncNumbers().
|
protected |
Definition at line 96 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setSRPSyncNumbers().
|
protected |
Definition at line 126 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 120 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), enableSyncChecks(), DCCEEEventBlock::unpackTCCBlocks(), DCCEBEventBlock::unpackTCCBlocks(), updateCollectors(), and ~DCCEventBlock().
|
protected |
Definition at line 95 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setTCCSyncNumbers().
|
protected |
Definition at line 89 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), display(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), DCCEEEventBlock::unpackTCCBlocks(), and DCCEBEventBlock::unpackTCCBlocks().
|
protected |
Definition at line 94 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setTCCSyncNumbers().
|
protected |
Definition at line 127 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), and DCCEEEventBlock::DCCEEEventBlock().
|
protected |
Definition at line 119 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), enableFeIdChecks(), enableSyncChecks(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), updateCollectors(), and ~DCCEventBlock().
|
protected |
Definition at line 105 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 117 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 81 of file DCCEventBlock.h.
Referenced by DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), unpacker(), and updateCollectors().
|
protected |
Definition at line 116 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().