ATLAS Offline Software
Loading...
Searching...
No Matches
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
7namespace Muon
8{
9 namespace nsw
10 {
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
46 {
47 // Felix Header (2 words)
50 bitMaskFlxELINKID = 0xffffffff,
51
52 // sROC Header (1 word)
60
61 // VMM Hit Data
67 bitMaskVmmHitN = 0x1, // neighbor
68 bitMaskVmmHitP = 0x1, // parity bit
69
70 // ROC Trailer (1 word)
75 bitMaskTrailTO = 0x1, // true if VMMs ignored due to timeouts
76 bitMaskTrailEXTENDED = 0x1 // "extended-trailer" bit, not used
77 };
78
80 {
81 // Felix Header (2 words)
85
86 // sROC Header (1 word)
94
95 // VMM Hit Data
101 bitPosVmmHitN = 30, // neighbor
102 bitPosVmmHitP = 31, // parity bit
103
104 // ROC Trailer (1 word)
109 bitPosTrailTO = 30, // true if VMMs ignored due to timeouts
110 bitPosTrailEXTENDED = 31 // "extended-trailer" bit, not used
111 };
112
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
134 {
144
145 // For pre-versioned format used during commissioning
146
151 };
152
154 {
164
165 // For pre-versioned format used during commissioning
166
171 };
172 }
173}
174
175#endif // _MUON_NSW_DECODE_BITMAPS_H_
176
177
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.