#include <AMCSpec.h>
Public Member Functions | |
bool | check (unsigned int crc, unsigned int lv1_id, unsigned int size, bool mtf7_mode=false) const |
unsigned int | getCRC () const |
unsigned int | getLV1ID () const |
unsigned int | getSize () const |
uint64_t | raw () const |
Trailer () | |
Trailer (const uint64_t *data) | |
Trailer (unsigned int crc, unsigned int lv1_id, unsigned int size) | |
Static Public Member Functions | |
static void | writeCRC (const uint64_t *start, uint64_t *end) |
Private Attributes | |
uint64_t | data_ |
Static Private Attributes | |
static const unsigned int | CRC_mask = 0xffffffff |
static const unsigned int | CRC_shift = 32 |
static const unsigned int | LV1ID_mask = 0xff |
static const unsigned int | LV1ID_shift = 24 |
static const unsigned int | Size_mask = 0xfffff |
static const unsigned int | Size_shift = 0 |
|
inline |
amc::Trailer::Trailer | ( | unsigned int | crc, |
unsigned int | lv1_id, | ||
unsigned int | size | ||
) |
Definition at line 92 of file AMCSpec.cc.
bool amc::Trailer::check | ( | unsigned int | crc, |
unsigned int | lv1_id, | ||
unsigned int | size, | ||
bool | mtf7_mode = false |
||
) | const |
Definition at line 102 of file AMCSpec.cc.
References TauDecayModes::dec, getCRC(), getLV1ID(), getSize(), and LV1ID_mask.
|
inline |
Definition at line 103 of file AMCSpec.h.
References amc::BlockHeader::data_.
Referenced by check().
|
inline |
Definition at line 104 of file AMCSpec.h.
References amc::BlockHeader::data_.
Referenced by check().
|
inline |
Definition at line 105 of file AMCSpec.h.
References amc::BlockHeader::data_, amc::BlockHeader::Size_mask, and amc::BlockHeader::Size_shift.
Referenced by check().
|
inline |
Definition at line 107 of file AMCSpec.h.
References trackerTree::check(), amc::BlockHeader::data_, and end.
Referenced by amc::Packet::Packet().
|
static |
Definition at line 118 of file AMCSpec.cc.
References cms::CRC32Calculator::checksum(), CRC_mask, CRC_shift, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by amc::Packet::Packet().
|
staticprivate |
Definition at line 118 of file AMCSpec.h.
Referenced by writeCRC().
|
staticprivate |
Definition at line 117 of file AMCSpec.h.
Referenced by writeCRC().
|
staticprivate |
|
staticprivate |
|
staticprivate |