#include <DCCFEBlock.h>
Public Member Functions | |
DCCFEBlock (DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack, bool forceToKeepFRdata) | |
void | display (std::ostream &o) |
void | enableFeIdChecks () |
unsigned int | getLength () |
int | unpack (const uint64_t **data, unsigned int *dwToEnd, bool zs, unsigned int expectedTowerID) |
virtual void | updateCollectors () |
void | zsFlag (bool zs) |
virtual | ~DCCFEBlock () |
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::auto_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::auto_ptr < EcalElectronicsIdCollection > * | invalidBlockLengths_ |
std::auto_ptr < EcalElectronicsIdCollection > * | invalidTTIds_ |
std::auto_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 9 of file DCCFEBlock.cc.
References expXtalTSamples_, EcalElectronicsMapper::getUnfilteredTowerBlockLength(), DCCDataBlockPrototype::mapper_, numbDWInXtalBlock_, EcalElectronicsMapper::numbXtalTSamples(), unfilteredDataBlockLength_, and xtalGains_.
|
inlinevirtual |
|
virtual |
Reimplemented from DCCDataBlockPrototype.
Definition at line 254 of file DCCFEBlock.cc.
References DCCDataBlockPrototype::blockLength_, bx_, l1_, nTSamples_, and towerId_.
|
inline |
Definition at line 32 of file DCCFEBlock.h.
References checkFeId_.
Referenced by DCCEventBlock::enableFeIdChecks().
|
inlineprotectedvirtual |
Reimplemented in DCCSCBlock, and DCCTowerBlock.
Definition at line 45 of file DCCFEBlock.h.
Referenced by unpack().
|
inlinevirtual |
Reimplemented from DCCDataBlockPrototype.
Definition at line 40 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 29 of file DCCFEBlock.cc.
References BLOCK_UNPACKED, DCCDataBlockPrototype::blockLength_, blockSize_, DCCEventBlock::bx(), bx_, checkFeId_, AlCaHLTBitMon_QueryRunRegistry::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 DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
inlineprotectedvirtual |
Reimplemented in DCCSCBlock, and DCCTowerBlock.
Definition at line 44 of file DCCFEBlock.h.
References BLOCK_UNPACKED.
Referenced by unpack().
|
virtual |
Reimplemented from DCCDataBlockPrototype.
Reimplemented in DCCSCBlock, and DCCTowerBlock.
Definition at line 20 of file DCCFEBlock.cc.
References invalidBlockLengths_, DCCDataUnpacker::invalidBlockLengthsCollection(), invalidTTIds_, DCCDataUnpacker::invalidTTIdsCollection(), invalidZSXtalIds_, DCCDataUnpacker::invalidZSXtalIdsCollection(), and DCCDataBlockPrototype::unpacker_.
Referenced by DCCSCBlock::updateCollectors(), DCCTowerBlock::updateCollectors(), and DCCEventBlock::updateCollectors().
|
inline |
|
protected |
Definition at line 62 of file DCCFEBlock.h.
Referenced by unpack().
|
protected |
Definition at line 63 of file DCCFEBlock.h.
|
protected |
Definition at line 49 of file DCCFEBlock.h.
Referenced by enableFeIdChecks(), and unpack().
|
protected |
Definition at line 50 of file DCCFEBlock.h.
Referenced by DCCTowerBlock::fillEcalElectronicsError(), DCCSCBlock::fillEcalElectronicsError(), and unpack().
|
protected |
Definition at line 52 of file DCCFEBlock.h.
Referenced by DCCFEBlock(), and unpack().
|
protected |
Definition at line 51 of file DCCFEBlock.h.
Referenced by unpack().
|
protected |
Definition at line 69 of file DCCFEBlock.h.
Referenced by unpack(), and updateCollectors().
|
protected |
Definition at line 67 of file DCCFEBlock.h.
Referenced by unpack(), and updateCollectors().
|
protected |
Definition at line 68 of file DCCFEBlock.h.
Referenced by DCCTowerBlock::unpackXtalData(), DCCSCBlock::unpackXtalData(), and updateCollectors().
|
protected |
Definition at line 64 of file DCCFEBlock.h.
|
protected |
Definition at line 54 of file DCCFEBlock.h.
Referenced by unpack(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
protected |
Definition at line 55 of file DCCFEBlock.h.
Referenced by unpack(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
protected |
Definition at line 60 of file DCCFEBlock.h.
Referenced by display(), unpack(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
protected |
Definition at line 58 of file DCCFEBlock.h.
Referenced by DCCFEBlock(), unpack(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
protected |
Definition at line 57 of file DCCFEBlock.h.
Referenced by display(), unpack(), DCCTowerBlock::unpackXtalData(), and DCCSCBlock::unpackXtalData().
|
protected |
Definition at line 53 of file DCCFEBlock.h.
Referenced by DCCFEBlock(), and unpack().
|
protected |
Definition at line 59 of file DCCFEBlock.h.
Referenced by unpack().
|
protected |
Definition at line 66 of file DCCFEBlock.h.
Referenced by DCCFEBlock(), DCCTowerBlock::unpackXtalData(), DCCSCBlock::unpackXtalData(), and ~DCCFEBlock().
|
protected |
Definition at line 45 of file DCCFEBlock.h.
Referenced by unpack(), DCCTowerBlock::unpackXtalData(), DCCSCBlock::unpackXtalData(), and zsFlag().