#include <AMCdata.h>
Public Member Functions | |
void | addGEB (GEBdata g) |
Adds GEB data to vector. More... | |
AMCdata () | |
uint8_t | amcNum () const |
uint16_t | boardId () const |
uint32_t | buffState () const |
uint16_t | bx () const |
uint32_t | chTimeOut () const |
uint32_t | dataLength () const |
uint8_t | davCnt () const |
uint32_t | davList () const |
uint8_t | formatVer () const |
const std::vector< GEBdata > * | gebs () const |
Returns a vector of GEB data. More... | |
uint64_t | getAMCheader1 () const |
uint64_t | getAMCheader2 () const |
uint64_t | getAMCTrailer () const |
uint64_t | getGEMeventHeader () const |
uint64_t | getGEMeventTrailer () const |
uint32_t | l1A () const |
uint8_t | oosGlib () const |
uint16_t | orbitNum () const |
uint8_t | param1 () const |
uint8_t | param2 () const |
uint8_t | param3 () const |
uint8_t | runType () const |
void | setAMCheader1 (uint64_t word) |
void | setAMCheader1 (uint32_t dataLength, uint16_t bxID, uint32_t l1AID, uint8_t AMCnum) |
void | setAMCheader2 (uint64_t word) |
void | setAMCheader2 (uint16_t boardID, uint16_t orbitNum, uint8_t runType) |
void | setAMCTrailer (uint64_t word) |
void | setGEMeventHeader (uint64_t word) |
void | setGEMeventHeader (uint8_t davCnt, uint32_t davList) |
void | setGEMeventTrailer (uint64_t word) |
uint16_t | ttsState () const |
~AMCdata () | |
Private Attributes | |
uint64_t | amch1_ |
uint64_t | amch2_ |
uint64_t | amct_ |
uint64_t | eh_ |
uint64_t | et_ |
std::vector< GEBdata > | gebd_ |
Vector of GEB data. More... | |
|
inline |
Adds GEB data to vector.
Definition at line 102 of file AMCdata.h.
|
inline |
|
inline |
|
inline |
Definition at line 95 of file AMCdata.h.
References gem::EventHeader::buffState.
|
inline |
|
inline |
|
inline |
Definition at line 80 of file AMCdata.h.
References gem::AMCheader1::dataLength.
Referenced by setAMCheader1().
|
inline |
Definition at line 94 of file AMCdata.h.
References gem::EventHeader::davCnt.
Referenced by setGEMeventHeader().
|
inline |
Definition at line 96 of file AMCdata.h.
References gem::EventHeader::davList.
Referenced by setGEMeventHeader().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 86 of file AMCdata.h.
References gem::AMCheader2::orbitNum.
Referenced by setAMCheader2().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 90 of file AMCdata.h.
References gem::AMCheader2::runType.
Referenced by setAMCheader2().
|
inline |
Definition at line 62 of file AMCdata.h.
References gem::AMCheader1::AMCnum, gem::AMCheader1::bxID, gem::AMCheader1::dataLength, gem::AMCheader1::l1AID, and gem::AMCheader1::word.
void AMCdata::setAMCheader1 | ( | uint32_t | dataLength, |
uint16_t | bxID, | ||
uint32_t | l1AID, | ||
uint8_t | AMCnum | ||
) |
Definition at line 6 of file AMCdata.cc.
References amch1_, gem::AMCheader1::AMCnum, gem::AMCheader1::bxID, gem::AMCheader1::dataLength, dataLength(), gem::AMCheader1::l1AID, and gem::AMCheader1::word.
|
inline |
void AMCdata::setAMCheader2 | ( | uint16_t | boardID, |
uint16_t | orbitNum, | ||
uint8_t | runType | ||
) |
Definition at line 16 of file AMCdata.cc.
References amch2_, gem::AMCheader2::boardID, gem::AMCheader2::orbitNum, orbitNum(), gem::AMCheader2::runType, runType(), and gem::AMCheader2::word.
|
inline |
|
inline |
void AMCdata::setGEMeventHeader | ( | uint8_t | davCnt, |
uint32_t | davList | ||
) |
Definition at line 25 of file AMCdata.cc.
References gem::EventHeader::davCnt, davCnt(), gem::EventHeader::davList, davList(), eh_, and gem::EventHeader::word.
|
inline |
|
inline |
Definition at line 93 of file AMCdata.h.
References gem::EventHeader::ttsState.
|
private |
Definition at line 108 of file AMCdata.h.
Referenced by setAMCheader1().
|
private |
Definition at line 109 of file AMCdata.h.
Referenced by setAMCheader2().
|
private |
Definition at line 111 of file AMCdata.h.
Referenced by setGEMeventHeader().