20 Header(
unsigned int amc_no,
unsigned int board_id,
unsigned int size,
unsigned int block=0);
59 Packet(
unsigned int amc,
unsigned int board,
const std::vector<uint64_t>&
load);
63 std::vector<uint64_t>
block(
unsigned int id)
const;
64 std::unique_ptr<uint64_t[]>
data();
81 Header(
unsigned int namc,
unsigned int orbit);
97 static const unsigned int OrN_mask = 0xffffffff;
99 static const unsigned int fov = 1;
108 Trailer(
unsigned int crc,
unsigned int blk,
unsigned int lv1,
unsigned int bx);
134 unsigned int blocks()
const;
135 unsigned int size()
const;
137 void add(
unsigned int board,
const std::vector<uint64_t>&
load);
std::vector< amc::Packet > payload() const
void add(unsigned int board, const std::vector< uint64_t > &load)
static const unsigned int LV1_mask
unsigned int size() const
unsigned int getCRC() const
unsigned int blocks() const
static const unsigned int CRC_mask
static const unsigned int BlkNo_mask
static const unsigned int BX_mask
std::vector< uint64_t > block(unsigned int id) const
Trailer(const uint64_t *data)
void addPayload(const uint64_t *, unsigned int)
std::vector< amc::Packet > payload_
unsigned int getBX() const
unsigned int getBlock() const
static const unsigned int BX_shift
bool write(const edm::Event &ev, unsigned char *ptr, unsigned int size) const
static const unsigned int split_block_size
unsigned int getLV1ID() const
Header header(unsigned int block=0) const
unsigned int size() const
unsigned long long uint64_t
static const unsigned int LV1_shift
static const unsigned int BlkNo_shift
char data[epos_bytes_allocation]
std::unique_ptr< uint64_t[]> data()
bool parse(const uint64_t *, unsigned int)
static const unsigned int CRC_shift
Packet(const uint64_t *d)
unsigned int blocks() const
tuple size
Write out results.
std::vector< uint64_t > payload_