CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
l1GtPsbSetup_cfi.py
Go to the documentation of this file.
1 #
2 # cfi for the setup of L1 GT PSB boards.
3 #
4 
5 import FWCore.ParameterSet.Config as cms
6 
7 l1GtPsbSetup = cms.ESProducer("L1GtPsbSetupTrivialProducer",
8 
9  # actual input to PSB - see l1GtBoardMaps_cfi.py
10  #CableList = cms.vstring( N/A, N/A, N/A, TTr_ch0/1, // PSB_0 slot 9
11  # CA1_ch6/7 CA2_ch4/5 , CA3_ch2/3, CA4_ch0/1, // PSB_1 slot 13
12  # CA5_ch6/7 CA6_ch4/5 , CA7_ch2/3, CA8_ch0/1, // PSB_2 slot 14
13  # N/A, N/A, CA9_ch2/3, CA10_ch0/1, // PSB_3 slot 15
14  # MQF4_ch6/7, MQF3_ch4/5, MQB2_ch2/3, MQB1_ch0/1, // PSB_4 slot 19
15  # MQF8_ch6/7, MQF7_ch4/5, MQB6_ch2/3, MQB5_ch0/1, // PSB_5 slot 20
16  # MQF12_ch6/7,MQF11_ch4/5, MQB10_ch2/3, MQB9_ch0/1 // PSB_6 slot 21
17  #),
18  #CableList = cms.vstring('Free', 'Free', 'Free', 'TechTr',
19  # 'IsoEGQ', 'NoIsoEGQ', 'CenJetQ', 'ForJetQ',
20  # 'TauJetQ', 'ESumsQ', 'HfQ', 'Free',
21  # 'Free', 'Free', 'Free', 'Free',
22  # 'MQF4', 'MQF3', 'MQB2', 'MQB1',
23  # 'MQF8', 'MQF7', 'MQB6', 'MQB5',
24  # 'MQF12', 'MQF11', 'MQB10', 'MQB9'),
25 
26  # for vector<bool> use: 1 for True and 0 for false
27  PsbSetup = cms.VPSet(
28  cms.PSet(
29  Slot = cms.int32(9),
30  Ch0SendLvds = cms.bool(True),
31  Ch1SendLvds = cms.bool(True),
32  EnableRecLvds = cms.vuint32(
33  1, 1, 1, 1,
34  1, 1, 1, 1,
35  1, 1, 1, 1,
36  1, 1, 1, 1),
37  EnableRecSerLink = cms.vuint32(
38  0, 0,
39  0, 0,
40  0, 0,
41  0, 0)
42  ),
43  cms.PSet(
44  Slot = cms.int32(13),
45  Ch0SendLvds = cms.bool(False),
46  Ch1SendLvds = cms.bool(False),
47  EnableRecLvds = cms.vuint32(
48  0, 0, 0, 0,
49  0, 0, 0, 0,
50  0, 0, 0, 0,
51  0, 0, 0, 0),
52  EnableRecSerLink = cms.vuint32(
53  1, 1,
54  1, 1,
55  1, 1,
56  1, 1)
57  ),
58  cms.PSet(
59  Slot = cms.int32(14),
60  Ch0SendLvds = cms.bool(False),
61  Ch1SendLvds = cms.bool(False),
62  EnableRecLvds = cms.vuint32(
63  0, 0, 0, 0,
64  0, 0, 0, 0,
65  0, 0, 0, 0,
66  0, 0, 0, 0),
67  EnableRecSerLink = cms.vuint32(
68  1, 1,
69  1, 1,
70  1, 1,
71  1, 1)
72  ),
73  cms.PSet(
74  Slot = cms.int32(15),
75  Ch0SendLvds = cms.bool(True),
76  Ch1SendLvds = cms.bool(True),
77  EnableRecLvds = cms.vuint32(
78  1, 1, 1, 1,
79  1, 1, 1, 1,
80  1, 1, 1, 1,
81  1, 1, 1, 1),
82  EnableRecSerLink = cms.vuint32(
83  0, 0,
84  0, 0,
85  0, 0,
86  0, 0)
87  ),
88  cms.PSet(
89  Slot = cms.int32(19),
90  Ch0SendLvds = cms.bool(False),
91  Ch1SendLvds = cms.bool(False),
92  EnableRecLvds = cms.vuint32(
93  0, 0, 0, 0,
94  0, 0, 0, 0,
95  0, 0, 0, 0,
96  0, 0, 0, 0),
97  EnableRecSerLink = cms.vuint32(
98  0, 0,
99  0, 0,
100  0, 0,
101  0, 0)
102  ),
103  cms.PSet(
104  Slot = cms.int32(20),
105  Ch0SendLvds = cms.bool(False),
106  Ch1SendLvds = cms.bool(False),
107  EnableRecLvds = cms.vuint32(
108  0, 0, 0, 0,
109  0, 0, 0, 0,
110  0, 0, 0, 0,
111  0, 0, 0, 0),
112  EnableRecSerLink = cms.vuint32(
113  0, 0,
114  0, 0,
115  0, 0,
116  0, 0)
117  ),
118  cms.PSet(
119  Slot = cms.int32(21),
120  Ch0SendLvds = cms.bool(False),
121  Ch1SendLvds = cms.bool(False),
122  EnableRecLvds = cms.vuint32(
123  0, 0, 0, 0,
124  0, 0, 0, 0,
125  0, 0, 0, 0,
126  0, 0, 0, 0),
127  EnableRecSerLink = cms.vuint32(
128  0, 0,
129  0, 0,
130  0, 0,
131  0, 0)
132  )
133  )
134 
135 )
136 
137