4 import FWCore.ParameterSet.Config
as cms
5 from CondTools.L1Trigger.L1CondEnum_cfi
import L1CondEnum
7 if len( tagBaseVec ) == 0:
8 from CondTools.L1Trigger.L1UniformTags_cfi
import initL1UniformTags
10 tagBaseVec = initL1UniformTags.tagBaseVec
12 initL1Subsystems.params = cms.PSet(
13 recordInfo = cms.VPSet(
15 record = cms.string(
'L1JetEtScaleRcd'),
16 tag = cms.string(
'L1JetEtScale_' + tagBaseVec[ L1CondEnum.L1JetEtScale ]),
17 type = cms.string(
'L1CaloEtScale'),
18 key = cms.string(objectKey)
21 record = cms.string(
'L1EmEtScaleRcd'),
22 tag = cms.string(
'L1EmEtScale_' + tagBaseVec[ L1CondEnum.L1EmEtScale ]),
23 type = cms.string(
'L1CaloEtScale'),
24 key = cms.string(objectKey)
27 record = cms.string(
'L1HtMissScaleRcd'),
28 tag = cms.string(
'L1HtMissScale_' + tagBaseVec[ L1CondEnum.L1HtMissScale ]),
29 type = cms.string(
'L1CaloEtScale'),
30 key = cms.string(objectKey)
33 record = cms.string(
'L1HfRingEtScaleRcd'),
34 tag = cms.string(
'L1HfRingEtScale_' + tagBaseVec[ L1CondEnum.L1HfRingEtScale ]),
35 type = cms.string(
'L1CaloEtScale'),
36 key = cms.string(objectKey)
39 record = cms.string(
'L1MuTriggerScalesRcd'),
40 tag = cms.string(
'L1MuTriggerScales_' + tagBaseVec[ L1CondEnum.L1MuTriggerScales ]),
41 type = cms.string(
'L1MuTriggerScales'),
42 key = cms.string(objectKey)
45 record = cms.string(
'L1MuTriggerPtScaleRcd'),
46 tag = cms.string(
'L1MuTriggerPtScale_' + tagBaseVec[ L1CondEnum.L1MuTriggerPtScale ]),
47 type = cms.string(
'L1MuTriggerPtScale'),
48 key = cms.string(objectKey)
51 record = cms.string(
'L1MuGMTScalesRcd'),
52 tag = cms.string(
'L1MuGMTScales_' + tagBaseVec[ L1CondEnum.L1MuGMTScales ]),
53 type = cms.string(
'L1MuGMTScales'),
54 key = cms.string(objectKey)
57 record = cms.string(
'L1MuCSCTFConfigurationRcd'),
58 tag = cms.string(
'L1MuCSCTFConfiguration_' + tagBaseVec[ L1CondEnum.L1MuCSCTFConfiguration ]),
59 type = cms.string(
'L1MuCSCTFConfiguration'),
60 key = cms.string(objectKey)
63 record = cms.string(
'L1MuCSCTFAlignmentRcd'),
64 tag = cms.string(
'L1MuCSCTFAlignment_' + tagBaseVec[ L1CondEnum.L1MuCSCTFAlignment ]),
65 type = cms.string(
'L1MuCSCTFAlignment'),
66 key = cms.string(objectKey)
69 record = cms.string(
'L1MuCSCPtLutRcd'),
70 tag = cms.string(
'L1MuCSCPtLut_' + tagBaseVec[ L1CondEnum.L1MuCSCPtLut ]),
71 type = cms.string(
'L1MuCSCPtLut'),
72 key = cms.string(objectKey)
75 record = cms.string(
'L1MuDTEtaPatternLutRcd'),
76 tag = cms.string(
'L1MuDTEtaPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTEtaPatternLut ]),
77 type = cms.string(
'L1MuDTEtaPatternLut'),
78 key = cms.string(objectKey)
81 record = cms.string(
'L1MuDTExtLutRcd'),
82 tag = cms.string(
'L1MuDTExtLut_' + tagBaseVec[ L1CondEnum.L1MuDTExtLut ]),
83 type = cms.string(
'L1MuDTExtLut'),
84 key = cms.string(objectKey)
87 record = cms.string(
'L1MuDTPhiLutRcd'),
88 tag = cms.string(
'L1MuDTPhiLut_' + tagBaseVec[ L1CondEnum.L1MuDTPhiLut ]),
89 type = cms.string(
'L1MuDTPhiLut'),
90 key = cms.string(objectKey)
93 record = cms.string(
'L1MuDTPtaLutRcd'),
94 tag = cms.string(
'L1MuDTPtaLut_' + tagBaseVec[ L1CondEnum.L1MuDTPtaLut ]),
95 type = cms.string(
'L1MuDTPtaLut'),
96 key = cms.string(objectKey)
99 record = cms.string(
'L1MuDTQualPatternLutRcd'),
100 tag = cms.string(
'L1MuDTQualPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTQualPatternLut ]),
101 type = cms.string(
'L1MuDTQualPatternLut'),
102 key = cms.string(objectKey)
105 record = cms.string(
'L1MuDTTFParametersRcd'),
106 tag = cms.string(
'L1MuDTTFParameters_' + tagBaseVec[ L1CondEnum.L1MuDTTFParameters ]),
107 type = cms.string(
'L1MuDTTFParameters'),
108 key = cms.string(objectKey)
111 record = cms.string(
'L1RPCConfigRcd'),
112 tag = cms.string(
'L1RPCConfig_' + tagBaseVec[ L1CondEnum.L1RPCConfig ]),
113 type = cms.string(
'L1RPCConfig'),
114 key = cms.string(objectKey)
117 record = cms.string(
'L1RPCConeDefinitionRcd'),
118 tag = cms.string(
'L1RPCConeDefinition_' + tagBaseVec[ L1CondEnum.L1RPCConeDefinition ]),
119 type = cms.string(
'L1RPCConeDefinition'),
120 key = cms.string(objectKey)
123 record = cms.string(
'L1RPCHsbConfigRcd'),
124 tag = cms.string(
'L1RPCHsbConfig_' + tagBaseVec[ L1CondEnum.L1RPCHsbConfig ]),
125 type = cms.string(
'L1RPCHsbConfig'),
126 key = cms.string(objectKey)
129 record = cms.string(
'L1RPCBxOrConfigRcd'),
130 tag = cms.string(
'L1RPCBxOrConfig_' + tagBaseVec[ L1CondEnum.L1RPCBxOrConfig ]),
131 type = cms.string(
'L1RPCBxOrConfig'),
132 key = cms.string(objectKey)
135 record = cms.string(
'L1MuGMTParametersRcd'),
136 tag = cms.string(
'L1MuGMTParameters_' + tagBaseVec[ L1CondEnum.L1MuGMTParameters ]),
137 type = cms.string(
'L1MuGMTParameters'),
138 key = cms.string(objectKey)
141 record = cms.string(
'L1RCTParametersRcd'),
142 tag = cms.string(
'L1RCTParameters_' + tagBaseVec[ L1CondEnum.L1RCTParameters ]),
143 type = cms.string(
'L1RCTParameters'),
144 key = cms.string(objectKey)
147 record = cms.string(
'L1CaloEcalScaleRcd'),
148 tag = cms.string(
'L1CaloEcalScale_' + tagBaseVec[ L1CondEnum.L1CaloEcalScale ]),
149 type = cms.string(
'L1CaloEcalScale'),
150 key = cms.string(objectKey)
153 record = cms.string(
'L1CaloHcalScaleRcd'),
154 tag = cms.string(
'L1CaloHcalScale_' + tagBaseVec[ L1CondEnum.L1CaloHcalScale ]),
155 type = cms.string(
'L1CaloHcalScale'),
156 key = cms.string(objectKey)
159 record = cms.string(
'L1GctJetFinderParamsRcd'),
160 tag = cms.string(
'L1GctJetFinderParams_' + tagBaseVec[ L1CondEnum.L1GctJetFinderParams ]),
161 type = cms.string(
'L1GctJetFinderParams'),
162 key = cms.string(objectKey)
165 record = cms.string(
'L1GtBoardMapsRcd'),
166 tag = cms.string(
'L1GtBoardMaps_' + tagBaseVec[ L1CondEnum.L1GtBoardMaps ]),
167 type = cms.string(
'L1GtBoardMaps'),
168 key = cms.string(objectKey)
171 record = cms.string(
'L1GtParametersRcd'),
172 tag = cms.string(
'L1GtParameters_' + tagBaseVec[ L1CondEnum.L1GtParameters ]),
173 type = cms.string(
'L1GtParameters'),
174 key = cms.string(objectKey)
177 record = cms.string(
'L1GtStableParametersRcd'),
178 tag = cms.string(
'L1GtStableParameters_' + tagBaseVec[ L1CondEnum.L1GtStableParameters ]),
179 type = cms.string(
'L1GtStableParameters'),
180 key = cms.string(objectKey)
183 record = cms.string(
'L1GtTriggerMaskVetoAlgoTrigRcd'),
184 tag = cms.string(
'L1GtTriggerMaskVetoAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoAlgoTrig ]),
185 type = cms.string(
'L1GtTriggerMask'),
186 key = cms.string(objectKey)
189 record = cms.string(
'L1GtTriggerMenuRcd'),
190 tag = cms.string(
'L1GtTriggerMenu_' + tagBaseVec[ L1CondEnum.L1GtTriggerMenu ]),
191 type = cms.string(
'L1GtTriggerMenu'),
192 key = cms.string(objectKey)
195 record = cms.string(
'L1GtPsbSetupRcd'),
196 tag = cms.string(
'L1GtPsbSetup_' + tagBaseVec[ L1CondEnum.L1GtPsbSetup ]),
197 type = cms.string(
'L1GtPsbSetup'),
198 key = cms.string(objectKey)
201 record = cms.string(
'L1CaloGeometryRecord'),
202 tag = cms.string(
'L1CaloGeometry_' + tagBaseVec[ L1CondEnum.L1CaloGeometry ]),
203 type = cms.string(
'L1CaloGeometry'),
204 key = cms.string(objectKey)
208 from CondTools.L1Trigger.L1RSSubsystemParams_cfi
import initL1RSSubsystems
219 initL1Subsystems.params.recordInfo.extend(initL1RSSubsystems.params.recordInfo)