#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::auto_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 31 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_, 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 127 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 55 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(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
void DCCEventBlock::display | ( | std::ostream & | o | ) |
Definition at line 177 of file DCCEventBlock.cc.
References blockLength_, bx_, dccErrors_, feChStatus_, fedId_, i, gen::k, l1_, runNumber_, sr_, srChStatus_, tccChStatus_, triggerType_, tzs_, and zs_.
void DCCEventBlock::enableFeIdChecks | ( | ) |
Definition at line 54 of file DCCEventBlock.cc.
References DCCFEBlock::enableFeIdChecks(), and towerBlock_.
Referenced by DCCDataUnpacker::DCCDataUnpacker().
void DCCEventBlock::enableSyncChecks | ( | ) |
Definition at line 45 of file DCCEventBlock.cc.
References DCCDataBlockPrototype::enableSyncChecks(), memBlock_, srpBlock_, tccBlock_, and towerBlock_.
Referenced by DCCDataUnpacker::DCCDataUnpacker().
|
inline |
Definition at line 52 of file DCCEventBlock.h.
References fov_.
Referenced by DCCEBSRPBlock::addSRFlagToCollection(), DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCFEBlock::unpack(), DCCSRPBlock::unpack(), DCCMemBlock::unpack(), and DCCTCCBlock::unpack().
|
inline |
|
inline |
Definition at line 54 of file DCCEventBlock.h.
References l1_.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCEBSRPBlock::checkSrpIdAndNumbSRFlags(), DCCEETCCBlock::checkTccIdAndNumbTTs(), DCCEBTCCBlock::checkTccIdAndNumbTTs(), DCCTowerBlock::fillEcalElectronicsError(), DCCSCBlock::fillEcalElectronicsError(), DCCFEBlock::unpack(), DCCSRPBlock::unpack(), DCCMemBlock::unpack(), DCCTCCBlock::unpack(), DCCMemBlock::unpackMemTowerData(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
inline |
|
protected |
Definition at line 60 of file DCCEventBlock.cc.
References bx(), bx_, data_, dwToEnd_, l1_, mapper_, and EcalElectronicsMapper::numbXtalTSamples().
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
void DCCEventBlock::reset | ( | void | ) |
Definition at line 34 of file DCCEventBlock.cc.
References feBx_, feLv1_, srpBx_, srpLv1_, tccBx_, and tccLv1_.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
inline |
Definition at line 59 of file DCCEventBlock.h.
References bx(), feBx_, and feLv1_.
Referenced by DCCFEBlock::unpack(), and DCCMemBlock::unpack().
|
inline |
|
inline |
Definition at line 58 of file DCCEventBlock.h.
References bx(), srpBx_, and srpLv1_.
Referenced by DCCSRPBlock::unpack().
|
inline |
Definition at line 60 of file DCCEventBlock.h.
References bx(), tccBx_, and tccLv1_.
Referenced by DCCTCCBlock::unpack().
|
inline |
|
inlinevirtual |
Reimplemented in DCCEBEventBlock, and DCCEEEventBlock.
Definition at line 39 of file DCCEventBlock.h.
|
inline |
|
inlineprotectedvirtual |
Reimplemented in DCCEBEventBlock, and DCCEEEventBlock.
Definition at line 69 of file DCCEventBlock.h.
References BLOCK_UNPACKED.
void DCCEventBlock::updateCollectors | ( | ) |
Definition at line 113 of file DCCEventBlock.cc.
References dccHeaders_, DCCDataUnpacker::dccHeadersCollection(), memBlock_, srpBlock_, tccBlock_, towerBlock_, unpacker_, DCCFEBlock::updateCollectors(), DCCDataBlockPrototype::updateCollectors(), and DCCMemBlock::updateCollectors().
Referenced by DCCDataUnpacker::unpack().
|
protected |
Definition at line 95 of file DCCEventBlock.h.
Referenced by display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 91 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), bx(), display(), next_tower_search(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 72 of file DCCEventBlock.h.
Referenced by next_tower_search(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), DCCEEEventBlock::unpackTCCBlocks(), and DCCEBEventBlock::unpackTCCBlocks().
|
protected |
Definition at line 96 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 120 of file DCCEventBlock.h.
Referenced by updateCollectors().
|
protected |
Definition at line 99 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 74 of file DCCEventBlock.h.
Referenced by next_tower_search(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), DCCEEEventBlock::unpackTCCBlocks(), and DCCEBEventBlock::unpackTCCBlocks().
|
protected |
Definition at line 73 of file DCCEventBlock.h.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 82 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setFESyncNumbers().
|
protected |
Definition at line 78 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 90 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 82 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setFESyncNumbers().
|
protected |
Definition at line 116 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 118 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), and DCCEEEventBlock::DCCEEEventBlock().
|
protected |
Definition at line 89 of file DCCEventBlock.h.
Referenced by fov(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 113 of file DCCEventBlock.h.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 80 of file DCCEventBlock.h.
Referenced by DCCEventBlock(), getHLTChannel(), and setHLTChannel().
|
protected |
Definition at line 92 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), l1A(), next_tower_search(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 111 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), and next_tower_search().
|
protected |
Definition at line 102 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), mem(), and DCCEEEventBlock::unpack().
|
protected |
Definition at line 109 of file DCCEventBlock.h.
Referenced by DCCEventBlock(), enableSyncChecks(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), updateCollectors(), and ~DCCEventBlock().
|
protected |
Definition at line 117 of file DCCEventBlock.h.
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 101 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 97 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 98 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 94 of file DCCEventBlock.h.
Referenced by smId().
|
protected |
Definition at line 103 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 87 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 110 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), enableSyncChecks(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), updateCollectors(), and ~DCCEventBlock().
|
protected |
Definition at line 84 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setSRPSyncNumbers().
|
protected |
Definition at line 84 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setSRPSyncNumbers().
|
protected |
Definition at line 114 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 108 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), enableSyncChecks(), DCCEEEventBlock::unpackTCCBlocks(), DCCEBEventBlock::unpackTCCBlocks(), updateCollectors(), and ~DCCEventBlock().
|
protected |
Definition at line 83 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setTCCSyncNumbers().
|
protected |
Definition at line 79 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), display(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), DCCEEEventBlock::unpackTCCBlocks(), and DCCEBEventBlock::unpackTCCBlocks().
|
protected |
Definition at line 83 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), DCCEventBlock(), reset(), and setTCCSyncNumbers().
|
protected |
Definition at line 115 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), and DCCEEEventBlock::DCCEEEventBlock().
|
protected |
Definition at line 107 of file DCCEventBlock.h.
Referenced by DCCEBEventBlock::DCCEBEventBlock(), DCCEEEventBlock::DCCEEEventBlock(), enableFeIdChecks(), enableSyncChecks(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), updateCollectors(), and ~DCCEventBlock().
|
protected |
Definition at line 93 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 105 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 71 of file DCCEventBlock.h.
Referenced by DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), unpacker(), and updateCollectors().
|
protected |
Definition at line 104 of file DCCEventBlock.h.
Referenced by addHeaderToCollection(), display(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().