src
EventFilter
HGCalRawToDigi
interface
HGCalRawDataDefinitions.h
Go to the documentation of this file.
1
#ifndef EventFilter_HGCalRawToDigi_HGCalRawDataDefinitions_h
2
#define EventFilter_HGCalRawToDigi_HGCalRawDataDefinitions_h
3
4
namespace
hgcal
{
5
namespace
econd {
6
enum
ToTStatus
{
ZeroSuppressed
= 0x0,
noZeroSuppressed_TOASuppressed
= 0x1,
invalid
= 0x2,
AutomaticFull
= 0x3 };
7
}
8
enum
ECOND_FRAME
{
9
HEADER_POS
= 23,
10
HEADER_MASK
= 0x1ff,
11
PAYLOAD_POS
= 14,
12
PAYLOAD_MASK
= 0x1ff,
13
BITP_POS
= 13,
14
BITE_POS
= 12,
15
HT_MASK
= 0x3,
16
HT_POS
= 10,
17
EBO_MASK
= 0x3,
18
EBO_POS
= 8,
19
BITM_POS
= 7,
20
BITT_POS
= 6,
21
EHHAM_MASK
= 0x3f,
22
EHHAM_POS
= 0,
23
BX_POS
= 20,
24
BX_MASK
= 0xfff,
25
L1A_POS
= 14,
26
L1A_MASK
= 0x3f,
27
ORBIT_POS
= 11,
28
ORBIT_MASK
= 0x7,
29
BITS_POS
= 10,
30
RR_MASK
= 0x3,
31
RR_POS
= 8,
32
EHCRC_MASK
= 0xff,
33
EHCRC_POS
= 0,
34
ERXSTAT_POS
= 29,
35
ERXSTAT_MASK
= 0x7,
36
ERXHAM_POS
= 26,
37
ERXHAM_MASK
= 0x7,
38
ERXFORMAT_POS
= 25,
39
ERXFORMAT_MASK
= 0x1,
40
COMMONMODE0_POS
= 15,
41
COMMONMODE0_MASK
= 0x3ff,
42
COMMONMODE1_POS
= 5,
43
COMMONMODE1_MASK
= 0x3ff,
44
CHMAP32_POS
= 0,
45
CHMAP32_MASK
= 0x1f,
46
CHMAP0_POS
= 0,
47
CHMAP0_MASK
= 0xffffffff,
48
ERX_E_POS
= 4,
49
ERX_E_MASK
= 1
50
};
51
52
enum
BACKEND_FRAME
{
53
CAPTUREBLOCK_RESERVED_MASK
= 0x7f,
54
CAPTUREBLOCK_RESERVED_POS
= 25,
55
CAPTUREBLOCK_BC_MASK
= 0xfff,
56
CAPTUREBLOCK_BC_POS
= 13,
57
CAPTUREBLOCK_EC_MASK
= 0x7f,
58
CAPTUREBLOCK_EC_POS
= 7,
59
CAPTUREBLOCK_OC_MASK
= 0x7,
60
CAPTUREBLOCK_OC_POS
= 4,
61
SLINK_BOE_MASK
= 0xff,
62
SLINK_BOE_POS
= 23,
63
SLINK_V_MASK
= 0xf,
64
SLINK_V_POS
= 19,
65
SLINK_R8_MASK
= 0xff,
66
SLINK_R8_POS
= 11,
67
SLINK_GLOBAL_EVENTID_MSB_MASK
= 0xfff,
68
SLINK_GLOBAL_EVENTID_MSB_POS
= 0,
69
SLINK_GLOBAL_EVENTID_LSB_MASK
= 0xffffffff,
70
SLINK_GLOBAL_EVENTID_LSB_POS
= 0,
71
SLINK_R6_MASK
= 0x3f,
72
SLINK_R6_POS
= 25,
73
SLINK_CONTENTID_MASK
= 0x3FFFFFF,
74
SLINK_CONTENTID_POS
= 0,
75
SLINK_SOURCEID_MASK
= 0xffffffff,
76
SLINK_SOURCEID_POS
= 0,
77
SLINK_EOE_MASK
= 0xff,
78
SLINK_EOE_POS
= 23,
79
SLINK_DAQCRC_MASK
= 0xffff,
80
SLINK_DAQCRC_POS
= 7,
81
SLINK_TRAILERR_MASK
= 0xff,
82
SLINK_TRAILERR_POS
= 0,
83
SLINK_EVLENGTH_MASK
= 0xfffff,
84
SLINK_EVLENGTH_POS
= 11,
85
SLINK_BXID_MASK
= 0xfff,
86
SLINK_BXID_POS
= 0,
87
SLINK_ORBID_MASK
= 0xffffffff,
88
SLINK_ORBID_POS
= 0,
89
SLINK_CRC_MASK
= 0xffff,
90
SLINK_CRC_POS
= 15,
91
SLINK_STATUS_MASK
= 0xffff,
92
SLINK_STATUS_POS
= 0,
93
};
94
}
// namespace hgcal
95
96
#endif
hgcal::SLINK_CONTENTID_MASK
Definition:
HGCalRawDataDefinitions.h:73
hgcal::EHHAM_POS
Definition:
HGCalRawDataDefinitions.h:22
hgcal::SLINK_V_MASK
Definition:
HGCalRawDataDefinitions.h:63
hgcal::SLINK_EOE_MASK
Definition:
HGCalRawDataDefinitions.h:77
hgcal::CHMAP0_MASK
Definition:
HGCalRawDataDefinitions.h:47
hgcal::SLINK_CONTENTID_POS
Definition:
HGCalRawDataDefinitions.h:74
hgcal::econd::invalid
Definition:
HGCalRawDataDefinitions.h:6
hgcal::PAYLOAD_MASK
Definition:
HGCalRawDataDefinitions.h:12
hgcal::SLINK_CRC_POS
Definition:
HGCalRawDataDefinitions.h:90
hgcal::L1A_POS
Definition:
HGCalRawDataDefinitions.h:25
hgcal::ERX_E_MASK
Definition:
HGCalRawDataDefinitions.h:49
hgcal::ERX_E_POS
Definition:
HGCalRawDataDefinitions.h:48
hgcal::BITM_POS
Definition:
HGCalRawDataDefinitions.h:19
hgcal::EHCRC_POS
Definition:
HGCalRawDataDefinitions.h:33
hgcal::BITP_POS
Definition:
HGCalRawDataDefinitions.h:13
hgcal::ERXHAM_MASK
Definition:
HGCalRawDataDefinitions.h:37
hgcal::SLINK_SOURCEID_MASK
Definition:
HGCalRawDataDefinitions.h:75
hgcal::CAPTUREBLOCK_RESERVED_POS
Definition:
HGCalRawDataDefinitions.h:54
hgcal::SLINK_EOE_POS
Definition:
HGCalRawDataDefinitions.h:78
hgcal::SLINK_ORBID_MASK
Definition:
HGCalRawDataDefinitions.h:87
hgcal::SLINK_R8_POS
Definition:
HGCalRawDataDefinitions.h:66
hgcal::CAPTUREBLOCK_BC_POS
Definition:
HGCalRawDataDefinitions.h:56
hgcal::econd::ZeroSuppressed
Definition:
HGCalRawDataDefinitions.h:6
hgcal::EHHAM_MASK
Definition:
HGCalRawDataDefinitions.h:21
hgcal::SLINK_GLOBAL_EVENTID_MSB_MASK
Definition:
HGCalRawDataDefinitions.h:67
hgcal::ERXHAM_POS
Definition:
HGCalRawDataDefinitions.h:36
hgcal::CAPTUREBLOCK_RESERVED_MASK
Definition:
HGCalRawDataDefinitions.h:53
hgcal::EBO_POS
Definition:
HGCalRawDataDefinitions.h:18
hgcal::HT_MASK
Definition:
HGCalRawDataDefinitions.h:15
hgcal::PAYLOAD_POS
Definition:
HGCalRawDataDefinitions.h:11
hgcal::SLINK_GLOBAL_EVENTID_LSB_POS
Definition:
HGCalRawDataDefinitions.h:70
hgcal::EBO_MASK
Definition:
HGCalRawDataDefinitions.h:17
hgcal::CHMAP32_MASK
Definition:
HGCalRawDataDefinitions.h:45
hgcal
hgcal::SLINK_R8_MASK
Definition:
HGCalRawDataDefinitions.h:65
hgcal::SLINK_GLOBAL_EVENTID_MSB_POS
Definition:
HGCalRawDataDefinitions.h:68
hgcal::HEADER_MASK
Definition:
HGCalRawDataDefinitions.h:10
hgcal::CAPTUREBLOCK_BC_MASK
Definition:
HGCalRawDataDefinitions.h:55
hgcal::SLINK_SOURCEID_POS
Definition:
HGCalRawDataDefinitions.h:76
hgcal::SLINK_CRC_MASK
Definition:
HGCalRawDataDefinitions.h:89
hgcal::EHCRC_MASK
Definition:
HGCalRawDataDefinitions.h:32
hgcal::SLINK_GLOBAL_EVENTID_LSB_MASK
Definition:
HGCalRawDataDefinitions.h:69
hgcal::SLINK_R6_MASK
Definition:
HGCalRawDataDefinitions.h:71
hgcal::SLINK_DAQCRC_MASK
Definition:
HGCalRawDataDefinitions.h:79
hgcal::COMMONMODE1_MASK
Definition:
HGCalRawDataDefinitions.h:43
hgcal::econd::AutomaticFull
Definition:
HGCalRawDataDefinitions.h:6
hgcal::econd::noZeroSuppressed_TOASuppressed
Definition:
HGCalRawDataDefinitions.h:6
hgcal::SLINK_R6_POS
Definition:
HGCalRawDataDefinitions.h:72
hgcal::SLINK_BXID_POS
Definition:
HGCalRawDataDefinitions.h:86
hgcal::ERXSTAT_MASK
Definition:
HGCalRawDataDefinitions.h:35
hgcal::SLINK_BOE_POS
Definition:
HGCalRawDataDefinitions.h:62
hgcal::COMMONMODE1_POS
Definition:
HGCalRawDataDefinitions.h:42
hgcal::BITS_POS
Definition:
HGCalRawDataDefinitions.h:29
hgcal::BX_MASK
Definition:
HGCalRawDataDefinitions.h:24
hgcal::SLINK_DAQCRC_POS
Definition:
HGCalRawDataDefinitions.h:80
hgcal::COMMONMODE0_POS
Definition:
HGCalRawDataDefinitions.h:40
hgcal::SLINK_TRAILERR_POS
Definition:
HGCalRawDataDefinitions.h:82
hgcal::CHMAP32_POS
Definition:
HGCalRawDataDefinitions.h:44
hgcal::SLINK_V_POS
Definition:
HGCalRawDataDefinitions.h:64
hgcal::BITE_POS
Definition:
HGCalRawDataDefinitions.h:14
hgcal::CAPTUREBLOCK_EC_POS
Definition:
HGCalRawDataDefinitions.h:58
hgcal::CHMAP0_POS
Definition:
HGCalRawDataDefinitions.h:46
hgcal::ORBIT_MASK
Definition:
HGCalRawDataDefinitions.h:28
hgcal::SLINK_BOE_MASK
Definition:
HGCalRawDataDefinitions.h:61
hgcal::BACKEND_FRAME
BACKEND_FRAME
Definition:
HGCalRawDataDefinitions.h:52
hgcal::CAPTUREBLOCK_OC_POS
Definition:
HGCalRawDataDefinitions.h:60
hgcal::L1A_MASK
Definition:
HGCalRawDataDefinitions.h:26
hgcal::ERXFORMAT_MASK
Definition:
HGCalRawDataDefinitions.h:39
hgcal::SLINK_EVLENGTH_POS
Definition:
HGCalRawDataDefinitions.h:84
hgcal::BX_POS
Definition:
HGCalRawDataDefinitions.h:23
hgcal::RR_POS
Definition:
HGCalRawDataDefinitions.h:31
hgcal::RR_MASK
Definition:
HGCalRawDataDefinitions.h:30
hgcal::CAPTUREBLOCK_EC_MASK
Definition:
HGCalRawDataDefinitions.h:57
hgcal::ORBIT_POS
Definition:
HGCalRawDataDefinitions.h:27
hgcal::CAPTUREBLOCK_OC_MASK
Definition:
HGCalRawDataDefinitions.h:59
hgcal::HEADER_POS
Definition:
HGCalRawDataDefinitions.h:9
hgcal::ERXSTAT_POS
Definition:
HGCalRawDataDefinitions.h:34
hgcal::SLINK_STATUS_POS
Definition:
HGCalRawDataDefinitions.h:92
hgcal::ERXFORMAT_POS
Definition:
HGCalRawDataDefinitions.h:38
hgcal::econd::ToTStatus
ToTStatus
Definition:
HGCalRawDataDefinitions.h:6
hgcal::HT_POS
Definition:
HGCalRawDataDefinitions.h:16
hgcal::SLINK_BXID_MASK
Definition:
HGCalRawDataDefinitions.h:85
hgcal::SLINK_EVLENGTH_MASK
Definition:
HGCalRawDataDefinitions.h:83
hgcal::SLINK_ORBID_POS
Definition:
HGCalRawDataDefinitions.h:88
hgcal::SLINK_STATUS_MASK
Definition:
HGCalRawDataDefinitions.h:91
hgcal::COMMONMODE0_MASK
Definition:
HGCalRawDataDefinitions.h:41
hgcal::ECOND_FRAME
ECOND_FRAME
Definition:
HGCalRawDataDefinitions.h:8
hgcal::BITT_POS
Definition:
HGCalRawDataDefinitions.h:20
hgcal::SLINK_TRAILERR_MASK
Definition:
HGCalRawDataDefinitions.h:81
Generated for CMSSW Reference Manual by
1.8.14