#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 51 of file AMC13Event.h.
|
inline |
Definition at line 53 of file AMC13Event.h.
|
inline |
Definition at line 54 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 | ||
) |
Definition at line 43 of file AMC13Event.cc.
References amcHeaders_.
|
inline |
Definition at line 86 of file AMC13Event.h.
|
inline |
|
inline |
Definition at line 65 of file AMC13Event.h.
|
inline |
Definition at line 69 of file AMC13Event.h.
|
inline |
Definition at line 81 of file AMC13Event.h.
|
inline |
Definition at line 85 of file AMC13Event.h.
|
inline |
Definition at line 61 of file AMC13Event.h.
|
inline |
Definition at line 73 of file AMC13Event.h.
|
inline |
|
inline |
Definition at line 79 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 16 of file AMC13Event.cc.
References amc13h_, gem::AMC13Header::cb0, and nAMC().
|
inline |
void AMC13Event::setAMC13Trailer | ( | uint8_t | Blk_NoT, |
uint8_t | LV1_idT, | ||
uint16_t | BX_idT | ||
) |
Definition at line 25 of file AMC13Event.cc.
References amc13t_, and gem::AMC13Trailer::blkN.
|
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::cb5, and cdfh_.
|
inline |
void AMC13Event::setCDFTrailer | ( | uint32_t | EvtLength | ) |
Definition at line 33 of file AMC13Event.cc.
References gem::CDFTrailer::cbA, cdfh_, and cdft_.
|
inline |
|
private |
Definition at line 90 of file AMC13Event.h.
Referenced by setAMC13Header().
|
private |
Definition at line 91 of file AMC13Event.h.
Referenced by setAMC13Trailer().
|
private |
Definition at line 95 of file AMC13Event.h.
Referenced by addAMCheader().
|
private |
Definition at line 97 of file AMC13Event.h.
|
private |
Definition at line 89 of file AMC13Event.h.
Referenced by setCDFHeader(), and setCDFTrailer().
|
private |
Definition at line 92 of file AMC13Event.h.
Referenced by setCDFTrailer().