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 (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)
 
 GEMAMCStatusDigi ()
 
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::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.

19  :
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_)
37 {};
uint16_t m_Onum
Orbit number:16.
uint8_t m_FV
0000:4 Format Version:4
uint8_t m_Param2
Run param2:8.
uint8_t m_Param1
Run param1:8.
uint8_t m_Param3
Run param3:8.
GEMAMCStatusDigi::GEMAMCStatusDigi ( )
inline

Definition at line 30 of file GEMAMCStatusDigi.h.

30 {}

Member Function Documentation

uint8_t GEMAMCStatusDigi::AMCnum ( ) const
inline

Returns AMC number.

Definition at line 32 of file GEMAMCStatusDigi.h.

References m_AMCnum.

uint16_t GEMAMCStatusDigi::BID ( ) const
inline

Returns Board ID.

Definition at line 43 of file GEMAMCStatusDigi.h.

References m_BID.

uint64_t GEMAMCStatusDigi::Bstatus ( ) const
inline

Returns Buffer status.

Definition at line 46 of file GEMAMCStatusDigi.h.

References m_Bstatus.

uint16_t GEMAMCStatusDigi::BX ( ) const
inline

Returns Bunch Crossing ID.

Definition at line 34 of file GEMAMCStatusDigi.h.

References m_BX.

uint32_t GEMAMCStatusDigi::ChamT ( ) const
inline

Return Chamber Timeout.

Definition at line 50 of file GEMAMCStatusDigi.h.

References m_ChamT.

uint32_t GEMAMCStatusDigi::CRC ( ) const
inline

Definition at line 53 of file GEMAMCStatusDigi.h.

References m_CRC.

53 {return m_CRC;}
uint32_t GEMAMCStatusDigi::Dlength ( ) const
inline

Returns Data Length (Overall size of FED event fragment)

Definition at line 35 of file GEMAMCStatusDigi.h.

References m_Dlength.

uint32_t GEMAMCStatusDigi::DlengthT ( ) const
inline

Definition at line 55 of file GEMAMCStatusDigi.h.

References m_DlengthT.

55 {return m_DlengthT;}
uint8_t GEMAMCStatusDigi::FV ( ) const
inline

Returns Format Version.

Definition at line 37 of file GEMAMCStatusDigi.h.

References m_FV.

int GEMAMCStatusDigi::GDcount ( ) const
inline

Returns GEM DAV count (number of chamber blocks)

Definition at line 47 of file GEMAMCStatusDigi.h.

References m_GDcount.

uint32_t GEMAMCStatusDigi::GEMDAV ( ) const
inline

Returns GEM DAV list (which chambers have data)

Definition at line 45 of file GEMAMCStatusDigi.h.

References m_GEMDAV.

uint32_t GEMAMCStatusDigi::L1A ( ) const
inline

Returns L1A number.

Definition at line 33 of file GEMAMCStatusDigi.h.

References m_L1A.

uint8_t GEMAMCStatusDigi::L1AT ( ) const
inline

Definition at line 54 of file GEMAMCStatusDigi.h.

References m_L1AT.

54 {return m_L1AT;}
uint16_t GEMAMCStatusDigi::Onum ( ) const
inline

Returns Orbit number.

Definition at line 42 of file GEMAMCStatusDigi.h.

References m_Onum.

uint8_t GEMAMCStatusDigi::OOSG ( ) const
inline

Return OOS GLIB (if GLIB is out of sync)

Definition at line 51 of file GEMAMCStatusDigi.h.

References m_OOSG.

uint8_t GEMAMCStatusDigi::Param1 ( ) const
inline

Definition at line 39 of file GEMAMCStatusDigi.h.

References m_Param1.

39 {return m_Param1;}
uint8_t m_Param1
Run param1:8.
uint8_t GEMAMCStatusDigi::Param2 ( ) const
inline

Definition at line 40 of file GEMAMCStatusDigi.h.

References m_Param2.

40 {return m_Param2;}
uint8_t m_Param2
Run param2:8.
uint8_t GEMAMCStatusDigi::Param3 ( ) const
inline

Definition at line 41 of file GEMAMCStatusDigi.h.

References m_Param3.

41 {return m_Param3;}
uint8_t m_Param3
Run param3:8.
uint8_t GEMAMCStatusDigi::Rtype ( ) const
inline

Returns Run Type.

Definition at line 38 of file GEMAMCStatusDigi.h.

References m_Rtype.

uint8_t GEMAMCStatusDigi::Tstate ( ) const
inline

Returns TTS state.

Definition at line 48 of file GEMAMCStatusDigi.h.

References m_Tstate.

Member Data Documentation

uint8_t GEMAMCStatusDigi::m_AMCnum
private

Definition at line 61 of file GEMAMCStatusDigi.h.

Referenced by AMCnum().

uint16_t GEMAMCStatusDigi::m_BID
private

Definition at line 74 of file GEMAMCStatusDigi.h.

Referenced by BID().

uint64_t GEMAMCStatusDigi::m_Bstatus
private

Definition at line 78 of file GEMAMCStatusDigi.h.

Referenced by Bstatus().

uint16_t GEMAMCStatusDigi::m_BX
private

Definition at line 63 of file GEMAMCStatusDigi.h.

Referenced by BX().

uint32_t GEMAMCStatusDigi::m_ChamT
private

Definition at line 83 of file GEMAMCStatusDigi.h.

Referenced by ChamT().

uint32_t GEMAMCStatusDigi::m_CRC
private

Definition at line 86 of file GEMAMCStatusDigi.h.

Referenced by CRC().

uint32_t GEMAMCStatusDigi::m_Dlength
private

Definition at line 64 of file GEMAMCStatusDigi.h.

Referenced by Dlength().

uint32_t GEMAMCStatusDigi::m_DlengthT
private

Definition at line 88 of file GEMAMCStatusDigi.h.

Referenced by DlengthT().

uint8_t GEMAMCStatusDigi::m_FV
private

0000:4 Format Version:4

Definition at line 68 of file GEMAMCStatusDigi.h.

Referenced by FV().

uint8_t GEMAMCStatusDigi::m_GDcount
private

Definition at line 79 of file GEMAMCStatusDigi.h.

Referenced by GDcount().

uint32_t GEMAMCStatusDigi::m_GEMDAV
private

Definition at line 77 of file GEMAMCStatusDigi.h.

Referenced by GEMDAV().

uint32_t GEMAMCStatusDigi::m_L1A
private

Definition at line 62 of file GEMAMCStatusDigi.h.

Referenced by L1A().

uint8_t GEMAMCStatusDigi::m_L1AT
private

Definition at line 87 of file GEMAMCStatusDigi.h.

Referenced by L1AT().

uint16_t GEMAMCStatusDigi::m_Onum
private

Orbit number:16.

Definition at line 73 of file GEMAMCStatusDigi.h.

Referenced by Onum().

uint8_t GEMAMCStatusDigi::m_OOSG
private

Definition at line 84 of file GEMAMCStatusDigi.h.

Referenced by OOSG().

uint8_t GEMAMCStatusDigi::m_Param1
private

Run param1:8.

Definition at line 70 of file GEMAMCStatusDigi.h.

Referenced by Param1().

uint8_t GEMAMCStatusDigi::m_Param2
private

Run param2:8.

Definition at line 71 of file GEMAMCStatusDigi.h.

Referenced by Param2().

uint8_t GEMAMCStatusDigi::m_Param3
private

Run param3:8.

Definition at line 72 of file GEMAMCStatusDigi.h.

Referenced by Param3().

uint8_t GEMAMCStatusDigi::m_Rtype
private

Definition at line 69 of file GEMAMCStatusDigi.h.

Referenced by Rtype().

uint8_t GEMAMCStatusDigi::m_Tstate
private

Definition at line 80 of file GEMAMCStatusDigi.h.

Referenced by Tstate().