Go to the documentation of this file. 1 #ifndef EventFilter_L1TRawToDigi_Block_h
2 #define EventFilter_L1TRawToDigi_Block_h
59 const std::vector<uint32_t>&
payload,
60 unsigned int capID = 0,
61 unsigned int flags = 0,
96 virtual std::unique_ptr<Block>
getBlock();
119 std::unique_ptr<Block>
getBlock()
override;
132 int count(
unsigned int pattern,
unsigned int length)
const;
141 std::unique_ptr<Block>
getBlock()
override;
std::vector< Block > Blocks
unsigned getHeaderSize() const override
void amc(const amc::Header &h)
virtual unsigned getInfrastructureFWVersion() const
MTF7Payload(const uint32_t *data, const uint32_t *end)
MP7Payload(const uint32_t *data, const uint32_t *end, bool legacy_mc=false)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
unsigned getHeaderSize() const override
static constexpr unsigned trailer_size
static const std::vector< unsigned int > block_patterns_
virtual std::unique_ptr< Block > getBlock()
Payload(const uint32_t *data, const uint32_t *end)
BlockHeader getHeader() override
static constexpr unsigned counter_size
std::unique_ptr< Block > getBlock() override
static constexpr unsigned size_mask
Block(const BlockHeader &h, const uint32_t *payload_start, const uint32_t *payload_end)
virtual BlockHeader getHeader()=0
virtual unsigned getHeaderSize() const =0
int count(unsigned int pattern, unsigned int length) const
std::unique_ptr< Block > getBlock() override
static constexpr unsigned max_block_length_
BlockHeader getHeader() override
unsigned getHeaderSize() const override
bool valid(unsigned int pattern) const
const std::vector< uint32_t > & payload() const
static constexpr unsigned size_shift
Block(unsigned int id, const std::vector< uint32_t > &payload, unsigned int capID=0, unsigned int flags=0, block_t type=MP7)
BxBlocks getBxBlocks(unsigned int payloadWordsPerBx, bool bxHeader) const
static constexpr unsigned header_size
BlockHeader getHeader() override
char data[epos_bytes_allocation]
std::vector< uint32_t > payload_
CTP7Payload(const uint32_t *data, const uint32_t *end, amc::Header amcHeader)
unsigned int getSize() const
BlockHeader header() const
bool operator<(const Block &o) const
virtual unsigned getAlgorithmFWVersion() const
std::vector< BxBlock > BxBlocks