ATLAS Offline Software
MuonSpectrometer
MuonCnv
MuonNSWCommonDecode
MuonNSWCommonDecode
NSWDecodeBitmaps.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef _MUON_NSW_DECODE_BITMAPS_H_
5
#define _MUON_NSW_DECODE_BITMAPS_H_
6
7
namespace
Muon
8
{
9
namespace
nsw
10
{
11
enum
EMaskRawData
12
{
13
// Felix Header (2 words)
14
eMaskFlxLENGTH
= 0x0000ffff,
15
eMaskFlxSTATUS
= 0xffff0000,
16
eMaskFlxELINKID
= 0xffffffff,
17
18
// sROC Header (1 word)
19
eMaskSRocNullL1ID
= 0x00ff0000,
20
eMaskSRocNullID
= 0x3f000000,
21
eMaskSRocL1ID
= 0x0000ffff,
22
eMaskSRocBCID
= 0x0fff0000,
23
eMaskSRocORBIT
= 0x30000000,
24
eMaskSRocNULL
= 0x40000000,
25
eMaskSRocNOTDC
= 0x80000000,
26
27
// VMM Hit Data
28
eMaskVmmHitTDC
= 0x000000ff,
29
eMaskVmmHitADC
= 0x0003ff00,
30
eMaskVmmHitCHANNEL
= 0x00fc0000,
31
eMaskVmmHitVMMID
= 0x07000000,
32
eMaskVmmHitRELBCID
= 0x38000000,
33
eMaskVmmHitN
= 0x40000000,
// neighbor
34
eMaskVmmHitP
= 0x80000000,
// parity bit
35
36
// ROC Trailer (1 word)
37
eMaskTrailCHECKSUM
= 0x000000ff,
38
eMaskTrailLENGTH
= 0x0003ff00,
39
eMaskTrailL0ID
= 0x003c0000,
40
eMaskTrailFLAGMISS
= 0x3fc00000,
41
eMaskTrailTO
= 0x40000000,
// true if VMMs ignored due to timeouts
42
eMaskTrailEXTENDED
= 0x80000000
// "extended-trailer" bit, not used
43
};
44
45
enum
BitMaskRawData
46
{
47
// Felix Header (2 words)
48
bitMaskFlxLENGTH
= 0xffff,
49
bitMaskFlxSTATUS
= 0xffff,
50
bitMaskFlxELINKID
= 0xffffffff,
51
52
// sROC Header (1 word)
53
bitMaskSRocNullL1ID
= 0xff,
54
bitMaskSRocNullID
= 0x3f,
55
bitMaskSRocL1ID
= 0xffff,
56
bitMaskSRocBCID
= 0xfff,
57
bitMaskSRocORBIT
= 0x3,
58
bitMaskSRocNULL
= 0x1,
59
bitMaskSRocNOTDC
= 0x1,
60
61
// VMM Hit Data
62
bitMaskVmmHitTDC
= 0xff,
63
bitMaskVmmHitADC
= 0x3ff,
64
bitMaskVmmHitCHANNEL
= 0x3f,
65
bitMaskVmmHitVMMID
= 0x7,
66
bitMaskVmmHitRELBCID
= 0x7,
67
bitMaskVmmHitN
= 0x1,
// neighbor
68
bitMaskVmmHitP
= 0x1,
// parity bit
69
70
// ROC Trailer (1 word)
71
bitMaskTrailCHECKSUM
= 0xff,
72
bitMaskTrailLENGTH
= 0x3ff,
73
bitMaskTrailL0ID
= 0xf,
74
bitMaskTrailFLAGMISS
= 0xff,
75
bitMaskTrailTO
= 0x1,
// true if VMMs ignored due to timeouts
76
bitMaskTrailEXTENDED
= 0x1
// "extended-trailer" bit, not used
77
};
78
79
enum
BitPosRawData
80
{
81
// Felix Header (2 words)
82
bitPosFlxLENGTH
= 0,
83
bitPosFlxSTATUS
= 16,
84
bitPosFlxELINKID
= 0,
85
86
// sROC Header (1 word)
87
bitPosSRocNullL1ID
= 16,
88
bitPosSRocNullID
= 24,
89
bitPosSRocL1ID
= 0,
90
bitPosSRocBCID
= 16,
91
bitPosSRocORBIT
= 28,
92
bitPosSRocNULL
= 30,
93
bitPosSRocNOTDC
= 31,
94
95
// VMM Hit Data
96
bitPosVmmHitTDC
= 0,
97
bitPosVmmHitADC
= 8,
98
bitPosVmmHitCHANNEL
= 18,
99
bitPosVmmHitVMMID
= 24,
100
bitPosVmmHitRELBCID
= 27,
101
bitPosVmmHitN
= 30,
// neighbor
102
bitPosVmmHitP
= 31,
// parity bit
103
104
// ROC Trailer (1 word)
105
bitPosTrailCHECKSUM
= 0,
106
bitPosTrailLENGTH
= 8,
107
bitPosTrailL0ID
= 18,
108
bitPosTrailFLAGMISS
= 22,
109
bitPosTrailTO
= 30,
// true if VMMs ignored due to timeouts
110
bitPosTrailEXTENDED
= 31
// "extended-trailer" bit, not used
111
};
112
113
enum
EMaskDetectorResource
114
{
115
eMaskElink
= 0x00000007,
116
eMaskRadius
= 0x00000078,
117
eMaskLayer
= 0x00000380,
118
eMaskSector
= 0x00003c00,
119
eMaskResType
= 0x0001c000,
120
eMaskDataType
= 0x000e0000,
121
eMaskRESERVED
= 0x00100000,
122
eMaskVersion
= 0x00e00000,
123
eMaskDetId
= 0xff000000,
124
125
// For pre-versioned format used during commissioning
126
127
eMaskObsEta
= 0x00004000,
128
eMaskObsResType
= 0x00078000,
129
eMaskObsTech
= 0x00080000,
130
eMaskObsDataType
= 0x00700000
131
};
132
133
enum
BitMaskDetectorResource
134
{
135
bitMaskElink
= 0x7,
136
bitMaskRadius
= 0xf,
137
bitMaskLayer
= 0x7,
138
bitMaskSector
= 0xf,
139
bitMaskResType
= 0x7,
140
bitMaskDataType
= 0x7,
141
bitMaskRESERVED
= 0x1,
142
bitMaskVersion
= 0x7,
143
bitMaskDetId
= 0xff,
144
145
// For pre-versioned format used during commissioning
146
147
bitMaskObsEta
= 0x1,
148
bitMaskObsResType
= 0xf,
149
bitMaskObsTech
= 0x1,
150
bitMaskObsDataType
= 0x7
151
};
152
153
enum
BitPosDetectorResource
154
{
155
bitPosElink
= 0,
156
bitPosRadius
= 3,
157
bitPosLayer
= 7,
158
bitPosSector
= 10,
159
bitPosResType
= 14,
160
bitPosDataType
= 17,
161
bitPosRESERVED
= 20,
162
bitPosVersion
= 21,
163
bitPosDetId
= 24,
164
165
// For pre-versioned format used during commissioning
166
167
bitPosObsEta
= 14,
168
bitPosObsResType
= 15,
169
bitPosObsTech
= 19,
170
bitPosObsDataType
= 20
171
};
172
}
173
}
174
175
#endif // _MUON_NSW_DECODE_BITMAPS_H_
176
177
Muon::nsw::eMaskFlxLENGTH
@ eMaskFlxLENGTH
Definition:
NSWDecodeBitmaps.h:14
Muon::nsw::bitMaskDataType
@ bitMaskDataType
Definition:
NSWDecodeBitmaps.h:140
Muon::nsw::bitMaskSRocORBIT
@ bitMaskSRocORBIT
Definition:
NSWDecodeBitmaps.h:57
Muon::nsw::eMaskSRocNullL1ID
@ eMaskSRocNullL1ID
Definition:
NSWDecodeBitmaps.h:19
Muon::nsw::bitMaskSRocNULL
@ bitMaskSRocNULL
Definition:
NSWDecodeBitmaps.h:58
Muon::nsw::eMaskFlxSTATUS
@ eMaskFlxSTATUS
Definition:
NSWDecodeBitmaps.h:15
Muon::nsw::bitPosVmmHitCHANNEL
@ bitPosVmmHitCHANNEL
Definition:
NSWDecodeBitmaps.h:98
Muon::nsw::bitPosTrailTO
@ bitPosTrailTO
Definition:
NSWDecodeBitmaps.h:109
Muon::nsw::eMaskVmmHitVMMID
@ eMaskVmmHitVMMID
Definition:
NSWDecodeBitmaps.h:31
Muon::nsw::bitMaskResType
@ bitMaskResType
Definition:
NSWDecodeBitmaps.h:139
Muon::nsw::bitPosElink
@ bitPosElink
Definition:
NSWDecodeBitmaps.h:155
Muon::nsw::bitMaskFlxLENGTH
@ bitMaskFlxLENGTH
Definition:
NSWDecodeBitmaps.h:48
Muon::nsw::eMaskObsEta
@ eMaskObsEta
Definition:
NSWDecodeBitmaps.h:127
Muon::nsw::EMaskDetectorResource
EMaskDetectorResource
Definition:
NSWDecodeBitmaps.h:114
Muon::nsw::bitPosFlxLENGTH
@ bitPosFlxLENGTH
Definition:
NSWDecodeBitmaps.h:82
Muon::nsw::BitMaskRawData
BitMaskRawData
Definition:
NSWDecodeBitmaps.h:46
Muon::nsw::bitMaskSRocNullL1ID
@ bitMaskSRocNullL1ID
Definition:
NSWDecodeBitmaps.h:53
Muon::nsw::bitPosVmmHitTDC
@ bitPosVmmHitTDC
Definition:
NSWDecodeBitmaps.h:96
Muon::nsw::eMaskVersion
@ eMaskVersion
Definition:
NSWDecodeBitmaps.h:122
Muon::nsw::bitMaskFlxELINKID
@ bitMaskFlxELINKID
Definition:
NSWDecodeBitmaps.h:50
Muon::nsw::bitMaskTrailL0ID
@ bitMaskTrailL0ID
Definition:
NSWDecodeBitmaps.h:73
Muon::nsw::eMaskTrailLENGTH
@ eMaskTrailLENGTH
Definition:
NSWDecodeBitmaps.h:38
Muon::nsw::bitMaskSRocL1ID
@ bitMaskSRocL1ID
Definition:
NSWDecodeBitmaps.h:55
Muon::nsw::bitPosLayer
@ bitPosLayer
Definition:
NSWDecodeBitmaps.h:157
Muon::nsw::bitMaskSRocBCID
@ bitMaskSRocBCID
Definition:
NSWDecodeBitmaps.h:56
Muon::nsw::bitPosSRocL1ID
@ bitPosSRocL1ID
Definition:
NSWDecodeBitmaps.h:89
Muon::nsw::bitPosTrailLENGTH
@ bitPosTrailLENGTH
Definition:
NSWDecodeBitmaps.h:106
Muon::nsw::bitPosSRocBCID
@ bitPosSRocBCID
Definition:
NSWDecodeBitmaps.h:90
Muon::nsw::bitPosFlxELINKID
@ bitPosFlxELINKID
Definition:
NSWDecodeBitmaps.h:84
Muon::nsw::bitPosTrailL0ID
@ bitPosTrailL0ID
Definition:
NSWDecodeBitmaps.h:107
Muon::nsw::bitPosTrailEXTENDED
@ bitPosTrailEXTENDED
Definition:
NSWDecodeBitmaps.h:110
Muon::nsw::eMaskSRocNullID
@ eMaskSRocNullID
Definition:
NSWDecodeBitmaps.h:20
Muon::nsw::eMaskVmmHitP
@ eMaskVmmHitP
Definition:
NSWDecodeBitmaps.h:34
Muon::nsw::bitPosSRocNOTDC
@ bitPosSRocNOTDC
Definition:
NSWDecodeBitmaps.h:93
Muon::nsw::bitPosSRocNullID
@ bitPosSRocNullID
Definition:
NSWDecodeBitmaps.h:88
Muon::nsw::BitPosDetectorResource
BitPosDetectorResource
Definition:
NSWDecodeBitmaps.h:154
Muon::nsw::bitPosVersion
@ bitPosVersion
Definition:
NSWDecodeBitmaps.h:162
Muon::nsw::bitMaskObsDataType
@ bitMaskObsDataType
Definition:
NSWDecodeBitmaps.h:150
Muon::nsw::bitPosSRocNULL
@ bitPosSRocNULL
Definition:
NSWDecodeBitmaps.h:92
Muon::nsw::BitPosRawData
BitPosRawData
Definition:
NSWDecodeBitmaps.h:80
Muon::nsw::bitPosVmmHitP
@ bitPosVmmHitP
Definition:
NSWDecodeBitmaps.h:102
Muon::nsw::bitMaskDetId
@ bitMaskDetId
Definition:
NSWDecodeBitmaps.h:143
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
Muon::nsw::eMaskLayer
@ eMaskLayer
Definition:
NSWDecodeBitmaps.h:117
Muon::nsw::eMaskSector
@ eMaskSector
Definition:
NSWDecodeBitmaps.h:118
Muon::nsw::bitMaskRadius
@ bitMaskRadius
Definition:
NSWDecodeBitmaps.h:136
Muon::nsw::eMaskTrailEXTENDED
@ eMaskTrailEXTENDED
Definition:
NSWDecodeBitmaps.h:42
Muon::nsw::eMaskFlxELINKID
@ eMaskFlxELINKID
Definition:
NSWDecodeBitmaps.h:16
Muon::nsw::bitPosTrailCHECKSUM
@ bitPosTrailCHECKSUM
Definition:
NSWDecodeBitmaps.h:105
Muon::nsw::eMaskObsDataType
@ eMaskObsDataType
Definition:
NSWDecodeBitmaps.h:130
Muon::nsw::bitPosSRocNullL1ID
@ bitPosSRocNullL1ID
Definition:
NSWDecodeBitmaps.h:87
Muon::nsw::bitPosSector
@ bitPosSector
Definition:
NSWDecodeBitmaps.h:158
Muon::nsw::bitMaskSRocNullID
@ bitMaskSRocNullID
Definition:
NSWDecodeBitmaps.h:54
Muon::nsw::eMaskResType
@ eMaskResType
Definition:
NSWDecodeBitmaps.h:119
Muon::nsw::bitPosObsDataType
@ bitPosObsDataType
Definition:
NSWDecodeBitmaps.h:170
Muon::nsw::bitPosVmmHitRELBCID
@ bitPosVmmHitRELBCID
Definition:
NSWDecodeBitmaps.h:100
Muon::nsw::bitPosVmmHitVMMID
@ bitPosVmmHitVMMID
Definition:
NSWDecodeBitmaps.h:99
Muon::nsw::bitPosRESERVED
@ bitPosRESERVED
Definition:
NSWDecodeBitmaps.h:161
Muon::nsw::bitMaskRESERVED
@ bitMaskRESERVED
Definition:
NSWDecodeBitmaps.h:141
Muon::nsw::bitMaskTrailEXTENDED
@ bitMaskTrailEXTENDED
Definition:
NSWDecodeBitmaps.h:76
Muon::nsw::bitPosFlxSTATUS
@ bitPosFlxSTATUS
Definition:
NSWDecodeBitmaps.h:83
Muon::nsw::bitMaskTrailLENGTH
@ bitMaskTrailLENGTH
Definition:
NSWDecodeBitmaps.h:72
Muon::nsw::bitPosObsEta
@ bitPosObsEta
Definition:
NSWDecodeBitmaps.h:167
Muon::nsw::eMaskObsTech
@ eMaskObsTech
Definition:
NSWDecodeBitmaps.h:129
Muon::nsw::eMaskTrailL0ID
@ eMaskTrailL0ID
Definition:
NSWDecodeBitmaps.h:39
Muon::nsw::eMaskSRocORBIT
@ eMaskSRocORBIT
Definition:
NSWDecodeBitmaps.h:23
Muon::nsw::bitPosResType
@ bitPosResType
Definition:
NSWDecodeBitmaps.h:159
Muon::nsw::bitMaskTrailCHECKSUM
@ bitMaskTrailCHECKSUM
Definition:
NSWDecodeBitmaps.h:71
Muon::nsw::bitMaskVmmHitVMMID
@ bitMaskVmmHitVMMID
Definition:
NSWDecodeBitmaps.h:65
Muon::nsw::eMaskTrailTO
@ eMaskTrailTO
Definition:
NSWDecodeBitmaps.h:41
Muon::nsw::bitMaskLayer
@ bitMaskLayer
Definition:
NSWDecodeBitmaps.h:137
Muon::nsw::eMaskTrailFLAGMISS
@ eMaskTrailFLAGMISS
Definition:
NSWDecodeBitmaps.h:40
Muon::nsw::bitPosVmmHitADC
@ bitPosVmmHitADC
Definition:
NSWDecodeBitmaps.h:97
Muon::nsw::bitMaskVmmHitP
@ bitMaskVmmHitP
Definition:
NSWDecodeBitmaps.h:68
Muon::nsw::bitMaskVmmHitCHANNEL
@ bitMaskVmmHitCHANNEL
Definition:
NSWDecodeBitmaps.h:64
Muon::nsw::bitMaskObsResType
@ bitMaskObsResType
Definition:
NSWDecodeBitmaps.h:148
Muon::nsw::bitMaskFlxSTATUS
@ bitMaskFlxSTATUS
Definition:
NSWDecodeBitmaps.h:49
Muon::nsw::eMaskSRocL1ID
@ eMaskSRocL1ID
Definition:
NSWDecodeBitmaps.h:21
Muon::nsw::eMaskRadius
@ eMaskRadius
Definition:
NSWDecodeBitmaps.h:116
Muon::nsw::bitMaskSector
@ bitMaskSector
Definition:
NSWDecodeBitmaps.h:138
Muon::nsw::bitMaskSRocNOTDC
@ bitMaskSRocNOTDC
Definition:
NSWDecodeBitmaps.h:59
Muon::nsw::eMaskVmmHitN
@ eMaskVmmHitN
Definition:
NSWDecodeBitmaps.h:33
Muon::nsw::eMaskVmmHitRELBCID
@ eMaskVmmHitRELBCID
Definition:
NSWDecodeBitmaps.h:32
Muon::nsw::eMaskDataType
@ eMaskDataType
Definition:
NSWDecodeBitmaps.h:120
Muon::nsw::eMaskDetId
@ eMaskDetId
Definition:
NSWDecodeBitmaps.h:123
Muon::nsw::bitMaskTrailTO
@ bitMaskTrailTO
Definition:
NSWDecodeBitmaps.h:75
Muon::nsw::bitPosDetId
@ bitPosDetId
Definition:
NSWDecodeBitmaps.h:163
Muon::nsw::bitMaskElink
@ bitMaskElink
Definition:
NSWDecodeBitmaps.h:135
Muon::nsw::eMaskElink
@ eMaskElink
Definition:
NSWDecodeBitmaps.h:115
Muon::nsw::bitMaskObsTech
@ bitMaskObsTech
Definition:
NSWDecodeBitmaps.h:149
Muon::nsw::bitPosRadius
@ bitPosRadius
Definition:
NSWDecodeBitmaps.h:156
Muon::nsw::eMaskVmmHitTDC
@ eMaskVmmHitTDC
Definition:
NSWDecodeBitmaps.h:28
Muon::nsw::bitPosSRocORBIT
@ bitPosSRocORBIT
Definition:
NSWDecodeBitmaps.h:91
Muon::nsw::bitMaskObsEta
@ bitMaskObsEta
Definition:
NSWDecodeBitmaps.h:147
Muon::nsw::BitMaskDetectorResource
BitMaskDetectorResource
Definition:
NSWDecodeBitmaps.h:134
Muon::nsw::eMaskObsResType
@ eMaskObsResType
Definition:
NSWDecodeBitmaps.h:128
Muon::nsw::bitPosObsResType
@ bitPosObsResType
Definition:
NSWDecodeBitmaps.h:168
Muon::nsw::eMaskSRocBCID
@ eMaskSRocBCID
Definition:
NSWDecodeBitmaps.h:22
Muon::nsw::bitPosTrailFLAGMISS
@ bitPosTrailFLAGMISS
Definition:
NSWDecodeBitmaps.h:108
Muon::nsw::eMaskSRocNULL
@ eMaskSRocNULL
Definition:
NSWDecodeBitmaps.h:24
Muon::nsw::eMaskVmmHitCHANNEL
@ eMaskVmmHitCHANNEL
Definition:
NSWDecodeBitmaps.h:30
Muon::nsw::bitPosObsTech
@ bitPosObsTech
Definition:
NSWDecodeBitmaps.h:169
Muon::nsw::bitMaskVmmHitRELBCID
@ bitMaskVmmHitRELBCID
Definition:
NSWDecodeBitmaps.h:66
Muon::nsw::eMaskVmmHitADC
@ eMaskVmmHitADC
Definition:
NSWDecodeBitmaps.h:29
Muon::nsw::bitMaskVmmHitN
@ bitMaskVmmHitN
Definition:
NSWDecodeBitmaps.h:67
Muon::nsw::eMaskSRocNOTDC
@ eMaskSRocNOTDC
Definition:
NSWDecodeBitmaps.h:25
Muon::nsw::bitPosVmmHitN
@ bitPosVmmHitN
Definition:
NSWDecodeBitmaps.h:101
Muon::nsw::bitMaskVmmHitTDC
@ bitMaskVmmHitTDC
Definition:
NSWDecodeBitmaps.h:62
Muon::nsw::bitMaskVersion
@ bitMaskVersion
Definition:
NSWDecodeBitmaps.h:142
Muon::nsw::eMaskTrailCHECKSUM
@ eMaskTrailCHECKSUM
Definition:
NSWDecodeBitmaps.h:37
Muon::nsw::EMaskRawData
EMaskRawData
Definition:
NSWDecodeBitmaps.h:12
Muon::nsw::bitMaskVmmHitADC
@ bitMaskVmmHitADC
Definition:
NSWDecodeBitmaps.h:63
Muon::nsw::bitPosDataType
@ bitPosDataType
Definition:
NSWDecodeBitmaps.h:160
Muon::nsw::eMaskRESERVED
@ eMaskRESERVED
Definition:
NSWDecodeBitmaps.h:121
Muon::nsw::bitMaskTrailFLAGMISS
@ bitMaskTrailFLAGMISS
Definition:
NSWDecodeBitmaps.h:74
Generated on Mon Dec 23 2024 21:15:53 for ATLAS Offline Software by
1.8.18