#include <DCCTCCBlock.h>
Public Member Functions | |
virtual void | addTriggerPrimitivesToCollection () |
DCCTCCBlock (DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack) | |
void | display (std::ostream &o) override |
int | unpack (const uint64_t **data, unsigned int *dwToEnd, short tccChId=0) |
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 bool | checkTccIdAndNumbTTs () |
Protected Attributes | |
unsigned int | bx_ |
unsigned int | expNumbTTs_ |
unsigned int | expTccId_ |
unsigned int | l1_ |
unsigned int | nTSamples_ |
unsigned int | nTTs_ |
EcalPseudoStripInputDigi * | pPS_ |
unsigned int | ps_ |
std::unique_ptr < EcalPSInputDigiCollection > * | pss_ |
EcalTriggerPrimitiveDigi * | pTP_ |
unsigned int | tccId_ |
std::unique_ptr < EcalTrigPrimDigiCollection > * | tps_ |
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 DCCTCCBlock.h.
DCCTCCBlock::DCCTCCBlock | ( | DCCDataUnpacker * | u, |
EcalElectronicsMapper * | m, | ||
DCCEventBlock * | e, | ||
bool | unpack | ||
) |
Class constructor
Definition at line 7 of file DCCTCCBlock.cc.
|
inlinevirtual |
Reimplemented in DCCEBTCCBlock, and DCCEETCCBlock.
Definition at line 40 of file DCCTCCBlock.h.
Referenced by unpack().
|
inlineprotectedvirtual |
Reimplemented in DCCEBTCCBlock, and DCCEETCCBlock.
Definition at line 51 of file DCCTCCBlock.h.
Referenced by unpack().
|
overridevirtual |
Reimplemented from DCCDataBlockPrototype.
Definition at line 112 of file DCCTCCBlock.cc.
References bx_, l1_, nTSamples_, nTTs_, and tccId_.
int DCCTCCBlock::unpack | ( | const uint64_t ** | data, |
unsigned int * | dwToEnd, | ||
short | tccChId = 0 |
||
) |
Definition at line 10 of file DCCTCCBlock.cc.
References addTriggerPrimitivesToCollection(), B_MASK, BLOCK_UNPACKED, DCCDataBlockPrototype::blockLength_, DCCEventBlock::bx(), bx_, checkTccIdAndNumbTTs(), data, DCCDataBlockPrototype::data_, DCCDataBlockPrototype::datap_, DCCDataBlockPrototype::dwToEnd_, DCCDataBlockPrototype::event_, DCCEventBlock::fov(), EcalElectronicsMapper::getActiveDCC(), DCCDataBlockPrototype::getLength(), H_FOV_MASK, isSynced(), l1_, DCCEventBlock::l1A(), DCCDataBlockPrototype::mapper_, nTSamples_, nTTs_, ps_, DCCEventBlock::setTCCSyncNumbers(), DCCDataUnpacker::silentMode_, SKIP_BLOCK_UNPACKING, STOP_EVENT_UNPACKING, DCCDataBlockPrototype::sync_, TCC_BX_B, TCC_BX_MASK, TCC_ID_MASK, TCC_L1_B, TCC_L1_MASK, TCC_PS_B, TCC_SRP, TCC_TS_B, TCC_TS_MASK, TCC_TT_B, TCC_TT_MASK, tccId_, DCCDataBlockPrototype::unpackInternalData_, and DCCDataBlockPrototype::updateEventPointers().
Referenced by DCCEEEventBlock::unpackTCCBlocks(), and DCCEBEventBlock::unpackTCCBlocks().
|
protected |
Definition at line 54 of file DCCTCCBlock.h.
|
protected |
Definition at line 58 of file DCCTCCBlock.h.
Referenced by DCCEBTCCBlock::addTriggerPrimitivesToCollection(), DCCEBTCCBlock::checkTccIdAndNumbTTs(), and DCCEBTCCBlock::DCCEBTCCBlock().
|
protected |
Definition at line 59 of file DCCTCCBlock.h.
Referenced by DCCEBTCCBlock::checkTccIdAndNumbTTs().
|
protected |
Definition at line 55 of file DCCTCCBlock.h.
|
protected |
Definition at line 57 of file DCCTCCBlock.h.
Referenced by DCCEBTCCBlock::addTriggerPrimitivesToCollection(), display(), and unpack().
|
protected |
Definition at line 56 of file DCCTCCBlock.h.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCEETCCBlock::checkTccIdAndNumbTTs(), DCCEBTCCBlock::checkTccIdAndNumbTTs(), display(), and unpack().
|
protected |
Definition at line 63 of file DCCTCCBlock.h.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection().
|
protected |
Definition at line 60 of file DCCTCCBlock.h.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCEETCCBlock::getLength(), and unpack().
|
protected |
Definition at line 65 of file DCCTCCBlock.h.
Referenced by DCCEETCCBlock::updateCollectors().
|
protected |
Definition at line 62 of file DCCTCCBlock.h.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), and DCCEBTCCBlock::addTriggerPrimitivesToCollection().
|
protected |
Definition at line 51 of file DCCTCCBlock.h.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection(), DCCEBTCCBlock::addTriggerPrimitivesToCollection(), DCCEETCCBlock::checkTccIdAndNumbTTs(), DCCEBTCCBlock::checkTccIdAndNumbTTs(), display(), and unpack().
|
protected |
Definition at line 64 of file DCCTCCBlock.h.
Referenced by DCCEETCCBlock::updateCollectors(), and DCCEBTCCBlock::updateCollectors().