test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1SubsystemParams30X_cfi.py
Go to the documentation of this file.
1 def initL1Subsystems( tagBaseVec = [],
2  objectKey = 'dummy' ):
3 
4  import FWCore.ParameterSet.Config as cms
5  from CondTools.L1Trigger.L1CondEnum_cfi import L1CondEnum
6 
7  if len( tagBaseVec ) == 0:
8  from CondTools.L1Trigger.L1UniformTags_cfi import initL1UniformTags
10  tagBaseVec = initL1UniformTags.tagBaseVec
11 
12  initL1Subsystems.params = cms.PSet(
13  recordInfo = cms.VPSet(
14  cms.PSet(
15  record = cms.string('L1JetEtScaleRcd'),
16  tag = cms.string('L1JetEtScale_' + tagBaseVec[ L1CondEnum.L1JetEtScale ]),
17  type = cms.string('L1CaloEtScale'),
18  key = cms.string(objectKey)
19  ),
20  cms.PSet(
21  record = cms.string('L1EmEtScaleRcd'),
22  tag = cms.string('L1EmEtScale_' + tagBaseVec[ L1CondEnum.L1EmEtScale ]),
23  type = cms.string('L1CaloEtScale'),
24  key = cms.string(objectKey)
25  ),
26  cms.PSet(
27  record = cms.string('L1MuTriggerScalesRcd'),
28  tag = cms.string('L1MuTriggerScales_' + tagBaseVec[ L1CondEnum.L1MuTriggerScales ]),
29  type = cms.string('L1MuTriggerScales'),
30  key = cms.string(objectKey)
31  ),
32  cms.PSet(
33  record = cms.string('L1MuTriggerPtScaleRcd'),
34  tag = cms.string('L1MuTriggerPtScale_' + tagBaseVec[ L1CondEnum.L1MuTriggerPtScale ]),
35  type = cms.string('L1MuTriggerPtScale'),
36  key = cms.string(objectKey)
37  ),
38  cms.PSet(
39  record = cms.string('L1MuGMTScalesRcd'),
40  tag = cms.string('L1MuGMTScales_' + tagBaseVec[ L1CondEnum.L1MuGMTScales ]),
41  type = cms.string('L1MuGMTScales'),
42  key = cms.string(objectKey)
43  ),
44  cms.PSet(
45  record = cms.string('L1MuCSCTFConfigurationRcd'),
46  tag = cms.string('L1MuCSCTFConfiguration_' + tagBaseVec[ L1CondEnum.L1MuCSCTFConfiguration ]),
47  type = cms.string('L1MuCSCTFConfiguration'),
48  key = cms.string(objectKey)
49  ),
50  cms.PSet(
51  record = cms.string('L1MuCSCTFAlignmentRcd'),
52  tag = cms.string('L1MuCSCTFAlignment_' + tagBaseVec[ L1CondEnum.L1MuCSCTFAlignment ]),
53  type = cms.string('L1MuCSCTFAlignment'),
54  key = cms.string(objectKey)
55  ),
56  cms.PSet(
57  record = cms.string('L1MuCSCPtLutRcd'),
58  tag = cms.string('L1MuCSCPtLut_' + tagBaseVec[ L1CondEnum.L1MuCSCPtLut ]),
59  type = cms.string('L1MuCSCPtLut'),
60  key = cms.string(objectKey)
61  ),
62  cms.PSet(
63  record = cms.string('L1MuDTEtaPatternLutRcd'),
64  tag = cms.string('L1MuDTEtaPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTEtaPatternLut ]),
65  type = cms.string('L1MuDTEtaPatternLut'),
66  key = cms.string(objectKey)
67  ),
68  cms.PSet(
69  record = cms.string('L1MuDTExtLutRcd'),
70  tag = cms.string('L1MuDTExtLut_' + tagBaseVec[ L1CondEnum.L1MuDTExtLut ]),
71  type = cms.string('L1MuDTExtLut'),
72  key = cms.string(objectKey)
73  ),
74  cms.PSet(
75  record = cms.string('L1MuDTPhiLutRcd'),
76  tag = cms.string('L1MuDTPhiLut_' + tagBaseVec[ L1CondEnum.L1MuDTPhiLut ]),
77  type = cms.string('L1MuDTPhiLut'),
78  key = cms.string(objectKey)
79  ),
80  cms.PSet(
81  record = cms.string('L1MuDTPtaLutRcd'),
82  tag = cms.string('L1MuDTPtaLut_' + tagBaseVec[ L1CondEnum.L1MuDTPtaLut ]),
83  type = cms.string('L1MuDTPtaLut'),
84  key = cms.string(objectKey)
85  ),
86  cms.PSet(
87  record = cms.string('L1MuDTQualPatternLutRcd'),
88  tag = cms.string('L1MuDTQualPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTQualPatternLut ]),
89  type = cms.string('L1MuDTQualPatternLut'),
90  key = cms.string(objectKey)
91  ),
92  cms.PSet(
93  record = cms.string('L1MuDTTFParametersRcd'),
94  tag = cms.string('L1MuDTTFParameters_' + tagBaseVec[ L1CondEnum.L1MuDTTFParameters ]),
95  type = cms.string('L1MuDTTFParameters'),
96  key = cms.string(objectKey)
97  ),
98  cms.PSet(
99  record = cms.string('L1RPCConfigRcd'),
100  tag = cms.string('L1RPCConfig_' + tagBaseVec[ L1CondEnum.L1RPCConfig ]),
101  type = cms.string('L1RPCConfig'),
102  key = cms.string(objectKey)
103  ),
104  cms.PSet(
105  record = cms.string('L1MuGMTParametersRcd'),
106  tag = cms.string('L1MuGMTParameters_' + tagBaseVec[ L1CondEnum.L1MuGMTParameters ]),
107  type = cms.string('L1MuGMTParameters'),
108  key = cms.string(objectKey)
109  ),
110  cms.PSet(
111  record = cms.string('L1MuGMTChannelMaskRcd'),
112  tag = cms.string('L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
113  type = cms.string('L1MuGMTChannelMask'),
114  key = cms.string(objectKey)
115  ),
116  cms.PSet(
117  record = cms.string('L1RCTParametersRcd'),
118  tag = cms.string('L1RCTParameters_' + tagBaseVec[ L1CondEnum.L1RCTParameters ]),
119  type = cms.string('L1RCTParameters'),
120  key = cms.string(objectKey)
121  ),
122  cms.PSet(
123  record = cms.string('L1RCTChannelMaskRcd'),
124  tag = cms.string('L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
125  type = cms.string('L1RCTChannelMask'),
126  key = cms.string(objectKey)
127  ),
128  cms.PSet(
129  record = cms.string('L1CaloEcalScaleRcd'),
130  tag = cms.string('L1CaloEcalScale_' + tagBaseVec[ L1CondEnum.L1CaloEcalScale ]),
131  type = cms.string('L1CaloEcalScale'),
132  key = cms.string(objectKey)
133  ),
134  cms.PSet(
135  record = cms.string('L1CaloHcalScaleRcd'),
136  tag = cms.string('L1CaloHcalScale_' + tagBaseVec[ L1CondEnum.L1CaloHcalScale ]),
137  type = cms.string('L1CaloHcalScale'),
138  key = cms.string(objectKey)
139  ),
140  cms.PSet(
141  record = cms.string('L1GctChannelMaskRcd'),
142  tag = cms.string('L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
143  type = cms.string('L1GctChannelMask'),
144  key = cms.string(objectKey)
145  ),
146  cms.PSet(
147  record = cms.string('L1GctHfLutSetupRcd'),
148  tag = cms.string('L1GctHfLutSetup_' + tagBaseVec[ L1CondEnum.L1GctHfLutSetup ]),
149  type = cms.string('L1GctHfLutSetup'),
150  key = cms.string(objectKey)
151  ),
152  cms.PSet(
153  record = cms.string('L1GctJetFinderParamsRcd'),
154  tag = cms.string('L1GctJetFinderParams_' + tagBaseVec[ L1CondEnum.L1GctJetFinderParams ]),
155  type = cms.string('L1GctJetFinderParams'),
156  key = cms.string(objectKey)
157  ),
158  cms.PSet(
159  record = cms.string('L1GtBoardMapsRcd'),
160  tag = cms.string('L1GtBoardMaps_' + tagBaseVec[ L1CondEnum.L1GtBoardMaps ]),
161  type = cms.string('L1GtBoardMaps'),
162  key = cms.string(objectKey)
163  ),
164  cms.PSet(
165  record = cms.string('L1GtParametersRcd'),
166  tag = cms.string('L1GtParameters_' + tagBaseVec[ L1CondEnum.L1GtParameters ]),
167  type = cms.string('L1GtParameters'),
168  key = cms.string(objectKey)
169  ),
170  cms.PSet(
171  record = cms.string('L1GtPrescaleFactorsAlgoTrigRcd'),
172  tag = cms.string('L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
173  type = cms.string('L1GtPrescaleFactors'),
174  key = cms.string(objectKey)
175  ),
176  cms.PSet(
177  record = cms.string('L1GtPrescaleFactorsTechTrigRcd'),
178  tag = cms.string('L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
179  type = cms.string('L1GtPrescaleFactors'),
180  key = cms.string(objectKey)
181  ),
182  cms.PSet(
183  record = cms.string('L1GtStableParametersRcd'),
184  tag = cms.string('L1GtStableParameters_' + tagBaseVec[ L1CondEnum.L1GtStableParameters ]),
185  type = cms.string('L1GtStableParameters'),
186  key = cms.string(objectKey)
187  ),
188  cms.PSet(
189  record = cms.string('L1GtTriggerMaskAlgoTrigRcd'),
190  tag = cms.string('L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
191  type = cms.string('L1GtTriggerMask'),
192  key = cms.string(objectKey)
193  ),
194  cms.PSet(
195  record = cms.string('L1GtTriggerMaskTechTrigRcd'),
196  tag = cms.string('L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
197  type = cms.string('L1GtTriggerMask'),
198  key = cms.string(objectKey)
199  ),
200  cms.PSet(
201  record = cms.string('L1GtTriggerMaskVetoAlgoTrigRcd'),
202  tag = cms.string('L1GtTriggerMaskVetoAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoAlgoTrig ]),
203  type = cms.string('L1GtTriggerMask'),
204  key = cms.string(objectKey)
205  ),
206  cms.PSet(
207  record = cms.string('L1GtTriggerMaskVetoTechTrigRcd'),
208  tag = cms.string('L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
209  type = cms.string('L1GtTriggerMask'),
210  key = cms.string(objectKey)
211  ),
212  cms.PSet(
213  record = cms.string('L1GtTriggerMenuRcd'),
214  tag = cms.string('L1GtTriggerMenu_' + tagBaseVec[ L1CondEnum.L1GtTriggerMenu ]),
215  type = cms.string('L1GtTriggerMenu'),
216  key = cms.string(objectKey)
217  ),
218  cms.PSet(
219  record = cms.string('L1GtPsbSetupRcd'),
220  tag = cms.string('L1GtPsbSetup_' + tagBaseVec[ L1CondEnum.L1GtPsbSetup ]),
221  type = cms.string('L1GtPsbSetup'),
222  key = cms.string(objectKey)
223  ),
224  cms.PSet(
225  record = cms.string('L1CaloGeometryRecord'),
226  tag = cms.string('L1CaloGeometry_' + tagBaseVec[ L1CondEnum.L1CaloGeometry ]),
227  type = cms.string('L1CaloGeometry'),
228  key = cms.string(objectKey)
229  ))
230  )