#include <DCCSRPBlock.h>
Public Member Functions | |
DCCSRPBlock (DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack) | |
void | display (std::ostream &o) |
unsigned short | srFlag (unsigned int feChannel) |
int | unpack (const uint64_t **data, unsigned int *dwToEnd, unsigned int numbFlags=SRP_NUMBFLAGS) |
Public Member Functions inherited from DCCDataBlockPrototype | |
DCCDataBlockPrototype (DCCDataUnpacker *unpacker, EcalElectronicsMapper *mapper, DCCEventBlock *event, bool unpack=true) | |
void | enableSyncChecks () |
virtual unsigned int | getLength () |
virtual int | unpack (const uint64_t **data, unsigned int *dwToEnd) |
virtual void | updateCollectors () |
virtual void | updateEventPointers () |
virtual | ~DCCDataBlockPrototype () |
Protected Member Functions | |
virtual void | addSRFlagToCollection () |
virtual bool | checkSrpIdAndNumbSRFlags () |
Protected Attributes | |
unsigned int | bx_ |
unsigned int | expNumbSrFlags_ |
unsigned int | l1_ |
unsigned int | nSRFlags_ |
unsigned short | srFlags_ [SRP_NUMBFLAGS] |
unsigned int | srpId_ |
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 33 of file DCCSRPBlock.h.
DCCSRPBlock::DCCSRPBlock | ( | DCCDataUnpacker * | u, |
EcalElectronicsMapper * | m, | ||
DCCEventBlock * | e, | ||
bool | unpack | ||
) |
Definition at line 6 of file DCCSRPBlock.cc.
References DCCDataBlockPrototype::blockLength_, i, srFlags_, SRP_BLOCKLENGTH, and SRP_NUMBFLAGS.
|
inlineprotectedvirtual |
Reimplemented in DCCEBSRPBlock, and DCCEESRPBlock.
Definition at line 47 of file DCCSRPBlock.h.
Referenced by unpack().
|
inlineprotectedvirtual |
Reimplemented in DCCEBSRPBlock, and DCCEESRPBlock.
Definition at line 49 of file DCCSRPBlock.h.
Referenced by unpack().
|
virtual |
Reimplemented from DCCDataBlockPrototype.
Definition at line 101 of file DCCSRPBlock.cc.
References bx_, i, l1_, nSRFlags_, srFlags_, SRP_NUMBFLAGS, and srpId_.
|
inline |
Definition at line 43 of file DCCSRPBlock.h.
References srFlags_.
Referenced by DCCEESRPBlock::addSRFlagToCollection(), DCCEBSRPBlock::addSRFlagToCollection(), DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
int DCCSRPBlock::unpack | ( | const uint64_t ** | data, |
unsigned int * | dwToEnd, | ||
unsigned int | numbFlags = SRP_NUMBFLAGS |
||
) |
Definition at line 19 of file DCCSRPBlock.cc.
References addSRFlagToCollection(), DCCDataBlockPrototype::blockLength_, DCCEventBlock::bx(), bx_, checkSrpIdAndNumbSRFlags(), data, DCCDataBlockPrototype::data_, DCCDataBlockPrototype::datap_, DCCDataBlockPrototype::dwToEnd_, DCCDataBlockPrototype::error_, DCCDataBlockPrototype::event_, expNumbSrFlags_, DCCEventBlock::fov(), EcalElectronicsMapper::getActiveDCC(), H_FOV_MASK, i, isSynced(), l1_, DCCEventBlock::l1A(), DCCDataBlockPrototype::mapper_, nSRFlags_, DCCEventBlock::setSRPSyncNumbers(), DCCDataUnpacker::silentMode_, SKIP_BLOCK_UNPACKING, srFlags_, SRP_BX_B, SRP_BX_MASK, SRP_ID_MASK, SRP_L1_B, SRP_L1_MASK, SRP_NFLAGS_B, SRP_NFLAGS_MASK, SRP_NUMBFLAGS, srpId_, STOP_EVENT_UNPACKING, DCCDataBlockPrototype::sync_, TCC_SRP, and DCCDataBlockPrototype::updateEventPointers().
Referenced by DCCEEEventBlock::unpack(), and DCCEBEventBlock::unpack().
|
protected |
Definition at line 52 of file DCCSRPBlock.h.
|
protected |
Definition at line 55 of file DCCSRPBlock.h.
Referenced by DCCEESRPBlock::addSRFlagToCollection(), DCCEBSRPBlock::addSRFlagToCollection(), DCCEESRPBlock::checkSrpIdAndNumbSRFlags(), DCCEBSRPBlock::checkSrpIdAndNumbSRFlags(), DCCEBSRPBlock::DCCEBSRPBlock(), and unpack().
|
protected |
Definition at line 53 of file DCCSRPBlock.h.
|
protected |
Definition at line 54 of file DCCSRPBlock.h.
Referenced by DCCEBSRPBlock::checkSrpIdAndNumbSRFlags(), display(), and unpack().
|
protected |
Definition at line 57 of file DCCSRPBlock.h.
Referenced by DCCEESRPBlock::addSRFlagToCollection(), DCCEBSRPBlock::addSRFlagToCollection(), DCCSRPBlock(), display(), srFlag(), and unpack().
|
protected |
Definition at line 49 of file DCCSRPBlock.h.