#include <RPCAMC13Record.h>
|
| AMCHeader (bool length_correct, bool last_block, bool first_block, bool enabled, bool present, bool valid, bool crc_ok, unsigned int size, unsigned int block_number, unsigned int amc_number, unsigned int board_id) |
|
| AMCHeader (std::uint64_t const record=enabled_mask_|present_mask_|valid_mask_|crc_ok_mask_) |
|
unsigned int | getAMCNumber () const |
|
unsigned int | getBlockNumber () const |
|
unsigned int | getBoardId () const |
|
std::uint64_t const & | getRecord () const |
|
unsigned int | getSize () const |
|
unsigned int | getSizeInBlock () const |
|
bool | hasTotalSize () const |
|
bool | isCRCOk () const |
|
bool | isEnabled () const |
|
bool | isFirstBlock () const |
|
bool | isLastBlock () const |
|
bool | isLengthCorrect () const |
|
bool | isPresent () const |
|
bool | isValid () const |
|
void | reset () |
|
void | set (std::uint64_t const record) |
|
void | setAMCNumber (unsigned int amc_number) |
|
void | setBlockNumber (unsigned int block_number) |
|
void | setBoardId (unsigned int board_id) |
|
void | setCRCOk (bool crc_ok) |
|
void | setEnabled (bool enabled) |
|
void | setFirstBlock (bool first_block) |
|
void | setLastBlock (bool last_block) |
|
void | setLengthCorrect (bool length_correct) |
|
void | setPresent (bool present) |
|
void | setSize (unsigned int size) |
|
void | setValid (bool valid) |
|
Definition at line 75 of file RPCAMC13Record.h.
◆ AMCHeader() [1/2]
◆ AMCHeader() [2/2]
rpcamc13::AMCHeader::AMCHeader |
( |
bool |
length_correct, |
|
|
bool |
last_block, |
|
|
bool |
first_block, |
|
|
bool |
enabled, |
|
|
bool |
present, |
|
|
bool |
valid, |
|
|
bool |
crc_ok, |
|
|
unsigned int |
size, |
|
|
unsigned int |
block_number, |
|
|
unsigned int |
amc_number, |
|
|
unsigned int |
board_id |
|
) |
| |
Definition at line 25 of file RPCAMC13Record.cc.
References pixel_dqm_sourceclient-live_cfg::enabled, setAMCNumber(), setBlockNumber(), setBoardId(), setCRCOk(), setEnabled(), setFirstBlock(), setLastBlock(), setLengthCorrect(), setPresent(), setSize(), setValid(), findQualityFiles::size, and RunInfoPI::valid.
◆ getAMCNumber()
unsigned int rpcamc13::AMCHeader::getAMCNumber |
( |
| ) |
const |
◆ getBlockNumber()
unsigned int rpcamc13::AMCHeader::getBlockNumber |
( |
| ) |
const |
◆ getBoardId()
unsigned int rpcamc13::AMCHeader::getBoardId |
( |
| ) |
const |
◆ getRecord()
std::uint64_t const& rpcamc13::AMCHeader::getRecord |
( |
| ) |
const |
◆ getSize()
unsigned int rpcamc13::AMCHeader::getSize |
( |
| ) |
const |
◆ getSizeInBlock()
unsigned int rpcamc13::AMCHeader::getSizeInBlock |
( |
| ) |
const |
◆ hasTotalSize()
bool rpcamc13::AMCHeader::hasTotalSize |
( |
| ) |
const |
◆ isCRCOk()
bool rpcamc13::AMCHeader::isCRCOk |
( |
| ) |
const |
◆ isEnabled()
bool rpcamc13::AMCHeader::isEnabled |
( |
| ) |
const |
◆ isFirstBlock()
bool rpcamc13::AMCHeader::isFirstBlock |
( |
| ) |
const |
◆ isLastBlock()
bool rpcamc13::AMCHeader::isLastBlock |
( |
| ) |
const |
◆ isLengthCorrect()
bool rpcamc13::AMCHeader::isLengthCorrect |
( |
| ) |
const |
◆ isPresent()
bool rpcamc13::AMCHeader::isPresent |
( |
| ) |
const |
◆ isValid()
bool rpcamc13::AMCHeader::isValid |
( |
| ) |
const |
◆ reset()
void rpcamc13::AMCHeader::reset |
( |
| ) |
|
◆ set()
void rpcamc13::AMCHeader::set |
( |
std::uint64_t const |
record | ) |
|
◆ setAMCNumber()
void rpcamc13::AMCHeader::setAMCNumber |
( |
unsigned int |
amc_number | ) |
|
◆ setBlockNumber()
void rpcamc13::AMCHeader::setBlockNumber |
( |
unsigned int |
block_number | ) |
|
◆ setBoardId()
void rpcamc13::AMCHeader::setBoardId |
( |
unsigned int |
board_id | ) |
|
◆ setCRCOk()
void rpcamc13::AMCHeader::setCRCOk |
( |
bool |
crc_ok | ) |
|
◆ setEnabled()
void rpcamc13::AMCHeader::setEnabled |
( |
bool |
enabled | ) |
|
◆ setFirstBlock()
void rpcamc13::AMCHeader::setFirstBlock |
( |
bool |
first_block | ) |
|
◆ setLastBlock()
void rpcamc13::AMCHeader::setLastBlock |
( |
bool |
last_block | ) |
|
◆ setLengthCorrect()
void rpcamc13::AMCHeader::setLengthCorrect |
( |
bool |
length_correct | ) |
|
◆ setPresent()
void rpcamc13::AMCHeader::setPresent |
( |
bool |
present | ) |
|
◆ setSize()
void rpcamc13::AMCHeader::setSize |
( |
unsigned int |
size | ) |
|
◆ setValid()
void rpcamc13::AMCHeader::setValid |
( |
bool |
valid | ) |
|
◆ amc_number_mask_
const std::uint64_t rpcamc13::AMCHeader::amc_number_mask_ = 0x00000000000f0000 |
|
staticprotected |
◆ amc_number_offset_
unsigned const int rpcamc13::AMCHeader::amc_number_offset_ = 16 |
|
staticprotected |
◆ block_number_mask_
const std::uint64_t rpcamc13::AMCHeader::block_number_mask_ = 0x000000000ff00000 |
|
staticprotected |
◆ block_number_offset_
unsigned const int rpcamc13::AMCHeader::block_number_offset_ = 20 |
|
staticprotected |
◆ board_id_mask_
const std::uint64_t rpcamc13::AMCHeader::board_id_mask_ = 0x000000000000ffff |
|
staticprotected |
◆ board_id_offset_
unsigned const int rpcamc13::AMCHeader::board_id_offset_ = 0 |
|
staticprotected |
◆ crc_ok_mask_
const std::uint64_t rpcamc13::AMCHeader::crc_ok_mask_ = 0x0100000000000000 |
|
staticprotected |
◆ enabled_mask_
const std::uint64_t rpcamc13::AMCHeader::enabled_mask_ = 0x0800000000000000 |
|
staticprotected |
◆ length_incorrect_mask_
const std::uint64_t rpcamc13::AMCHeader::length_incorrect_mask_ = 0x4000000000000000 |
|
staticprotected |
◆ more_blocks_mask_
const std::uint64_t rpcamc13::AMCHeader::more_blocks_mask_ = 0x2000000000000000 |
|
staticprotected |
◆ present_mask_
const std::uint64_t rpcamc13::AMCHeader::present_mask_ = 0x0400000000000000 |
|
staticprotected |
◆ record_
std::uint64_t rpcamc13::AMCHeader::record_ |
|
protected |
◆ segmented_mask_
const std::uint64_t rpcamc13::AMCHeader::segmented_mask_ = 0x1000000000000000 |
|
staticprotected |
◆ size_limit_
unsigned const int rpcamc13::AMCHeader::size_limit_ = 0x1400 |
|
staticprotected |
◆ size_mask_
const std::uint64_t rpcamc13::AMCHeader::size_mask_ = 0x00ffffff00000000 |
|
staticprotected |
◆ size_max_
unsigned const int rpcamc13::AMCHeader::size_max_ = 0x1000 |
|
staticprotected |
◆ size_offset_
unsigned const int rpcamc13::AMCHeader::size_offset_ = 32 |
|
staticprotected |
◆ valid_mask_
const std::uint64_t rpcamc13::AMCHeader::valid_mask_ = 0x0200000000000000 |
|
staticprotected |