#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 () | |
uint16_t | bxId () 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 |
uint32_t | lv1Id () const |
uint8_t | nAMC () 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 (uint64_t word) |
void | setCDFTrailer (uint32_t EvtLength) |
uint16_t | sourceId () const |
~AMC13Event () | |
Private Attributes | |
uint64_t | amc13h_ |
uint64_t | amc13t_ |
std::vector< uint64_t > | amcHeaders_ |
std::vector< AMCdata > | amcs_ |
uint64_t | cdfh_ |
uint64_t | cdft_ |
Definition at line 50 of file AMC13Event.h.
|
inline |
Definition at line 54 of file AMC13Event.h.
|
inline |
Definition at line 55 of file AMC13Event.h.
void AMC13Event::addAMCheader | ( | uint64_t | word | ) |
void AMC13Event::addAMCheader | ( | uint32_t | AMC_size, |
uint8_t | Blk_No, | ||
uint8_t | AMC_No, | ||
uint16_t | BoardID | ||
) |
|
inline |
Definition at line 84 of file AMC13Event.h.
|
inline |
|
inline |
Definition at line 63 of file AMC13Event.h.
|
inline |
Definition at line 67 of file AMC13Event.h.
|
inline |
|
inline |
Definition at line 83 of file AMC13Event.h.
|
inline |
Definition at line 59 of file AMC13Event.h.
|
inline |
Definition at line 71 of file AMC13Event.h.
|
inline |
|
inline |
Definition at line 77 of file AMC13Event.h.
References gem::AMC13Header::nAMC.
Referenced by setAMC13Header().
|
inline |
void AMC13Event::setAMC13Header | ( | uint8_t | CalTyp, |
uint8_t | nAMC, | ||
uint32_t | OrN | ||
) |
Definition at line 17 of file AMC13Event.cc.
References amc13h_, gem::AMC13Header::calType, gem::AMC13Header::cb0, gem::AMC13Header::nAMC, nAMC(), gem::AMC13Header::orbitN, and gem::AMC13Header::word.
|
inline |
void AMC13Event::setAMC13Trailer | ( | uint8_t | Blk_NoT, |
uint8_t | LV1_idT, | ||
uint16_t | BX_idT | ||
) |
Definition at line 27 of file AMC13Event.cc.
References amc13t_, gem::AMC13Trailer::blkN, gem::AMC13Trailer::bxIdT, gem::AMC13Trailer::lv1IdT, and gem::AMC13Trailer::word.
|
inline |
void AMC13Event::setCDFHeader | ( | uint8_t | Evt_ty, |
uint32_t | LV1_id, | ||
uint16_t | BX_id, | ||
uint16_t | Source_id | ||
) |
Definition at line 6 of file AMC13Event.cc.
References gem::CDFHeader::bxId, gem::CDFHeader::cb5, cdfh_, gem::CDFHeader::eventType, gem::CDFHeader::lv1Id, gem::CDFHeader::sourceId, and gem::CDFHeader::word.
|
inline |
void AMC13Event::setCDFTrailer | ( | uint32_t | EvtLength | ) |
Definition at line 36 of file AMC13Event.cc.
References gem::CDFTrailer::cbA, cdft_, gem::CDFTrailer::evtLength, and gem::CDFTrailer::word.
|
inline |
|
private |
Definition at line 88 of file AMC13Event.h.
Referenced by setAMC13Header().
|
private |
Definition at line 89 of file AMC13Event.h.
Referenced by setAMC13Trailer().
|
private |
Definition at line 93 of file AMC13Event.h.
Referenced by addAMCheader().
|
private |
Definition at line 95 of file AMC13Event.h.
|
private |
Definition at line 87 of file AMC13Event.h.
Referenced by setCDFHeader().
|
private |
Definition at line 90 of file AMC13Event.h.
Referenced by setCDFTrailer().