DataFormats
GEMDigi
interface
GEMAMCStatusDigi.h
Go to the documentation of this file.
1
#ifndef DataFormats_GEMDigi_GEMAMCStatusDigi_H
2
#define DataFormats_GEMDigi_GEMAMCStatusDigi_H
3
4
#include <cstdint>
5
#include <vector>
6
7
class
GEMAMCStatusDigi
{
8
public
:
9
explicit
GEMAMCStatusDigi
(
const
uint8_t AMCnum_,
10
const
uint32_t L1A_,
11
const
uint16_t BX_,
12
const
uint32_t Dlength_,
13
const
uint8_t FV_,
14
const
uint8_t Rtype_,
15
const
uint8_t Param1_,
16
const
uint8_t Param2_,
17
const
uint8_t Param3_,
18
const
uint16_t Onum_,
19
const
uint16_t BID_,
20
const
uint32_t GEMDAV_,
21
const
uint64_t
Bstatus_,
22
const
uint8_t GDcount_,
23
const
uint8_t Tstate_,
24
const
uint32_t ChamT_,
25
const
uint8_t
OOSG
);
26
27
GEMAMCStatusDigi
() {}
28
29
uint8_t
AMCnum
()
const
{
return
m_AMCnum
; }
30
uint32_t
L1A
()
const
{
return
m_L1A
; }
31
uint16_t
BX
()
const
{
return
m_BX
; }
32
uint32_t
Dlength
()
const
{
return
m_Dlength
; }
33
34
uint8_t
FV
()
const
{
return
m_FV
; }
35
uint8_t
Rtype
()
const
{
return
m_Rtype
; }
36
uint8_t
Param1
()
const
{
return
m_Param1
; }
37
uint8_t
Param2
()
const
{
return
m_Param2
; }
38
uint8_t
Param3
()
const
{
return
m_Param3
; }
39
uint16_t
Onum
()
const
{
return
m_Onum
; }
40
uint16_t
BID
()
const
{
return
m_BID
; }
41
42
uint32_t
GEMDAV
()
const
{
return
m_GEMDAV
; }
43
uint64_t
Bstatus
()
const
{
return
m_Bstatus
; }
44
int
GDcount
()
const
{
return
unsigned(
m_GDcount
); }
45
uint8_t
Tstate
()
const
{
return
m_Tstate
; }
46
47
uint32_t
ChamT
()
const
{
return
m_ChamT
; }
48
uint8_t
OOSG
()
const
{
return
m_OOSG
; }
49
50
uint32_t
CRC
()
const
{
return
m_CRC
; }
51
uint8_t
L1AT
()
const
{
return
m_L1AT
; }
52
uint32_t
DlengthT
()
const
{
return
m_DlengthT
; }
53
54
private
:
55
uint8_t
m_AMCnum
;
56
uint32_t
m_L1A
;
57
uint16_t
m_BX
;
58
uint32_t
m_Dlength
;
59
60
uint8_t
m_FV
;
61
uint8_t
m_Rtype
;
62
uint8_t
m_Param1
;
63
uint8_t
m_Param2
;
64
uint8_t
m_Param3
;
65
uint16_t
m_Onum
;
66
uint16_t
m_BID
;
67
68
uint32_t
m_GEMDAV
;
69
uint64_t
m_Bstatus
;
70
uint8_t
m_GDcount
;
71
uint8_t
m_Tstate
;
72
73
uint32_t
m_ChamT
;
74
uint8_t
m_OOSG
;
75
76
uint32_t
m_CRC
;
77
uint8_t
m_L1AT
;
78
uint32_t
m_DlengthT
;
79
};
80
#endif
GEMAMCStatusDigi::BX
uint16_t BX() const
Returns Bunch Crossing ID.
Definition:
GEMAMCStatusDigi.h:31
GEMAMCStatusDigi::m_DlengthT
uint32_t m_DlengthT
Definition:
GEMAMCStatusDigi.h:78
GEMAMCStatusDigi::CRC
uint32_t CRC() const
Definition:
GEMAMCStatusDigi.h:50
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::Dlength
uint32_t Dlength() const
Returns Data Length (Overall size of FED event fragment)
Definition:
GEMAMCStatusDigi.h:32
GEMAMCStatusDigi::GEMDAV
uint32_t GEMDAV() const
Returns GEM DAV list (which chambers have data)
Definition:
GEMAMCStatusDigi.h:42
GEMAMCStatusDigi::m_GEMDAV
uint32_t m_GEMDAV
Definition:
GEMAMCStatusDigi.h:68
GEMAMCStatusDigi::DlengthT
uint32_t DlengthT() const
Definition:
GEMAMCStatusDigi.h:52
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::OOSG
uint8_t OOSG() const
Return OOS GLIB (if GLIB is out of sync)
Definition:
GEMAMCStatusDigi.h:48
GEMAMCStatusDigi
Definition:
GEMAMCStatusDigi.h:7
GEMAMCStatusDigi::ChamT
uint32_t ChamT() const
Return Chamber Timeout.
Definition:
GEMAMCStatusDigi.h:47
GEMAMCStatusDigi::m_L1A
uint32_t m_L1A
Definition:
GEMAMCStatusDigi.h:56
GEMAMCStatusDigi::Tstate
uint8_t Tstate() const
Returns TTS state.
Definition:
GEMAMCStatusDigi.h:45
GEMAMCStatusDigi::m_FV
uint8_t m_FV
0000:4 Format Version:4
Definition:
GEMAMCStatusDigi.h:60
GEMAMCStatusDigi::Bstatus
uint64_t Bstatus() const
Returns Buffer status.
Definition:
GEMAMCStatusDigi.h:43
GEMAMCStatusDigi::Param3
uint8_t Param3() const
Definition:
GEMAMCStatusDigi.h:38
GEMAMCStatusDigi::Param2
uint8_t Param2() const
Definition:
GEMAMCStatusDigi.h:37
GEMAMCStatusDigi::Param1
uint8_t Param1() const
Definition:
GEMAMCStatusDigi.h:36
GEMAMCStatusDigi::m_CRC
uint32_t m_CRC
Definition:
GEMAMCStatusDigi.h:76
GEMAMCStatusDigi::GDcount
int GDcount() const
Returns GEM DAV count (number of chamber blocks)
Definition:
GEMAMCStatusDigi.h:44
GEMAMCStatusDigi::m_GDcount
uint8_t m_GDcount
Definition:
GEMAMCStatusDigi.h:70
GEMAMCStatusDigi::L1A
uint32_t L1A() const
Returns L1A number.
Definition:
GEMAMCStatusDigi.h:30
GEMAMCStatusDigi::m_Tstate
uint8_t m_Tstate
Definition:
GEMAMCStatusDigi.h:71
GEMAMCStatusDigi::GEMAMCStatusDigi
GEMAMCStatusDigi()
Definition:
GEMAMCStatusDigi.h:27
GEMAMCStatusDigi::AMCnum
uint8_t AMCnum() const
Returns AMC number.
Definition:
GEMAMCStatusDigi.h:29
GEMAMCStatusDigi::m_Rtype
uint8_t m_Rtype
Definition:
GEMAMCStatusDigi.h:61
GEMAMCStatusDigi::m_L1AT
uint8_t m_L1AT
Definition:
GEMAMCStatusDigi.h:77
GEMAMCStatusDigi::BID
uint16_t BID() const
Returns Board ID.
Definition:
GEMAMCStatusDigi.h:40
GEMAMCStatusDigi::m_Param1
uint8_t m_Param1
Run param1:8.
Definition:
GEMAMCStatusDigi.h:62
GEMAMCStatusDigi::Onum
uint16_t Onum() const
Returns Orbit number.
Definition:
GEMAMCStatusDigi.h:39
GEMAMCStatusDigi::m_AMCnum
uint8_t m_AMCnum
Definition:
GEMAMCStatusDigi.h:55
GEMAMCStatusDigi::m_OOSG
uint8_t m_OOSG
Definition:
GEMAMCStatusDigi.h:74
GEMAMCStatusDigi::Rtype
uint8_t Rtype() const
Returns Run Type.
Definition:
GEMAMCStatusDigi.h:35
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:13
GEMAMCStatusDigi::L1AT
uint8_t L1AT() const
Definition:
GEMAMCStatusDigi.h:51
GEMAMCStatusDigi::m_ChamT
uint32_t m_ChamT
Definition:
GEMAMCStatusDigi.h:73
GEMAMCStatusDigi::FV
uint8_t FV() const
Returns Format Version.
Definition:
GEMAMCStatusDigi.h:34
Generated for CMSSW Reference Manual by
1.8.16