5 import FWCore.ParameterSet.Config
as cms
6 from CondTools.L1Trigger.L1CondEnum_cfi
import L1CondEnum
8 if len( tagBaseVec ) == 0:
9 from CondTools.L1Trigger.L1UniformTags_cfi
import initL1UniformTags
11 tagBaseVec = initL1UniformTags.tagBaseVec
13 initL1Subsystems.params = cms.PSet(
14 recordInfo = cms.VPSet(
16 record = cms.string(
'L1JetEtScaleRcd'),
17 tag = cms.string(
'L1JetEtScale_' + tagBaseVec[ L1CondEnum.L1JetEtScale ]),
18 type = cms.string(
'L1CaloEtScale'),
19 key = cms.string(objectKey)
22 record = cms.string(
'L1EmEtScaleRcd'),
23 tag = cms.string(
'L1EmEtScale_' + tagBaseVec[ L1CondEnum.L1EmEtScale ]),
24 type = cms.string(
'L1CaloEtScale'),
25 key = cms.string(objectKey)
28 record = cms.string(
'L1MuTriggerScalesRcd'),
29 tag = cms.string(
'L1MuTriggerScales_' + tagBaseVec[ L1CondEnum.L1MuTriggerScales ]),
30 type = cms.string(
'L1MuTriggerScales'),
31 key = cms.string(objectKey)
34 record = cms.string(
'L1MuTriggerPtScaleRcd'),
35 tag = cms.string(
'L1MuTriggerPtScale_' + tagBaseVec[ L1CondEnum.L1MuTriggerPtScale ]),
36 type = cms.string(
'L1MuTriggerPtScale'),
37 key = cms.string(objectKey)
40 record = cms.string(
'L1MuGMTScalesRcd'),
41 tag = cms.string(
'L1MuGMTScales_' + tagBaseVec[ L1CondEnum.L1MuGMTScales ]),
42 type = cms.string(
'L1MuGMTScales'),
43 key = cms.string(objectKey)
46 record = cms.string(
'L1MuCSCTFConfigurationRcd'),
47 tag = cms.string(
'L1MuCSCTFConfiguration_' + tagBaseVec[ L1CondEnum.L1MuCSCTFConfiguration ]),
48 type = cms.string(
'L1MuCSCTFConfiguration'),
49 key = cms.string(objectKey)
52 record = cms.string(
'L1MuCSCTFAlignmentRcd'),
53 tag = cms.string(
'L1MuCSCTFAlignment_' + tagBaseVec[ L1CondEnum.L1MuCSCTFAlignment ]),
54 type = cms.string(
'L1MuCSCTFAlignment'),
55 key = cms.string(objectKey)
58 record = cms.string(
'L1MuCSCPtLutRcd'),
59 tag = cms.string(
'L1MuCSCPtLut_' + tagBaseVec[ L1CondEnum.L1MuCSCPtLut ]),
60 type = cms.string(
'L1MuCSCPtLut'),
61 key = cms.string(objectKey)
64 record = cms.string(
'L1MuDTEtaPatternLutRcd'),
65 tag = cms.string(
'L1MuDTEtaPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTEtaPatternLut ]),
66 type = cms.string(
'L1MuDTEtaPatternLut'),
67 key = cms.string(objectKey)
70 record = cms.string(
'L1MuDTExtLutRcd'),
71 tag = cms.string(
'L1MuDTExtLut_' + tagBaseVec[ L1CondEnum.L1MuDTExtLut ]),
72 type = cms.string(
'L1MuDTExtLut'),
73 key = cms.string(objectKey)
76 record = cms.string(
'L1MuDTPhiLutRcd'),
77 tag = cms.string(
'L1MuDTPhiLut_' + tagBaseVec[ L1CondEnum.L1MuDTPhiLut ]),
78 type = cms.string(
'L1MuDTPhiLut'),
79 key = cms.string(objectKey)
82 record = cms.string(
'L1MuDTPtaLutRcd'),
83 tag = cms.string(
'L1MuDTPtaLut_' + tagBaseVec[ L1CondEnum.L1MuDTPtaLut ]),
84 type = cms.string(
'L1MuDTPtaLut'),
85 key = cms.string(objectKey)
88 record = cms.string(
'L1MuDTQualPatternLutRcd'),
89 tag = cms.string(
'L1MuDTQualPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTQualPatternLut ]),
90 type = cms.string(
'L1MuDTQualPatternLut'),
91 key = cms.string(objectKey)
94 record = cms.string(
'L1MuDTTFParametersRcd'),
95 tag = cms.string(
'L1MuDTTFParameters_' + tagBaseVec[ L1CondEnum.L1MuDTTFParameters ]),
96 type = cms.string(
'L1MuDTTFParameters'),
97 key = cms.string(objectKey)
100 record = cms.string(
'L1RPCConfigRcd'),
101 tag = cms.string(
'L1RPCConfig_' + tagBaseVec[ L1CondEnum.L1RPCConfig ]),
102 type = cms.string(
'L1RPCConfig'),
103 key = cms.string(objectKey)
106 record = cms.string(
'L1MuGMTParametersRcd'),
107 tag = cms.string(
'L1MuGMTParameters_' + tagBaseVec[ L1CondEnum.L1MuGMTParameters ]),
108 type = cms.string(
'L1MuGMTParameters'),
109 key = cms.string(objectKey)
112 record = cms.string(
'L1MuGMTChannelMaskRcd'),
113 tag = cms.string(
'L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
114 type = cms.string(
'L1MuGMTChannelMask'),
115 key = cms.string(objectKey)
118 record = cms.string(
'L1RCTParametersRcd'),
119 tag = cms.string(
'L1RCTParameters_' + tagBaseVec[ L1CondEnum.L1RCTParameters ]),
120 type = cms.string(
'L1RCTParameters'),
121 key = cms.string(objectKey)
124 record = cms.string(
'L1RCTChannelMaskRcd'),
125 tag = cms.string(
'L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
126 type = cms.string(
'L1RCTChannelMask'),
127 key = cms.string(objectKey)
130 record = cms.string(
'L1CaloEcalScaleRcd'),
131 tag = cms.string(
'L1CaloEcalScale_' + tagBaseVec[ L1CondEnum.L1CaloEcalScale ]),
132 type = cms.string(
'L1CaloEcalScale'),
133 key = cms.string(objectKey)
136 record = cms.string(
'L1CaloHcalScaleRcd'),
137 tag = cms.string(
'L1CaloHcalScale_' + tagBaseVec[ L1CondEnum.L1CaloHcalScale ]),
138 type = cms.string(
'L1CaloHcalScale'),
139 key = cms.string(objectKey)
142 record = cms.string(
'L1GctChannelMaskRcd'),
143 tag = cms.string(
'L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
144 type = cms.string(
'L1GctChannelMask'),
145 key = cms.string(objectKey)
148 record = cms.string(
'L1GctHfLutSetupRcd'),
149 tag = cms.string(
'L1GctHfLutSetup_' + tagBaseVec[ L1CondEnum.L1GctHfLutSetup ]),
150 type = cms.string(
'L1GctHfLutSetup'),
151 key = cms.string(objectKey)
154 record = cms.string(
'L1GctJetFinderParamsRcd'),
155 tag = cms.string(
'L1GctJetFinderParams_' + tagBaseVec[ L1CondEnum.L1GctJetFinderParams ]),
156 type = cms.string(
'L1GctJetFinderParams'),
157 key = cms.string(objectKey)
160 record = cms.string(
'L1GtBoardMapsRcd'),
161 tag = cms.string(
'L1GtBoardMaps_' + tagBaseVec[ L1CondEnum.L1GtBoardMaps ]),
162 type = cms.string(
'L1GtBoardMaps'),
163 key = cms.string(objectKey)
166 record = cms.string(
'L1GtParametersRcd'),
167 tag = cms.string(
'L1GtParameters_' + tagBaseVec[ L1CondEnum.L1GtParameters ]),
168 type = cms.string(
'L1GtParameters'),
169 key = cms.string(objectKey)
172 record = cms.string(
'L1GtPrescaleFactorsAlgoTrigRcd'),
173 tag = cms.string(
'L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
174 type = cms.string(
'L1GtPrescaleFactors'),
175 key = cms.string(objectKey)
178 record = cms.string(
'L1GtPrescaleFactorsTechTrigRcd'),
179 tag = cms.string(
'L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
180 type = cms.string(
'L1GtPrescaleFactors'),
181 key = cms.string(objectKey)
184 record = cms.string(
'L1GtStableParametersRcd'),
185 tag = cms.string(
'L1GtStableParameters_' + tagBaseVec[ L1CondEnum.L1GtStableParameters ]),
186 type = cms.string(
'L1GtStableParameters'),
187 key = cms.string(objectKey)
190 record = cms.string(
'L1GtTriggerMaskAlgoTrigRcd'),
191 tag = cms.string(
'L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
192 type = cms.string(
'L1GtTriggerMask'),
193 key = cms.string(objectKey)
196 record = cms.string(
'L1GtTriggerMaskTechTrigRcd'),
197 tag = cms.string(
'L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
198 type = cms.string(
'L1GtTriggerMask'),
199 key = cms.string(objectKey)
202 record = cms.string(
'L1GtTriggerMaskVetoAlgoTrigRcd'),
203 tag = cms.string(
'L1GtTriggerMaskVetoAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoAlgoTrig ]),
204 type = cms.string(
'L1GtTriggerMask'),
205 key = cms.string(objectKey)
208 record = cms.string(
'L1GtTriggerMaskVetoTechTrigRcd'),
209 tag = cms.string(
'L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
210 type = cms.string(
'L1GtTriggerMask'),
211 key = cms.string(objectKey)
214 record = cms.string(
'L1GtTriggerMenuRcd'),
215 tag = cms.string(
'L1GtTriggerMenu_' + tagBaseVec[ L1CondEnum.L1GtTriggerMenu ]),
216 type = cms.string(
'L1GtTriggerMenu'),
217 key = cms.string(objectKey)
220 record = cms.string(
'L1GtPsbSetupRcd'),
221 tag = cms.string(
'L1GtPsbSetup_' + tagBaseVec[ L1CondEnum.L1GtPsbSetup ]),
222 type = cms.string(
'L1GtPsbSetup'),
223 key = cms.string(objectKey)
226 record = cms.string(
'L1CaloGeometryRecord'),
227 tag = cms.string(
'L1CaloGeometry_' + tagBaseVec[ L1CondEnum.L1CaloGeometry ]),
228 type = cms.string(
'L1CaloGeometry'),
229 key = cms.string(objectKey)