test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
l1GtBoardMaps_cfi.py
Go to the documentation of this file.
1 #
2 # cfi for various mappings of the L1 GT boards
3 #
4 
5 import FWCore.ParameterSet.Config as cms
6 
7 l1GtBoardMaps = cms.ESProducer("L1GtBoardMapsTrivialProducer",
8 
9  # list of all boards in the L1 GT system
10  # multiple boards must appear as many time as they exist in the system
11  BoardList = cms.vstring(
12  'GTFE',
13  'FDL',
14  'PSB', 'PSB', 'PSB', 'PSB', 'PSB', 'PSB', 'PSB',
15  'GMT',
16  'TCS',
17  'TIM'),
18 
19  # board index - it starts with 0
20  BoardIndex = cms.vint32(
21  0,
22  0,
23  0, 1, 2, 3, 4, 5, 6,
24  0,
25  0,
26  0),
27 
28  # L1 GT DAQ record map
29  # boards not in the record have negative index
30  BoardPositionDaqRecord = cms.vint32(
31  1,
32  2,
33  3, 4, 5, 6, 7, 8, 9,
34  10,
35  -1,
36  -1),
37 
38  # L1 GT EVM record map
39  # boards not in the record have negative index
40  BoardPositionEvmRecord = cms.vint32(
41  1,
42  3,
43  -1, -1, -1, -1, -1, -1, -1,
44  -1,
45  2,
46  -1),
47 
48  # L1 GT "active boards" map for DAQ record
49  # boards not in the record have negative index
50  ActiveBoardsDaqRecord = cms.vint32(
51  -1,
52  0,
53  1, 2, 3, 4, 5, 6, 7,
54  8,
55  -1,
56  -1),
57 
58  # L1 GT "active boards" map for EVM record
59  # boards not in the record have negative index
60  ActiveBoardsEvmRecord = cms.vint32(
61  -1,
62  1,
63  -1, -1, -1, -1, -1, -1, -1,
64  -1,
65  0,
66  -1),
67 
68  # L1 GT board - slot map
69  # boards not in the map have negative index
70  BoardSlotMap = cms.vint32(
71  17,
72  10,
73  9, 13, 14, 15, 19, 20, 21,
74  18,
75  7,
76  16),
77 
78  # L1 GT board name in hw record map
79  # boards not in the map have negative index
80  BoardHexNameMap = cms.vint32(
81  0x00,
82  0xfd,
83  0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb,
84  0xdd,
85  0xcc,
86  0xad),
87 
88  # L1 quadruplet (4x16 bits)(cable) to PSB input map
89  # see L1GlobalTriggerPSB::fillPsbBlock
90  # summary
91  #CableList = cms.vstring( N/A, N/A, N/A, TTr_ch0/1, // PSB_0 slot 9
92  # CA1_ch6/7 CA2_ch4/5 , CA3_ch2/3, CA4_ch0/1, // PSB_1 slot 13
93  # CA5_ch6/7 CA6_ch4/5 , CA7_ch2/3, CA8_ch0/1, // PSB_2 slot 14
94  # N/A, N/A, CA9_ch2/3, CA10_ch0/1, // PSB_3 slot 15
95  # MQF4_ch6/7, MQF3_ch4/5, MQB2_ch2/3, MQB1_ch0/1, // PSB_4 slot 19
96  # MQF8_ch6/7, MQF7_ch4/5, MQB6_ch2/3, MQB5_ch0/1, // PSB_5 slot 20
97  # MQF12_ch6/7,MQF11_ch4/5, MQB10_ch2/3, MQB9_ch0/1 // PSB_6 slot 21
98  #),
99  CableList = cms.vstring('Free', 'Free', 'Free', 'TechTr',
100  'IsoEGQ', 'NoIsoEGQ', 'CenJetQ', 'ForJetQ',
101  'TauJetQ', 'ESumsQ', 'HfQ', 'Free',
102  'Free', 'Free', 'Free', 'Free',
103  'MQF4', 'MQF3', 'MQB2', 'MQB1',
104  'MQF8', 'MQF7', 'MQB6', 'MQB5',
105  'MQF12', 'MQF11', 'MQB10', 'MQB9'),
106 
107  # gives the mapping of cables to GT PSBs via PSB index
108  # 4 infinicables per PSB
109  CableToPsbMap = cms.vint32(0, 0, 0, 0,
110  1, 1, 1, 1,
111  2, 2, 2, 2,
112  3, 3, 3, 3,
113  4, 4, 4, 4,
114  5, 5, 5, 5,
115  6, 6, 6, 6),
116 
117  # detailed input configuration for PSB (objects pro channel)
118  PsbInput = cms.VPSet(
119  cms.PSet(
120  Slot = cms.int32(9),
121  Ch0 = cms.vstring('TechTrig'),
122  Ch1 = cms.vstring('TechTrig'),
123  Ch2 = cms.vstring(),
124  Ch3 = cms.vstring(),
125  Ch4 = cms.vstring(),
126  Ch5 = cms.vstring(),
127  Ch6 = cms.vstring(),
128  Ch7 = cms.vstring()
129  ),
130  cms.PSet(
131  Slot = cms.int32(13),
132  Ch0 = cms.vstring('ForJet', 'ForJet'),
133  Ch1 = cms.vstring('ForJet', 'ForJet'),
134  Ch2 = cms.vstring('CenJet', 'CenJet'),
135  Ch3 = cms.vstring('CenJet', 'CenJet'),
136  Ch4 = cms.vstring('NoIsoEG', 'NoIsoEG'),
137  Ch5 = cms.vstring('NoIsoEG', 'NoIsoEG'),
138  Ch6 = cms.vstring('IsoEG', 'IsoEG'),
139  Ch7 = cms.vstring('IsoEG', 'IsoEG')
140  ),
141  cms.PSet(
142  Slot = cms.int32(14),
143  Ch0 = cms.vstring(),
144  Ch1 = cms.vstring(),
145  Ch2 = cms.vstring('HfBitCounts', 'HfRingEtSums'),
146  Ch3 = cms.vstring(),
147  Ch4 = cms.vstring('ETT','HTT'),
148  Ch5 = cms.vstring('ETM', 'ETM'),
149  Ch6 = cms.vstring('TauJet', 'TauJet'),
150  Ch7 = cms.vstring('TauJet', 'TauJet')
151  ),
152  cms.PSet(
153  Slot = cms.int32(15),
154  Ch0 = cms.vstring(),
155  Ch1 = cms.vstring(),
156  Ch2 = cms.vstring(),
157  Ch3 = cms.vstring(),
158  Ch4 = cms.vstring(),
159  Ch5 = cms.vstring(),
160  Ch6 = cms.vstring(),
161  Ch7 = cms.vstring()
162  ),
163  cms.PSet(
164  Slot = cms.int32(19),
165  Ch0 = cms.vstring(),
166  Ch1 = cms.vstring(),
167  Ch2 = cms.vstring(),
168  Ch3 = cms.vstring(),
169  Ch4 = cms.vstring(),
170  Ch5 = cms.vstring(),
171  Ch6 = cms.vstring(),
172  Ch7 = cms.vstring()
173  ),
174  cms.PSet(
175  Slot = cms.int32(20),
176  Ch0 = cms.vstring(),
177  Ch1 = cms.vstring(),
178  Ch2 = cms.vstring(),
179  Ch3 = cms.vstring(),
180  Ch4 = cms.vstring(),
181  Ch5 = cms.vstring(),
182  Ch6 = cms.vstring(),
183  Ch7 = cms.vstring()
184  ),
185  cms.PSet(
186  Slot = cms.int32(21),
187  Ch0 = cms.vstring(),
188  Ch1 = cms.vstring(),
189  Ch2 = cms.vstring(),
190  Ch3 = cms.vstring(),
191  Ch4 = cms.vstring(),
192  Ch5 = cms.vstring(),
193  Ch6 = cms.vstring(),
194  Ch7 = cms.vstring()
195  )
196  )
197 
198 )
199 
200