#include <AMC13Event.h>
|
void | addAMCheader (uint32_t AMC_size, uint8_t Blk_No, uint8_t AMC_No, uint16_t BoardID) |
|
void | addAMCheader (uint64_t word) |
|
void | addAMCpayload (const AMCdata &a) |
|
| AMC13Event () |
|
int | bxId () const |
|
void | clearAMCpayloads () |
|
uint16_t | crc () const |
|
uint8_t | evtStatus () const |
|
uint32_t | fragmentLength () const |
|
uint64_t | getAMC13Header () const |
|
uint64_t | getAMC13Trailer () const |
|
const std::vector< uint64_t > * | getAMCheaders () const |
|
const std::vector< AMCdata > * | getAMCpayloads () const |
|
uint32_t | getAMCsize (int i) const |
|
uint64_t | getCDFHeader () const |
|
uint64_t | getCDFTrailer () const |
|
uint32_t | lv1Id () const |
|
uint8_t | nAMC () const |
|
int | orbitNumber () const |
|
void | setAMC13Header (uint64_t word) |
|
void | setAMC13Header (uint8_t CalTyp, uint8_t nAMC, uint32_t OrN) |
|
void | setAMC13Trailer (uint64_t word) |
|
void | setAMC13Trailer (uint8_t Blk_NoT, uint8_t LV1_idT, uint16_t BX_idT) |
|
void | setCDFHeader (uint64_t word) |
|
void | setCDFHeader (uint8_t Evt_ty, uint32_t LV1_id, uint16_t BX_id, uint16_t Source_id) |
|
void | setCDFTrailer (uint32_t EvtLength) |
|
void | setCDFTrailer (uint64_t word) |
|
uint16_t | sourceId () const |
|
uint8_t | ttsBits () const |
|
| ~AMC13Event () |
|
Definition at line 68 of file AMC13Event.h.
◆ AMC13Event()
gem::AMC13Event::AMC13Event |
( |
| ) |
|
|
inline |
◆ ~AMC13Event()
gem::AMC13Event::~AMC13Event |
( |
| ) |
|
|
inline |
◆ addAMCheader() [1/2]
void AMC13Event::addAMCheader |
( |
uint32_t |
AMC_size, |
|
|
uint8_t |
Blk_No, |
|
|
uint8_t |
AMC_No, |
|
|
uint16_t |
BoardID |
|
) |
| |
Definition at line 43 of file AMC13Event.cc.
47 uint64_t word = (static_cast<uint64_t>(AMC_size & 0x00ffffff) << 32) | (static_cast<uint64_t>(Blk_No & 0xff) << 20) |
48 (static_cast<uint64_t>(AMC_No & 0x0f) << 16) | (static_cast<uint64_t>(BoardID & 0xffff));
References amcHeaders_.
◆ addAMCheader() [2/2]
void AMC13Event::addAMCheader |
( |
uint64_t |
word | ) |
|
◆ addAMCpayload()
void gem::AMC13Event::addAMCpayload |
( |
const AMCdata & |
a | ) |
|
|
inline |
◆ bxId()
int gem::AMC13Event::bxId |
( |
| ) |
const |
|
inline |
◆ clearAMCpayloads()
void gem::AMC13Event::clearAMCpayloads |
( |
| ) |
|
|
inline |
◆ crc()
uint16_t gem::AMC13Event::crc |
( |
| ) |
const |
|
inline |
◆ evtStatus()
uint8_t gem::AMC13Event::evtStatus |
( |
| ) |
const |
|
inline |
◆ fragmentLength()
uint32_t gem::AMC13Event::fragmentLength |
( |
| ) |
const |
|
inline |
◆ getAMC13Header()
uint64_t gem::AMC13Event::getAMC13Header |
( |
| ) |
const |
|
inline |
◆ getAMC13Trailer()
uint64_t gem::AMC13Event::getAMC13Trailer |
( |
| ) |
const |
|
inline |
◆ getAMCheaders()
const std::vector<uint64_t>* gem::AMC13Event::getAMCheaders |
( |
| ) |
const |
|
inline |
◆ getAMCpayloads()
const std::vector<AMCdata>* gem::AMC13Event::getAMCpayloads |
( |
| ) |
const |
|
inline |
◆ getAMCsize()
uint32_t gem::AMC13Event::getAMCsize |
( |
int |
i | ) |
const |
|
inline |
◆ getCDFHeader()
uint64_t gem::AMC13Event::getCDFHeader |
( |
| ) |
const |
|
inline |
◆ getCDFTrailer()
uint64_t gem::AMC13Event::getCDFTrailer |
( |
| ) |
const |
|
inline |
◆ lv1Id()
uint32_t gem::AMC13Event::lv1Id |
( |
| ) |
const |
|
inline |
◆ nAMC()
uint8_t gem::AMC13Event::nAMC |
( |
| ) |
const |
|
inline |
◆ orbitNumber()
int gem::AMC13Event::orbitNumber |
( |
| ) |
const |
|
inline |
◆ setAMC13Header() [1/2]
void gem::AMC13Event::setAMC13Header |
( |
uint64_t |
word | ) |
|
|
inline |
◆ setAMC13Header() [2/2]
void AMC13Event::setAMC13Header |
( |
uint8_t |
CalTyp, |
|
|
uint8_t |
nAMC, |
|
|
uint32_t |
OrN |
|
) |
| |
◆ setAMC13Trailer() [1/2]
void gem::AMC13Event::setAMC13Trailer |
( |
uint64_t |
word | ) |
|
|
inline |
◆ setAMC13Trailer() [2/2]
void AMC13Event::setAMC13Trailer |
( |
uint8_t |
Blk_NoT, |
|
|
uint8_t |
LV1_idT, |
|
|
uint16_t |
BX_idT |
|
) |
| |
◆ setCDFHeader() [1/2]
void gem::AMC13Event::setCDFHeader |
( |
uint64_t |
word | ) |
|
|
inline |
◆ setCDFHeader() [2/2]
void AMC13Event::setCDFHeader |
( |
uint8_t |
Evt_ty, |
|
|
uint32_t |
LV1_id, |
|
|
uint16_t |
BX_id, |
|
|
uint16_t |
Source_id |
|
) |
| |
◆ setCDFTrailer() [1/2]
void AMC13Event::setCDFTrailer |
( |
uint32_t |
EvtLength | ) |
|
◆ setCDFTrailer() [2/2]
void gem::AMC13Event::setCDFTrailer |
( |
uint64_t |
word | ) |
|
|
inline |
◆ sourceId()
uint16_t gem::AMC13Event::sourceId |
( |
| ) |
const |
|
inline |
◆ ttsBits()
uint8_t gem::AMC13Event::ttsBits |
( |
| ) |
const |
|
inline |
◆ amc13h_
uint64_t gem::AMC13Event::amc13h_ |
|
private |
◆ amc13t_
uint64_t gem::AMC13Event::amc13t_ |
|
private |
◆ amcHeaders_
std::vector<uint64_t> gem::AMC13Event::amcHeaders_ |
|
private |
◆ amcs_
std::vector<AMCdata> gem::AMC13Event::amcs_ |
|
private |
◆ cdfh_
uint64_t gem::AMC13Event::cdfh_ |
|
private |
◆ cdft_
uint64_t gem::AMC13Event::cdft_ |
|
private |