CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GEMAMCStatusDigi Class Reference

#include <GEMAMCStatusDigi.h>

Public Member Functions

uint8_t AMCnum () const
 Returns AMC number. More...
 
uint16_t BID () const
 Returns Board ID. More...
 
uint64_t Bstatus () const
 Returns Buffer status. More...
 
uint16_t BX () const
 Returns Bunch Crossing ID. More...
 
uint32_t ChamT () const
 Return Chamber Timeout. More...
 
uint32_t CRC () const
 
uint32_t Dlength () const
 Returns Data Length (Overall size of FED event fragment) More...
 
uint32_t DlengthT () const
 
uint8_t FV () const
 Returns Format Version. More...
 
int GDcount () const
 Returns GEM DAV count (number of chamber blocks) More...
 
 GEMAMCStatusDigi ()
 
 GEMAMCStatusDigi (const uint8_t AMCnum_, const uint32_t L1A_, const uint16_t BX_, const uint32_t Dlength_, const uint8_t FV_, const uint8_t Rtype_, const uint8_t Param1_, const uint8_t Param2_, const uint8_t Param3_, const uint16_t Onum_, const uint16_t BID_, const uint32_t GEMDAV_, const uint64_t Bstatus_, const uint8_t GDcount_, const uint8_t Tstate_, const uint32_t ChamT_, const uint8_t OOSG)
 
uint32_t GEMDAV () const
 Returns GEM DAV list (which chambers have data) More...
 
uint32_t L1A () const
 Returns L1A number. More...
 
uint8_t L1AT () const
 
uint16_t Onum () const
 Returns Orbit number. More...
 
uint8_t OOSG () const
 Return OOS GLIB (if GLIB is out of sync) More...
 
uint8_t Param1 () const
 
uint8_t Param2 () const
 
uint8_t Param3 () const
 
uint8_t Rtype () const
 Returns Run Type. More...
 
uint8_t Tstate () const
 Returns TTS state. More...
 

Private Attributes

uint8_t m_AMCnum
 
uint16_t m_BID
 
uint64_t m_Bstatus
 
uint16_t m_BX
 
uint32_t m_ChamT
 
uint32_t m_CRC
 
uint32_t m_Dlength
 
uint32_t m_DlengthT
 
uint8_t m_FV
 0000:4 Format Version:4 More...
 
uint8_t m_GDcount
 
uint32_t m_GEMDAV
 
uint32_t m_L1A
 
uint8_t m_L1AT
 
uint16_t m_Onum
 Orbit number:16. More...
 
uint8_t m_OOSG
 
uint8_t m_Param1
 Run param1:8. More...
 
uint8_t m_Param2
 Run param2:8. More...
 
uint8_t m_Param3
 Run param3:8. More...
 
uint8_t m_Rtype
 
uint8_t m_Tstate
 

Detailed Description

Definition at line 7 of file GEMAMCStatusDigi.h.

Constructor & Destructor Documentation

◆ GEMAMCStatusDigi() [1/2]

GEMAMCStatusDigi::GEMAMCStatusDigi ( const uint8_t  AMCnum_,
const uint32_t  L1A_,
const uint16_t  BX_,
const uint32_t  Dlength_,
const uint8_t  FV_,
const uint8_t  Rtype_,
const uint8_t  Param1_,
const uint8_t  Param2_,
const uint8_t  Param3_,
const uint16_t  Onum_,
const uint16_t  BID_,
const uint32_t  GEMDAV_,
const uint64_t  Bstatus_,
const uint8_t  GDcount_,
const uint8_t  Tstate_,
const uint32_t  ChamT_,
const uint8_t  OOSG 
)
explicit

Definition at line 3 of file GEMAMCStatusDigi.cc.

20  : m_AMCnum(AMCnum_),
21  m_L1A(L1A_),
22  m_BX(BX_),
23  m_Dlength(Dlength_),
24  m_FV(FV_),
25  m_Rtype(Rtype_),
26  m_Param1(Param1_),
27  m_Param2(Param2_),
28  m_Param3(Param3_),
29  m_Onum(Onum_),
30  m_BID(BID_),
31  m_GEMDAV(GEMDAV_),
32  m_Bstatus(Bstatus_),
33  m_GDcount(GDcount_),
34  m_Tstate(Tstate_),
35  m_ChamT(ChamT_),
36  m_OOSG(OOSG_){};

◆ GEMAMCStatusDigi() [2/2]

GEMAMCStatusDigi::GEMAMCStatusDigi ( )
inline

Definition at line 27 of file GEMAMCStatusDigi.h.

27 {}

Member Function Documentation

◆ AMCnum()

uint8_t GEMAMCStatusDigi::AMCnum ( ) const
inline

Returns AMC number.

Definition at line 29 of file GEMAMCStatusDigi.h.

References m_AMCnum.

◆ BID()

uint16_t GEMAMCStatusDigi::BID ( ) const
inline

Returns Board ID.

Definition at line 40 of file GEMAMCStatusDigi.h.

References m_BID.

◆ Bstatus()

uint64_t GEMAMCStatusDigi::Bstatus ( ) const
inline

Returns Buffer status.

Definition at line 43 of file GEMAMCStatusDigi.h.

References m_Bstatus.

◆ BX()

uint16_t GEMAMCStatusDigi::BX ( ) const
inline

Returns Bunch Crossing ID.

Definition at line 31 of file GEMAMCStatusDigi.h.

References m_BX.

◆ ChamT()

uint32_t GEMAMCStatusDigi::ChamT ( ) const
inline

Return Chamber Timeout.

Definition at line 47 of file GEMAMCStatusDigi.h.

References m_ChamT.

◆ CRC()

uint32_t GEMAMCStatusDigi::CRC ( ) const
inline

Definition at line 50 of file GEMAMCStatusDigi.h.

50 { return m_CRC; }

References m_CRC.

◆ Dlength()

uint32_t GEMAMCStatusDigi::Dlength ( ) const
inline

Returns Data Length (Overall size of FED event fragment)

Definition at line 32 of file GEMAMCStatusDigi.h.

References m_Dlength.

◆ DlengthT()

uint32_t GEMAMCStatusDigi::DlengthT ( ) const
inline

Definition at line 52 of file GEMAMCStatusDigi.h.

52 { return m_DlengthT; }

References m_DlengthT.

◆ FV()

uint8_t GEMAMCStatusDigi::FV ( ) const
inline

Returns Format Version.

Definition at line 34 of file GEMAMCStatusDigi.h.

References m_FV.

◆ GDcount()

int GEMAMCStatusDigi::GDcount ( ) const
inline

Returns GEM DAV count (number of chamber blocks)

Definition at line 44 of file GEMAMCStatusDigi.h.

References m_GDcount.

◆ GEMDAV()

uint32_t GEMAMCStatusDigi::GEMDAV ( ) const
inline

Returns GEM DAV list (which chambers have data)

Definition at line 42 of file GEMAMCStatusDigi.h.

References m_GEMDAV.

◆ L1A()

uint32_t GEMAMCStatusDigi::L1A ( ) const
inline

Returns L1A number.

Definition at line 30 of file GEMAMCStatusDigi.h.

References m_L1A.

◆ L1AT()

uint8_t GEMAMCStatusDigi::L1AT ( ) const
inline

Definition at line 51 of file GEMAMCStatusDigi.h.

51 { return m_L1AT; }

References m_L1AT.

◆ Onum()

uint16_t GEMAMCStatusDigi::Onum ( ) const
inline

Returns Orbit number.

Definition at line 39 of file GEMAMCStatusDigi.h.

References m_Onum.

◆ OOSG()

uint8_t GEMAMCStatusDigi::OOSG ( ) const
inline

Return OOS GLIB (if GLIB is out of sync)

Definition at line 48 of file GEMAMCStatusDigi.h.

References m_OOSG.

◆ Param1()

uint8_t GEMAMCStatusDigi::Param1 ( ) const
inline

Definition at line 36 of file GEMAMCStatusDigi.h.

36 { return m_Param1; }

References m_Param1.

◆ Param2()

uint8_t GEMAMCStatusDigi::Param2 ( ) const
inline

Definition at line 37 of file GEMAMCStatusDigi.h.

37 { return m_Param2; }

References m_Param2.

◆ Param3()

uint8_t GEMAMCStatusDigi::Param3 ( ) const
inline

Definition at line 38 of file GEMAMCStatusDigi.h.

38 { return m_Param3; }

References m_Param3.

◆ Rtype()

uint8_t GEMAMCStatusDigi::Rtype ( ) const
inline

Returns Run Type.

Definition at line 35 of file GEMAMCStatusDigi.h.

References m_Rtype.

◆ Tstate()

uint8_t GEMAMCStatusDigi::Tstate ( ) const
inline

Returns TTS state.

Definition at line 45 of file GEMAMCStatusDigi.h.

References m_Tstate.

Member Data Documentation

◆ m_AMCnum

uint8_t GEMAMCStatusDigi::m_AMCnum
private

Definition at line 55 of file GEMAMCStatusDigi.h.

Referenced by AMCnum().

◆ m_BID

uint16_t GEMAMCStatusDigi::m_BID
private

Definition at line 66 of file GEMAMCStatusDigi.h.

Referenced by BID().

◆ m_Bstatus

uint64_t GEMAMCStatusDigi::m_Bstatus
private

Definition at line 69 of file GEMAMCStatusDigi.h.

Referenced by Bstatus().

◆ m_BX

uint16_t GEMAMCStatusDigi::m_BX
private

Definition at line 57 of file GEMAMCStatusDigi.h.

Referenced by BX().

◆ m_ChamT

uint32_t GEMAMCStatusDigi::m_ChamT
private

Definition at line 73 of file GEMAMCStatusDigi.h.

Referenced by ChamT().

◆ m_CRC

uint32_t GEMAMCStatusDigi::m_CRC
private

Definition at line 76 of file GEMAMCStatusDigi.h.

Referenced by CRC().

◆ m_Dlength

uint32_t GEMAMCStatusDigi::m_Dlength
private

Definition at line 58 of file GEMAMCStatusDigi.h.

Referenced by Dlength().

◆ m_DlengthT

uint32_t GEMAMCStatusDigi::m_DlengthT
private

Definition at line 78 of file GEMAMCStatusDigi.h.

Referenced by DlengthT().

◆ m_FV

uint8_t GEMAMCStatusDigi::m_FV
private

0000:4 Format Version:4

Definition at line 60 of file GEMAMCStatusDigi.h.

Referenced by FV().

◆ m_GDcount

uint8_t GEMAMCStatusDigi::m_GDcount
private

Definition at line 70 of file GEMAMCStatusDigi.h.

Referenced by GDcount().

◆ m_GEMDAV

uint32_t GEMAMCStatusDigi::m_GEMDAV
private

Definition at line 68 of file GEMAMCStatusDigi.h.

Referenced by GEMDAV().

◆ m_L1A

uint32_t GEMAMCStatusDigi::m_L1A
private

Definition at line 56 of file GEMAMCStatusDigi.h.

Referenced by L1A().

◆ m_L1AT

uint8_t GEMAMCStatusDigi::m_L1AT
private

Definition at line 77 of file GEMAMCStatusDigi.h.

Referenced by L1AT().

◆ m_Onum

uint16_t GEMAMCStatusDigi::m_Onum
private

Orbit number:16.

Definition at line 65 of file GEMAMCStatusDigi.h.

Referenced by Onum().

◆ m_OOSG

uint8_t GEMAMCStatusDigi::m_OOSG
private

Definition at line 74 of file GEMAMCStatusDigi.h.

Referenced by OOSG().

◆ m_Param1

uint8_t GEMAMCStatusDigi::m_Param1
private

Run param1:8.

Definition at line 62 of file GEMAMCStatusDigi.h.

Referenced by Param1().

◆ m_Param2

uint8_t GEMAMCStatusDigi::m_Param2
private

Run param2:8.

Definition at line 63 of file GEMAMCStatusDigi.h.

Referenced by Param2().

◆ m_Param3

uint8_t GEMAMCStatusDigi::m_Param3
private

Run param3:8.

Definition at line 64 of file GEMAMCStatusDigi.h.

Referenced by Param3().

◆ m_Rtype

uint8_t GEMAMCStatusDigi::m_Rtype
private

Definition at line 61 of file GEMAMCStatusDigi.h.

Referenced by Rtype().

◆ m_Tstate

uint8_t GEMAMCStatusDigi::m_Tstate
private

Definition at line 71 of file GEMAMCStatusDigi.h.

Referenced by Tstate().

GEMAMCStatusDigi::m_DlengthT
uint32_t m_DlengthT
Definition: GEMAMCStatusDigi.h:78
GEMAMCStatusDigi::m_Param2
uint8_t m_Param2
Run param2:8.
Definition: GEMAMCStatusDigi.h:63
GEMAMCStatusDigi::m_BID
uint16_t m_BID
Definition: GEMAMCStatusDigi.h:66
GEMAMCStatusDigi::m_Param3
uint8_t m_Param3
Run param3:8.
Definition: GEMAMCStatusDigi.h:64
GEMAMCStatusDigi::m_GEMDAV
uint32_t m_GEMDAV
Definition: GEMAMCStatusDigi.h:68
GEMAMCStatusDigi::m_Dlength
uint32_t m_Dlength
Definition: GEMAMCStatusDigi.h:58
GEMAMCStatusDigi::m_Bstatus
uint64_t m_Bstatus
Definition: GEMAMCStatusDigi.h:69
GEMAMCStatusDigi::m_Onum
uint16_t m_Onum
Orbit number:16.
Definition: GEMAMCStatusDigi.h:65
GEMAMCStatusDigi::m_BX
uint16_t m_BX
Definition: GEMAMCStatusDigi.h:57
GEMAMCStatusDigi::m_L1A
uint32_t m_L1A
Definition: GEMAMCStatusDigi.h:56
GEMAMCStatusDigi::m_FV
uint8_t m_FV
0000:4 Format Version:4
Definition: GEMAMCStatusDigi.h:60
GEMAMCStatusDigi::m_CRC
uint32_t m_CRC
Definition: GEMAMCStatusDigi.h:76
GEMAMCStatusDigi::m_GDcount
uint8_t m_GDcount
Definition: GEMAMCStatusDigi.h:70
GEMAMCStatusDigi::m_Tstate
uint8_t m_Tstate
Definition: GEMAMCStatusDigi.h:71
GEMAMCStatusDigi::m_Rtype
uint8_t m_Rtype
Definition: GEMAMCStatusDigi.h:61
GEMAMCStatusDigi::m_L1AT
uint8_t m_L1AT
Definition: GEMAMCStatusDigi.h:77
GEMAMCStatusDigi::m_Param1
uint8_t m_Param1
Run param1:8.
Definition: GEMAMCStatusDigi.h:62
GEMAMCStatusDigi::m_AMCnum
uint8_t m_AMCnum
Definition: GEMAMCStatusDigi.h:55
GEMAMCStatusDigi::m_OOSG
uint8_t m_OOSG
Definition: GEMAMCStatusDigi.h:74
GEMAMCStatusDigi::m_ChamT
uint32_t m_ChamT
Definition: GEMAMCStatusDigi.h:73