#include <DCCFEBlock.h>
Public Member Functions | |
DCCFEBlock (DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack, bool forceToKeepFRdata) | |
void | display (std::ostream &o) override |
void | enableFeIdChecks () |
unsigned int | getLength () override |
int | unpack (const uint64_t **data, unsigned int *dwToEnd, bool zs, unsigned int expectedTowerID) |
void | updateCollectors () override |
void | zsFlag (bool zs) |
~DCCFEBlock () override | |
Public Member Functions inherited from DCCDataBlockPrototype | |
DCCDataBlockPrototype (DCCDataUnpacker *unpacker, EcalElectronicsMapper *mapper, DCCEventBlock *event, bool unpack=true) | |
void | enableSyncChecks () |
virtual int | unpack (const uint64_t **data, unsigned int *dwToEnd) |
virtual void | updateEventPointers () |
virtual | ~DCCDataBlockPrototype () |
Protected Member Functions | |
virtual void | fillEcalElectronicsError (std::unique_ptr< EcalElectronicsIdCollection > *) |
virtual int | unpackXtalData (unsigned int stripID, unsigned int xtalID) |
Protected Attributes | |
unsigned int | blockSize_ |
unsigned int | bx_ |
bool | checkFeId_ |
unsigned int | expTowerID_ |
unsigned int | expXtalTSamples_ |
bool | forceToKeepFRdata_ |
std::unique_ptr< EcalElectronicsIdCollection > * | invalidBlockLengths_ |
std::unique_ptr< EcalElectronicsIdCollection > * | invalidTTIds_ |
std::unique_ptr< EcalElectronicsIdCollection > * | invalidZSXtalIds_ |
unsigned int | l1_ |
unsigned int | lastStripId_ |
unsigned int | lastXtalId_ |
unsigned int | nTSamples_ |
unsigned int | numbDWInXtalBlock_ |
unsigned int | towerId_ |
unsigned int | unfilteredDataBlockLength_ |
unsigned int | xtalBlockSize_ |
short * | xtalGains_ |
bool | zs_ |
Protected Attributes inherited from DCCDataBlockPrototype | |
unsigned int | blockLength_ |
const uint64_t * | data_ |
const uint64_t ** | datap_ |
unsigned int * | dwToEnd_ |
bool | error_ |
DCCEventBlock * | event_ |
EcalElectronicsMapper * | mapper_ |
bool | sync_ |
DCCDataUnpacker * | unpacker_ |
bool | unpackInternalData_ |
Definition at line 22 of file DCCFEBlock.h.
DCCFEBlock::DCCFEBlock | ( | DCCDataUnpacker * | u, |
EcalElectronicsMapper * | m, | ||
DCCEventBlock * | e, | ||
bool | unpack, | ||
bool | forceToKeepFRdata | ||
) |
Definition at line 7 of file DCCFEBlock.cc.
References expXtalTSamples_, EcalElectronicsMapper::getUnfilteredTowerBlockLength(), DCCDataBlockPrototype::mapper_, numbDWInXtalBlock_, EcalElectronicsMapper::numbXtalTSamples(), unfilteredDataBlockLength_, and xtalGains_.
|
inlineoverride |
|
overridevirtual |
Reimplemented from DCCDataBlockPrototype.
Definition at line 225 of file DCCFEBlock.cc.
References DCCDataBlockPrototype::blockLength_, bx_, l1_, nTSamples_, and towerId_.
Referenced by enableFeIdChecks().
|
inline |
Definition at line 30 of file DCCFEBlock.h.
References checkFeId_, data, display(), EcalTangentSkim_cfg::o, unpack(), DCCDataBlockPrototype::unpack(), and updateCollectors().
Referenced by DCCEventBlock::enableFeIdChecks().
|
inlineprotectedvirtual |
Reimplemented in DCCSCBlock, and DCCTowerBlock.
Definition at line 42 of file DCCFEBlock.h.
Referenced by unpack().
|
inlineoverridevirtual |
Reimplemented from DCCDataBlockPrototype.
Definition at line 38 of file DCCFEBlock.h.
References DCCDataBlockPrototype::blockLength_.
int DCCFEBlock::unpack | ( | const uint64_t ** | data, |
unsigned int * | dwToEnd, | ||
bool | zs, | ||
unsigned int | expectedTowerID | ||
) |
Definition at line 22 of file DCCFEBlock.cc.
References BLOCK_UNPACKED, DCCDataBlockPrototype::blockLength_, blockSize_, DCCEventBlock::bx(), bx_, checkFeId_, data, DCCDataBlockPrototype::data_, DCCDataBlockPrototype::datap_, DCCDataBlockPrototype::dwToEnd_, DCCDataBlockPrototype::event_, expTowerID_, expXtalTSamples_, FE_MEM, fillEcalElectronicsError(), forceToKeepFRdata_, DCCEventBlock::fov(), EcalElectronicsMapper::getActiveDCC(), EcalElectronicsMapper::getActiveSM(), DCCEventBlock::getHLTChannel(), EcalElectronicsMapper::getNumChannelsInDcc(), H_FOV_MASK, invalidBlockLengths_, invalidTTIds_, isSynced(), l1_, DCCEventBlock::l1A(), lastStripId_, lastXtalId_, DCCDataBlockPrototype::mapper_, nTSamples_, numbDWInXtalBlock_, DCCEventBlock::setFESyncNumbers(), DCCDataUnpacker::silentMode_, SKIP_BLOCK_UNPACKING, STOP_EVENT_UNPACKING, DCCDataBlockPrototype::sync_, TCC_BX_MASK, TCC_L1_MASK, TOWER_BX_B, TOWER_BX_MASK, TOWER_ID_MASK, TOWER_L1_B, TOWER_L1_MASK, TOWER_LENGTH_B, TOWER_LENGTH_MASK, TOWER_NSAMP_B, TOWER_NSAMP_MASK, towerId_, unfilteredDataBlockLength_, unpackXtalData(), DCCDataBlockPrototype::updateEventPointers(), xtalBlockSize_, and zs_.
Referenced by enableFeIdChecks(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
inlineprotectedvirtual |
Reimplemented in DCCSCBlock, and DCCTowerBlock.
Definition at line 41 of file DCCFEBlock.h.
References BLOCK_UNPACKED.
Referenced by unpack().
|
overridevirtual |
Reimplemented from DCCDataBlockPrototype.
Reimplemented in DCCSCBlock, and DCCTowerBlock.
Definition at line 16 of file DCCFEBlock.cc.
References invalidBlockLengths_, DCCDataUnpacker::invalidBlockLengthsCollection(), invalidTTIds_, DCCDataUnpacker::invalidTTIdsCollection(), invalidZSXtalIds_, DCCDataUnpacker::invalidZSXtalIdsCollection(), and DCCDataBlockPrototype::unpacker_.
Referenced by enableFeIdChecks(), DCCTowerBlock::updateCollectors(), DCCSCBlock::updateCollectors(), and DCCEventBlock::updateCollectors().
|
inline |
|
protected |
Definition at line 58 of file DCCFEBlock.h.
Referenced by unpack().
|
protected |
Definition at line 59 of file DCCFEBlock.h.
|
protected |
Definition at line 45 of file DCCFEBlock.h.
Referenced by enableFeIdChecks(), and unpack().
|
protected |
Definition at line 46 of file DCCFEBlock.h.
Referenced by DCCSCBlock::fillEcalElectronicsError(), DCCTowerBlock::fillEcalElectronicsError(), and unpack().
|
protected |
Definition at line 48 of file DCCFEBlock.h.
Referenced by DCCFEBlock(), and unpack().
|
protected |
Definition at line 47 of file DCCFEBlock.h.
Referenced by unpack().
|
protected |
Definition at line 65 of file DCCFEBlock.h.
Referenced by unpack(), and updateCollectors().
|
protected |
Definition at line 63 of file DCCFEBlock.h.
Referenced by unpack(), and updateCollectors().
|
protected |
Definition at line 64 of file DCCFEBlock.h.
Referenced by DCCSCBlock::unpackXtalData(), DCCTowerBlock::unpackXtalData(), and updateCollectors().
|
protected |
Definition at line 60 of file DCCFEBlock.h.
|
protected |
Definition at line 50 of file DCCFEBlock.h.
Referenced by unpack(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
protected |
Definition at line 51 of file DCCFEBlock.h.
Referenced by unpack(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
protected |
Definition at line 56 of file DCCFEBlock.h.
Referenced by display(), unpack(), DCCSCBlock::unpackXtalData(), and DCCTowerBlock::unpackXtalData().
|
protected |
Definition at line 54 of file DCCFEBlock.h.
Referenced by DCCFEBlock(), unpack(), DCCSCBlock::unpackXtalData(), and DCCTowerBlock::unpackXtalData().
|
protected |
Definition at line 53 of file DCCFEBlock.h.
Referenced by display(), unpack(), DCCSCBlock::unpackXtalData(), and DCCTowerBlock::unpackXtalData().
|
protected |
Definition at line 49 of file DCCFEBlock.h.
Referenced by DCCFEBlock(), and unpack().
|
protected |
Definition at line 55 of file DCCFEBlock.h.
Referenced by unpack().
|
protected |
Definition at line 62 of file DCCFEBlock.h.
Referenced by DCCFEBlock(), DCCTowerBlock::unpackXtalData(), DCCSCBlock::unpackXtalData(), and ~DCCFEBlock().
|
protected |
Definition at line 42 of file DCCFEBlock.h.
Referenced by unpack(), DCCTowerBlock::unpackXtalData(), DCCSCBlock::unpackXtalData(), and zsFlag().