#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 |
uint32_t | linkTo () const |
uint32_t | lv1Id () const |
uint8_t | lv1Idt () const |
uint8_t | mmcmLocked () const |
uint8_t | oosGlib () const |
uint16_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) |
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 |
|
inline |
Definition at line 93 of file GEMAMC.h.
References amch1_.
Referenced by GEMAMCStatus::GEMAMCStatus().
|
inline |
Definition at line 115 of file GEMAMC.h.
References et_.
Referenced by GEMAMCStatus::GEMAMCStatus().
|
inline |
Definition at line 111 of file GEMAMC.h.
References et_.
Referenced by GEMAMCStatus::GEMAMCStatus().
|
inline |
|
inline |
|
inline |
Definition at line 91 of file GEMAMC.h.
References amch1_.
Referenced by GEMAMCStatus::GEMAMCStatus(), and GEMVFATStatus::GEMVFATStatus().
|
inline |
|
inline |
Definition at line 113 of file GEMAMC.h.
References et_.
Referenced by GEMAMCStatus::GEMAMCStatus().
|
inline |
Definition at line 112 of file GEMAMC.h.
References et_.
Referenced by GEMAMCStatus::GEMAMCStatus().
|
inline |
|
inline |
Definition at line 107 of file GEMAMC.h.
References eh_.
Referenced by setGEMeventHeader().
|
inline |
Definition at line 109 of file GEMAMC.h.
References eh_.
Referenced by setGEMeventHeader().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 92 of file GEMAMC.h.
References amch1_.
Referenced by GEMAMCStatus::GEMAMCStatus().
|
inline |
Definition at line 103 of file GEMAMC.h.
References amct_.
Referenced by GEMVFATStatus::GEMVFATStatus().
|
inline |
Definition at line 114 of file GEMAMC.h.
References et_.
Referenced by GEMAMCStatus::GEMAMCStatus().
|
inline |
Definition at line 96 of file GEMAMC.h.
References amch2_.
Referenced by GEMAMCStatus::GEMAMCStatus().
|
inline |
Definition at line 100 of file GEMAMC.h.
References amch2_.
Referenced by GEMAMCStatus::GEMAMCStatus(), and 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 |
int GEMAMC::status | ( | ) |
|
inline |
|
private |
Definition at line 127 of file GEMAMC.h.
Referenced by amcNum(), bunchCrossing(), getAMCheader1(), lv1Id(), and setAMCheader1().
|
private |
Definition at line 128 of file GEMAMC.h.
Referenced by boardId(), formatVer(), getAMCheader2(), orbitNumber(), param1(), param2(), param3(), runType(), and setAMCheader2().
|
private |
Definition at line 129 of file GEMAMC.h.
Referenced by crc(), dataLength(), getAMCTrailer(), lv1Idt(), setAMCheader1(), and setAMCTrailer().
|
private |
Definition at line 130 of file GEMAMC.h.
Referenced by buffState(), davCnt(), davList(), getGEMeventHeader(), setGEMeventHeader(), and ttsState().
|
private |
Definition at line 131 of file GEMAMC.h.
Referenced by backPressure(), bc0locked(), daqClockLocked(), daqReady(), getGEMeventTrailer(), linkTo(), mmcmLocked(), oosGlib(), setGEMeventHeader(), and setGEMeventTrailer().
|
private |