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(
'L1HtMissScaleRcd'),
29 tag = cms.string(
'L1HtMissScale_' + tagBaseVec[ L1CondEnum.L1HtMissScale ]),
30 type = cms.string(
'L1CaloEtScale'),
31 key = cms.string(objectKey)
34 record = cms.string(
'L1HfRingEtScaleRcd'),
35 tag = cms.string(
'L1HfRingEtScale_' + tagBaseVec[ L1CondEnum.L1HfRingEtScale ]),
36 type = cms.string(
'L1CaloEtScale'),
37 key = cms.string(objectKey)
40 record = cms.string(
'L1MuTriggerScalesRcd'),
41 tag = cms.string(
'L1MuTriggerScales_' + tagBaseVec[ L1CondEnum.L1MuTriggerScales ]),
42 type = cms.string(
'L1MuTriggerScales'),
43 key = cms.string(objectKey)
46 record = cms.string(
'L1MuTriggerPtScaleRcd'),
47 tag = cms.string(
'L1MuTriggerPtScale_' + tagBaseVec[ L1CondEnum.L1MuTriggerPtScale ]),
48 type = cms.string(
'L1MuTriggerPtScale'),
49 key = cms.string(objectKey)
52 record = cms.string(
'L1MuGMTScalesRcd'),
53 tag = cms.string(
'L1MuGMTScales_' + tagBaseVec[ L1CondEnum.L1MuGMTScales ]),
54 type = cms.string(
'L1MuGMTScales'),
55 key = cms.string(objectKey)
58 record = cms.string(
'L1MuCSCTFConfigurationRcd'),
59 tag = cms.string(
'L1MuCSCTFConfiguration_' + tagBaseVec[ L1CondEnum.L1MuCSCTFConfiguration ]),
60 type = cms.string(
'L1MuCSCTFConfiguration'),
61 key = cms.string(objectKey)
64 record = cms.string(
'L1MuCSCTFAlignmentRcd'),
65 tag = cms.string(
'L1MuCSCTFAlignment_' + tagBaseVec[ L1CondEnum.L1MuCSCTFAlignment ]),
66 type = cms.string(
'L1MuCSCTFAlignment'),
67 key = cms.string(objectKey)
70 record = cms.string(
'L1MuCSCPtLutRcd'),
71 tag = cms.string(
'L1MuCSCPtLut_' + tagBaseVec[ L1CondEnum.L1MuCSCPtLut ]),
72 type = cms.string(
'L1MuCSCPtLut'),
73 key = cms.string(objectKey)
76 record = cms.string(
'L1MuDTEtaPatternLutRcd'),
77 tag = cms.string(
'L1MuDTEtaPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTEtaPatternLut ]),
78 type = cms.string(
'L1MuDTEtaPatternLut'),
79 key = cms.string(objectKey)
82 record = cms.string(
'L1MuDTExtLutRcd'),
83 tag = cms.string(
'L1MuDTExtLut_' + tagBaseVec[ L1CondEnum.L1MuDTExtLut ]),
84 type = cms.string(
'L1MuDTExtLut'),
85 key = cms.string(objectKey)
88 record = cms.string(
'L1MuDTPhiLutRcd'),
89 tag = cms.string(
'L1MuDTPhiLut_' + tagBaseVec[ L1CondEnum.L1MuDTPhiLut ]),
90 type = cms.string(
'L1MuDTPhiLut'),
91 key = cms.string(objectKey)
94 record = cms.string(
'L1MuDTPtaLutRcd'),
95 tag = cms.string(
'L1MuDTPtaLut_' + tagBaseVec[ L1CondEnum.L1MuDTPtaLut ]),
96 type = cms.string(
'L1MuDTPtaLut'),
97 key = cms.string(objectKey)
100 record = cms.string(
'L1MuDTQualPatternLutRcd'),
101 tag = cms.string(
'L1MuDTQualPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTQualPatternLut ]),
102 type = cms.string(
'L1MuDTQualPatternLut'),
103 key = cms.string(objectKey)
106 record = cms.string(
'L1MuDTTFParametersRcd'),
107 tag = cms.string(
'L1MuDTTFParameters_' + tagBaseVec[ L1CondEnum.L1MuDTTFParameters ]),
108 type = cms.string(
'L1MuDTTFParameters'),
109 key = cms.string(objectKey)
112 record = cms.string(
'L1RPCConfigRcd'),
113 tag = cms.string(
'L1RPCConfig_' + tagBaseVec[ L1CondEnum.L1RPCConfig ]),
114 type = cms.string(
'L1RPCConfig'),
115 key = cms.string(objectKey)
118 record = cms.string(
'L1RPCConeDefinitionRcd'),
119 tag = cms.string(
'L1RPCConeDefinition_' + tagBaseVec[ L1CondEnum.L1RPCConeDefinition ]),
120 type = cms.string(
'L1RPCConeDefinition'),
121 key = cms.string(objectKey)
124 record = cms.string(
'L1RPCHsbConfigRcd'),
125 tag = cms.string(
'L1RPCHsbConfig_' + tagBaseVec[ L1CondEnum.L1RPCHsbConfig ]),
126 type = cms.string(
'L1RPCHsbConfig'),
127 key = cms.string(objectKey)
130 record = cms.string(
'L1RPCBxOrConfigRcd'),
131 tag = cms.string(
'L1RPCBxOrConfig_' + tagBaseVec[ L1CondEnum.L1RPCBxOrConfig ]),
132 type = cms.string(
'L1RPCBxOrConfig'),
133 key = cms.string(objectKey)
136 record = cms.string(
'L1MuGMTParametersRcd'),
137 tag = cms.string(
'L1MuGMTParameters_' + tagBaseVec[ L1CondEnum.L1MuGMTParameters ]),
138 type = cms.string(
'L1MuGMTParameters'),
139 key = cms.string(objectKey)
142 record = cms.string(
'L1RCTParametersRcd'),
143 tag = cms.string(
'L1RCTParameters_' + tagBaseVec[ L1CondEnum.L1RCTParameters ]),
144 type = cms.string(
'L1RCTParameters'),
145 key = cms.string(objectKey)
148 record = cms.string(
'L1CaloEcalScaleRcd'),
149 tag = cms.string(
'L1CaloEcalScale_' + tagBaseVec[ L1CondEnum.L1CaloEcalScale ]),
150 type = cms.string(
'L1CaloEcalScale'),
151 key = cms.string(objectKey)
154 record = cms.string(
'L1CaloHcalScaleRcd'),
155 tag = cms.string(
'L1CaloHcalScale_' + tagBaseVec[ L1CondEnum.L1CaloHcalScale ]),
156 type = cms.string(
'L1CaloHcalScale'),
157 key = cms.string(objectKey)
160 record = cms.string(
'L1GctJetFinderParamsRcd'),
161 tag = cms.string(
'L1GctJetFinderParams_' + tagBaseVec[ L1CondEnum.L1GctJetFinderParams ]),
162 type = cms.string(
'L1GctJetFinderParams'),
163 key = cms.string(objectKey)
166 record = cms.string(
'L1GtBoardMapsRcd'),
167 tag = cms.string(
'L1GtBoardMaps_' + tagBaseVec[ L1CondEnum.L1GtBoardMaps ]),
168 type = cms.string(
'L1GtBoardMaps'),
169 key = cms.string(objectKey)
172 record = cms.string(
'L1GtParametersRcd'),
173 tag = cms.string(
'L1GtParameters_' + tagBaseVec[ L1CondEnum.L1GtParameters ]),
174 type = cms.string(
'L1GtParameters'),
175 key = cms.string(objectKey)
178 record = cms.string(
'L1GtStableParametersRcd'),
179 tag = cms.string(
'L1GtStableParameters_' + tagBaseVec[ L1CondEnum.L1GtStableParameters ]),
180 type = cms.string(
'L1GtStableParameters'),
181 key = cms.string(objectKey)
184 record = cms.string(
'L1GtTriggerMaskVetoAlgoTrigRcd'),
185 tag = cms.string(
'L1GtTriggerMaskVetoAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoAlgoTrig ]),
186 type = cms.string(
'L1GtTriggerMask'),
187 key = cms.string(objectKey)
190 record = cms.string(
'L1GtTriggerMenuRcd'),
191 tag = cms.string(
'L1GtTriggerMenu_' + tagBaseVec[ L1CondEnum.L1GtTriggerMenu ]),
192 type = cms.string(
'L1GtTriggerMenu'),
193 key = cms.string(objectKey)
196 record = cms.string(
'L1GtPsbSetupRcd'),
197 tag = cms.string(
'L1GtPsbSetup_' + tagBaseVec[ L1CondEnum.L1GtPsbSetup ]),
198 type = cms.string(
'L1GtPsbSetup'),
199 key = cms.string(objectKey)
202 record = cms.string(
'L1CaloGeometryRecord'),
203 tag = cms.string(
'L1CaloGeometry_' + tagBaseVec[ L1CondEnum.L1CaloGeometry ]),
204 type = cms.string(
'L1CaloGeometry'),
205 key = cms.string(objectKey)
209 from CondTools.L1Trigger.L1RSSubsystemParams_cfi
import initL1RSSubsystems
220 initL1Subsystems.params.recordInfo.extend(initL1RSSubsystems.params.recordInfo)