#include <GEMAMC.h>
Classes | |
union | AMCheader1 |
union | AMCheader2 |
union | AMCTrailer |
union | EventHeader |
union | EventTrailer |
Public Member Functions | |
void | addGEB (GEMOptoHybrid g) |
Adds GEB data to vector. More... | |
uint8_t | amcNum () const |
uint8_t | backPressure () const |
uint8_t | bc0locked () const |
uint16_t | boardId () const |
uint32_t | buffState () const |
uint16_t | bunchCrossing () const |
void | clearGEBs () |
Clear a vector of GEB data. More... | |
uint32_t | crc () const |
uint8_t | daqClockLocked () const |
uint8_t | daqReady () const |
uint32_t | dataLength () const |
uint8_t | davCnt () const |
uint32_t | davList () const |
uint8_t | formatVer () const |
const std::vector< GEMOptoHybrid > * | gebs () const |
Returns a vector of GEB data. More... | |
GEMAMC () | |
uint64_t | getAMCheader1 () const |
uint64_t | getAMCheader2 () const |
uint64_t | getAMCTrailer () const |
uint64_t | getGEMeventHeader () const |
uint64_t | getGEMeventTrailer () const |
uint8_t | l1aF () const |
uint8_t | l1aNF () const |
uint32_t | linkTo () const |
uint32_t | lv1Id () const |
uint8_t | lv1Idt () const |
uint8_t | mmcmLocked () const |
uint8_t | oosGlib () const |
uint32_t | orbitNumber () 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) |
uint8_t | softSlot () const |
uint16_t | softSrcId () const |
int | status () |
uint16_t | ttsState () const |
~GEMAMC () | |
Private Attributes | |
uint64_t | amch1_ |
uint64_t | amch2_ |
uint64_t | amct_ |
uint64_t | eh_ |
uint64_t | et_ |
std::vector< GEMOptoHybrid > | gebd_ |
Vector of GEB data. More... | |
|
inline |
Adds GEB data to vector.
Definition at line 178 of file GEMAMC.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 158 of file GEMAMC.h.
References eh_.
Referenced by setGEMeventHeader().
|
inline |
Definition at line 160 of file GEMAMC.h.
References eh_.
Referenced by setGEMeventHeader().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 146 of file GEMAMC.h.
References amch2_, et_, and formatVer().
Referenced by setAMCheader2().
|
inline |
void GEMAMC::setAMCheader1 | ( | uint32_t | dataLength, |
uint16_t | bxID, | ||
uint32_t | l1AID, | ||
uint8_t | AMCnum | ||
) |
Definition at line 5 of file GEMAMC.cc.
References amch1_, amct_, GEMAMC::AMCheader1::dataLength, GEMAMC::AMCTrailer::dataLength, and dataLength().
|
inline |
void GEMAMC::setAMCheader2 | ( | uint16_t | boardID, |
uint16_t | orbitNum, | ||
uint8_t | runType | ||
) |
Definition at line 19 of file GEMAMC.cc.
References amch2_, GEMAMC::AMCheader2::boardID, and runType().
|
inline |
|
inline |
void GEMAMC::setGEMeventHeader | ( | uint8_t | davCnt, |
uint32_t | davList | ||
) |
Definition at line 27 of file GEMAMC.cc.
References GEMAMC::EventTrailer::BCL, GEMAMC::EventHeader::davCnt, davCnt(), davList(), eh_, and et_.
|
inline |
|
inline |
|
inline |
int GEMAMC::status | ( | ) |
|
inline |
|
private |
Definition at line 185 of file GEMAMC.h.
Referenced by amcNum(), bunchCrossing(), getAMCheader1(), lv1Id(), and setAMCheader1().
|
private |
Definition at line 186 of file GEMAMC.h.
Referenced by boardId(), formatVer(), getAMCheader2(), orbitNumber(), param1(), param2(), param3(), runType(), setAMCheader2(), softSlot(), and softSrcId().
|
private |
Definition at line 187 of file GEMAMC.h.
Referenced by crc(), dataLength(), getAMCTrailer(), lv1Idt(), setAMCheader1(), and setAMCTrailer().
|
private |
Definition at line 188 of file GEMAMC.h.
Referenced by buffState(), davCnt(), davList(), getGEMeventHeader(), setGEMeventHeader(), and ttsState().
|
private |
Definition at line 189 of file GEMAMC.h.
Referenced by backPressure(), bc0locked(), daqClockLocked(), daqReady(), getGEMeventTrailer(), l1aF(), l1aNF(), linkTo(), mmcmLocked(), oosGlib(), param1(), param2(), param3(), runType(), setGEMeventHeader(), and setGEMeventTrailer().
|
private |