#include <AMC13Event.h>
Public Member Functions | |
void | addAMCheader (uint64_t word) |
void | addAMCheader (uint32_t AMC_size, uint8_t Blk_No, uint8_t AMC_No, uint16_t BoardID) |
void | addAMCpayload (const AMCdata &a) |
AMC13Event () | |
int | bx_id () const |
uint64_t | getAMC13header () const |
uint64_t | getAMC13trailer () const |
const std::vector< uint64_t > * | getAMCheaders () const |
const std::vector< AMCdata > * | getAMCpayloads () const |
uint64_t | getCDFHeader () const |
uint64_t | getCDFTrailer () const |
int | lv1_id () const |
int | nAMC () const |
void | setAMC13header (uint8_t CalTyp, uint8_t nAMC, uint32_t OrN, uint8_t cb0) |
void | setAMC13header (uint64_t word) |
void | setAMC13trailer (uint32_t CRC_amc13, uint8_t Blk_NoT, uint8_t LV1_idT, uint16_t BX_idT) |
void | setAMC13trailer (uint64_t word) |
void | setCDFHeader (uint8_t cb5, uint8_t Evt_ty, uint32_t LV1_id, uint16_t BX_id, uint16_t Source_id) |
void | setCDFHeader (uint64_t word) |
void | setCDFTrailer (uint8_t cbA, uint32_t EvtLength, uint16_t CRC_cdf) |
void | setCDFTrailer (uint64_t word) |
int | source_id () const |
~AMC13Event () | |
Private Attributes | |
std::vector< uint64_t > | m_amcHeaders |
std::vector< AMCdata > | m_amcs |
uint8_t | m_Blk_NoT |
uint16_t | m_BX_id |
uint16_t | m_BX_idT |
uint8_t | m_CalTyp |
uint8_t | m_cb0 |
uint8_t | m_cb5 |
uint8_t | m_cbA |
uint32_t | m_CRC_amc13 |
uint16_t | m_CRC_cdf |
uint8_t | m_Evt_ty |
uint32_t | m_EvtLength |
uint32_t | m_LV1_id |
uint8_t | m_LV1_idT |
uint8_t | m_nAMC |
uint32_t | m_OrN |
uint16_t | m_Source_id |
Definition at line 7 of file AMC13Event.h.
|
inline |
Definition at line 10 of file AMC13Event.h.
|
inline |
void AMC13Event::addAMCheader | ( | uint64_t | word | ) |
Definition at line 63 of file AMC13Event.cc.
References m_amcHeaders.
Referenced by getAMCheaders().
void AMC13Event::addAMCheader | ( | uint32_t | AMC_size, |
uint8_t | Blk_No, | ||
uint8_t | AMC_No, | ||
uint16_t | BoardID | ||
) |
|
inline |
Definition at line 32 of file AMC13Event.h.
References getAMC13trailer(), getCDFTrailer(), m_amcs, setAMC13trailer(), and setCDFTrailer().
|
inline |
uint64_t AMC13Event::getAMC13header | ( | ) | const |
Definition at line 36 of file AMC13Event.cc.
References m_CalTyp, m_cb0, m_nAMC, and m_OrN.
Referenced by source_id().
uint64_t AMC13Event::getAMC13trailer | ( | ) | const |
Definition at line 85 of file AMC13Event.cc.
References m_Blk_NoT, m_BX_idT, m_CRC_amc13, and m_LV1_idT.
Referenced by addAMCpayload().
|
inline |
|
inline |
uint64_t AMC13Event::getCDFHeader | ( | ) | const |
Definition at line 6 of file AMC13Event.cc.
References m_BX_id, m_cb5, m_Evt_ty, m_LV1_id, and m_Source_id.
Referenced by source_id().
uint64_t AMC13Event::getCDFTrailer | ( | ) | const |
Definition at line 112 of file AMC13Event.cc.
References m_cbA, m_CRC_cdf, and m_EvtLength.
Referenced by addAMCpayload().
|
inline |
|
inline |
Definition at line 13 of file AMC13Event.h.
References m_nAMC.
Referenced by setAMC13header(), and source_id().
void AMC13Event::setAMC13header | ( | uint8_t | CalTyp, |
uint8_t | nAMC, | ||
uint32_t | OrN, | ||
uint8_t | cb0 | ||
) |
Definition at line 55 of file AMC13Event.cc.
References m_CalTyp, m_cb0, m_nAMC, m_OrN, and nAMC().
Referenced by source_id().
void AMC13Event::setAMC13header | ( | uint64_t | word | ) |
void AMC13Event::setAMC13trailer | ( | uint32_t | CRC_amc13, |
uint8_t | Blk_NoT, | ||
uint8_t | LV1_idT, | ||
uint16_t | BX_idT | ||
) |
Definition at line 104 of file AMC13Event.cc.
References m_Blk_NoT, m_BX_idT, m_CRC_amc13, and m_LV1_idT.
Referenced by addAMCpayload().
void AMC13Event::setAMC13trailer | ( | uint64_t | word | ) |
Definition at line 96 of file AMC13Event.cc.
References m_Blk_NoT, m_BX_idT, m_CRC_amc13, and m_LV1_idT.
void AMC13Event::setCDFHeader | ( | uint8_t | cb5, |
uint8_t | Evt_ty, | ||
uint32_t | LV1_id, | ||
uint16_t | BX_id, | ||
uint16_t | Source_id | ||
) |
Definition at line 27 of file AMC13Event.cc.
References m_BX_id, m_cb5, m_Evt_ty, m_LV1_id, and m_Source_id.
Referenced by source_id().
void AMC13Event::setCDFHeader | ( | uint64_t | word | ) |
Definition at line 18 of file AMC13Event.cc.
References m_BX_id, m_cb5, m_Evt_ty, m_LV1_id, and m_Source_id.
void AMC13Event::setCDFTrailer | ( | uint8_t | cbA, |
uint32_t | EvtLength, | ||
uint16_t | CRC_cdf | ||
) |
Definition at line 129 of file AMC13Event.cc.
References m_cbA, m_CRC_cdf, and m_EvtLength.
Referenced by addAMCpayload().
void AMC13Event::setCDFTrailer | ( | uint64_t | word | ) |
|
inline |
Definition at line 16 of file AMC13Event.h.
References getAMC13header(), getCDFHeader(), m_Source_id, nAMC(), setAMC13header(), and setCDFHeader().
|
private |
Definition at line 55 of file AMC13Event.h.
Referenced by addAMCheader(), getAMCheaders(), and ~AMC13Event().
|
private |
Definition at line 61 of file AMC13Event.h.
Referenced by addAMCpayload(), getAMCpayloads(), and ~AMC13Event().
|
private |
Definition at line 64 of file AMC13Event.h.
Referenced by getAMC13trailer(), and setAMC13trailer().
|
private |
Definition at line 47 of file AMC13Event.h.
Referenced by bx_id(), getCDFHeader(), and setCDFHeader().
|
private |
Definition at line 66 of file AMC13Event.h.
Referenced by getAMC13trailer(), and setAMC13trailer().
|
private |
Definition at line 50 of file AMC13Event.h.
Referenced by getAMC13header(), and setAMC13header().
|
private |
Definition at line 53 of file AMC13Event.h.
Referenced by getAMC13header(), and setAMC13header().
|
private |
Definition at line 44 of file AMC13Event.h.
Referenced by getCDFHeader(), and setCDFHeader().
|
private |
Definition at line 68 of file AMC13Event.h.
Referenced by getCDFTrailer(), and setCDFTrailer().
|
private |
Definition at line 63 of file AMC13Event.h.
Referenced by getAMC13trailer(), and setAMC13trailer().
|
private |
Definition at line 70 of file AMC13Event.h.
Referenced by getCDFTrailer(), and setCDFTrailer().
|
private |
Definition at line 45 of file AMC13Event.h.
Referenced by getCDFHeader(), and setCDFHeader().
|
private |
Definition at line 69 of file AMC13Event.h.
Referenced by getCDFTrailer(), and setCDFTrailer().
|
private |
Definition at line 46 of file AMC13Event.h.
Referenced by getCDFHeader(), lv1_id(), and setCDFHeader().
|
private |
Definition at line 65 of file AMC13Event.h.
Referenced by getAMC13trailer(), and setAMC13trailer().
|
private |
Definition at line 51 of file AMC13Event.h.
Referenced by getAMC13header(), nAMC(), and setAMC13header().
|
private |
Definition at line 52 of file AMC13Event.h.
Referenced by getAMC13header(), and setAMC13header().
|
private |
Definition at line 48 of file AMC13Event.h.
Referenced by getCDFHeader(), setCDFHeader(), and source_id().