#include <Block.h>
Public Member Functions | |
std::unique_ptr< Block > | getBlock () override |
BlockHeader | getHeader () override |
unsigned | getHeaderSize () const override |
MTF7Payload (const uint32_t *data, const uint32_t *end) | |
Public Member Functions inherited from l1t::Payload | |
virtual unsigned | getAlgorithmFWVersion () const |
virtual unsigned | getInfrastructureFWVersion () const |
Payload (const uint32_t *data, const uint32_t *end) | |
virtual | ~Payload () |
Private Member Functions | |
int | count (unsigned int pattern, unsigned int length) const |
bool | valid (unsigned int pattern) const |
Static Private Attributes | |
static const std::vector< unsigned int > | block_patterns_ |
bit patterns of the first bits (of 16bit words) More... | |
static constexpr unsigned | counter_size = 4 |
static constexpr unsigned | DAQ_PAYLOAD_OFFSET = 4 |
Start of the EMTF DAQ payload, in number of 64-bit words. More... | |
static constexpr unsigned | GE11_MAX_PER_BX = 112 |
Maximum number of GE1/1 words per MTF7 payload per bx: 7 GE1/1 links, 2 layers, 8 clusters. More... | |
static constexpr unsigned | GE21_MAX_PER_BX = 0 |
TODO: Maximum number of GE2/1 words per MTF7 payload per bx: ?? GE2/1 links, 2 layers, ?? clusters. More... | |
static constexpr unsigned | header_size = 12 |
static constexpr unsigned | max_block_length_ = 3 |
maximum of the block length (64bits) More... | |
static constexpr unsigned | MAX_BX_PER_PAYLOAD = 8 |
Maximum number of BX per MTF7 payload. More... | |
static constexpr unsigned | ME0_MAX_PER_BX = 0 |
TODO: Maximum number of ME0 words per MTF7 payload per bx: ?? ME0 links, ?? layers, ?? clusters. More... | |
static constexpr unsigned | ME_MAX_PER_BX = 108 |
Maximum number of CSC words per MTF7 payload per bx: 9 links/sectors, 6 stations, 2 LCTs. More... | |
static constexpr unsigned | PAYLOAD_MAX_SIZE |
Maximum number of 64-bit words in the EMTF payload. More... | |
static constexpr unsigned | RPC_MAX_PER_BX = 84 |
Maximum number of RPC words per MTF7 payload per bx: 7 links/sectors, 6 stations, 2 segments. More... | |
static constexpr unsigned | SP_MAX_PER_BX = 6 |
Maximum number of SPz words per MTF7 payload per bx: 3 tracks, 2 words per track. More... | |
static constexpr unsigned | trailer_size = 8 |
Additional Inherited Members | |
Protected Attributes inherited from l1t::Payload | |
unsigned | algo_ |
const uint32_t * | data_ |
const uint32_t * | end_ |
unsigned | infra_ |
l1t::MTF7Payload::MTF7Payload | ( | const uint32_t * | data, |
const uint32_t * | end | ||
) |
Definition at line 111 of file Block.cc.
References l1t::Payload::algo_, counter_size, DAQ_PAYLOAD_OFFSET, data, l1t::Payload::data_, mps_fire::end, l1t::Payload::end_, header_size, mps_fire::i, PAYLOAD_MAX_SIZE, trailer_size, and testProducerWithPsetDescEmpty_cfi::x1.
|
private |
Definition at line 154 of file Block.cc.
References block_patterns_, AlCaHLTBitMon_ParallelJobs::p, and topSingleLeptonDQM_PU_cfi::pattern.
Referenced by getBlock().
|
overridevirtual |
Reimplemented from l1t::Payload.
Definition at line 173 of file Block.cc.
References count(), l1t::Payload::data_, l1t::Payload::end_, mps_fire::i, dqmiolumiharvest::j, max_block_length_, l1t::MTF7, dqmiodumpmetadata::n, topSingleLeptonDQM_PU_cfi::pattern, jetsAK4_Puppi_cff::payload, and valid().
|
inlineoverridevirtual |
Implements l1t::Payload.
|
inlineoverridevirtual |
|
private |
Definition at line 165 of file Block.cc.
References block_patterns_, AlCaHLTBitMon_ParallelJobs::p, and topSingleLeptonDQM_PU_cfi::pattern.
Referenced by getBlock().
|
staticprivate |
|
staticprivate |
Definition at line 140 of file Block.h.
Referenced by MTF7Payload().
|
staticprivate |
Start of the EMTF DAQ payload, in number of 64-bit words.
Definition at line 144 of file Block.h.
Referenced by MTF7Payload().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 139 of file Block.h.
Referenced by MTF7Payload().
|
staticprivate |
maximum of the block length (64bits)
Definition at line 165 of file Block.h.
Referenced by getBlock().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Maximum number of 64-bit words in the EMTF payload.
Definition at line 160 of file Block.h.
Referenced by MTF7Payload().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 141 of file Block.h.
Referenced by MTF7Payload().