#include <DCCMemBlock.h>
Public Member Functions | |
DCCMemBlock (DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e) | |
void | display (std::ostream &o) |
int | unpack (const uint64_t **data, unsigned int *dwToEnd, unsigned int expectedTowerID) |
void | updateCollectors () |
virtual | ~DCCMemBlock () |
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 | updateEventPointers () |
virtual | ~DCCDataBlockPrototype () |
Protected Member Functions | |
void | fillPnDiodeDigisCollection () |
void | unpackMemTowerData () |
Definition at line 34 of file DCCMemBlock.h.
DCCMemBlock::DCCMemBlock | ( | DCCDataUnpacker * | u, |
EcalElectronicsMapper * | m, | ||
DCCEventBlock * | e | ||
) |
Definition at line 9 of file DCCMemBlock.cc.
References expXtalTSamples_, EcalElectronicsMapper::getUnfilteredTowerBlockLength(), mps_fire::i, kSamplesPerPn_, DCCDataBlockPrototype::mapper_, numbDWInXtalBlock_, EcalElectronicsMapper::numbXtalTSamples(), pn_, unfilteredTowerBlockLength_, and xtalBlockSize_.
|
inlinevirtual |
Definition at line 40 of file DCCMemBlock.h.
References data, display(), fillPnDiodeDigisCollection(), connectstrParser::o, DCCDataBlockPrototype::unpack(), unpack(), unpackMemTowerData(), and updateCollectors().
|
virtual |
Reimplemented from DCCDataBlockPrototype.
Definition at line 348 of file DCCMemBlock.cc.
References DCCDataBlockPrototype::blockLength_, bx_, l1_, nTSamples_, and towerId_.
Referenced by ~DCCMemBlock().
|
protected |
Definition at line 286 of file DCCMemBlock.cc.
References EcalBarrel, EcalEndcap, EcalElectronicsMapper::getActiveSM(), kSamplesPerPn_, lastTowerBeforeMem_, DCCDataBlockPrototype::mapper_, NUMB_SM_EB_MIN_MIN, NUMB_SM_EB_PLU_MAX, NUMB_SM_EE_MIN_MAX, NUMB_SM_EE_MIN_MIN, NUMB_SM_EE_PLU_MAX, NUMB_SM_EE_PLU_MIN, pn_, EcalPnDiodeDigi::setSample(), EcalPnDiodeDigi::setSize(), DCCDataUnpacker::silentMode_, and towerId_.
Referenced by unpack(), and ~DCCMemBlock().
int DCCMemBlock::unpack | ( | const uint64_t ** | data, |
unsigned int * | dwToEnd, | ||
unsigned int | expectedTowerID | ||
) |
Definition at line 41 of file DCCMemBlock.cc.
References BLOCK_UNPACKED, DCCDataBlockPrototype::blockLength_, DCCEventBlock::bx(), bx_, data, DCCDataBlockPrototype::data_, DCCDataBlockPrototype::datap_, DCCDataBlockPrototype::dwToEnd_, DCCDataBlockPrototype::error_, DCCDataBlockPrototype::event_, expTowerID_, expXtalTSamples_, FE_MEM, fillPnDiodeDigisCollection(), DCCEventBlock::fov(), EcalElectronicsMapper::getActiveDCC(), EcalElectronicsMapper::getActiveSM(), H_FOV_MASK, hcalTTPDigis_cfi::id, isSynced(), l1_, DCCEventBlock::l1A(), lastStripId_, lastXtalId_, DCCDataBlockPrototype::mapper_, nTSamples_, DCCEventBlock::setFESyncNumbers(), DCCDataUnpacker::silentMode_, SKIP_BLOCK_UNPACKING, STOP_EVENT_UNPACKING, DCCDataBlockPrototype::sync_, 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_, unfilteredTowerBlockLength_, unpackMemTowerData(), and DCCDataBlockPrototype::updateEventPointers().
Referenced by DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), and ~DCCMemBlock().
|
protected |
Definition at line 176 of file DCCMemBlock.cc.
References DCCDataBlockPrototype::data_, DCCDataBlockPrototype::error_, DCCDataBlockPrototype::event_, muonCSCDigis_cfi::gain, EcalElectronicsMapper::getActiveDCC(), EcalElectronicsMapper::getActiveSM(), mps_fire::i, cuy::ib, hcalTTPDigis_cfi::id, diffTreeTool::index, DCCEventBlock::l1A(), lastTowerBeforeMem_, DCCDataBlockPrototype::mapper_, nTSamples_, numbDWInXtalBlock_, pn_, simplePhotonAnalyzer_cfi::sample, DCCDataUnpacker::silentMode_, groupFilesInBlocks::temp, TOWER_DIGI_MASK, TOWER_STRIPID_MASK, TOWER_XTALID_B, TOWER_XTALID_MASK, and towerId_.
Referenced by unpack(), and ~DCCMemBlock().
|
virtual |
Reimplemented from DCCDataBlockPrototype.
Definition at line 29 of file DCCMemBlock.cc.
References invalidMemBlockSizes_, DCCDataUnpacker::invalidMemBlockSizesCollection(), invalidMemChIds_, DCCDataUnpacker::invalidMemChIdsCollection(), invalidMemGains_, DCCDataUnpacker::invalidMemGainsCollection(), invalidMemTtIds_, DCCDataUnpacker::invalidMemTtIdsCollection(), pnDiodeDigis_, DCCDataUnpacker::pnDiodeDigisCollection(), and DCCDataBlockPrototype::unpacker_.
Referenced by DCCEventBlock::updateCollectors(), and ~DCCMemBlock().
|
protected |
Definition at line 69 of file DCCMemBlock.h.
|
protected |
Definition at line 55 of file DCCMemBlock.h.
Referenced by unpack().
|
protected |
Definition at line 56 of file DCCMemBlock.h.
Referenced by DCCMemBlock(), and unpack().
|
protected |
Definition at line 73 of file DCCMemBlock.h.
Referenced by updateCollectors().
|
protected |
Definition at line 72 of file DCCMemBlock.h.
Referenced by updateCollectors().
|
protected |
Definition at line 75 of file DCCMemBlock.h.
Referenced by updateCollectors().
|
protected |
Definition at line 74 of file DCCMemBlock.h.
Referenced by updateCollectors().
|
protected |
Definition at line 57 of file DCCMemBlock.h.
Referenced by DCCMemBlock(), and fillPnDiodeDigisCollection().
|
protected |
Definition at line 70 of file DCCMemBlock.h.
|
protected |
Definition at line 59 of file DCCMemBlock.h.
Referenced by unpack().
|
protected |
Definition at line 61 of file DCCMemBlock.h.
Referenced by fillPnDiodeDigisCollection(), and unpackMemTowerData().
|
protected |
Definition at line 60 of file DCCMemBlock.h.
Referenced by unpack().
|
protected |
Definition at line 66 of file DCCMemBlock.h.
Referenced by display(), unpack(), and unpackMemTowerData().
|
protected |
Definition at line 64 of file DCCMemBlock.h.
Referenced by DCCMemBlock(), and unpackMemTowerData().
|
protected |
Definition at line 53 of file DCCMemBlock.h.
Referenced by DCCMemBlock(), fillPnDiodeDigisCollection(), and unpackMemTowerData().
|
protected |
Definition at line 76 of file DCCMemBlock.h.
Referenced by updateCollectors().
|
protected |
Definition at line 63 of file DCCMemBlock.h.
Referenced by display(), fillPnDiodeDigisCollection(), unpack(), and unpackMemTowerData().
|
protected |
Definition at line 67 of file DCCMemBlock.h.
Referenced by DCCMemBlock(), and unpack().
|
protected |
Definition at line 65 of file DCCMemBlock.h.
Referenced by DCCMemBlock().