4 import FWCore.ParameterSet.Config
as cms
5 from CondTools.L1TriggerExt.L1CondEnumExt_cfi
import L1CondEnumExt
7 if len( tagBaseVec ) == 0:
8 from CondTools.L1TriggerExt.L1UniformTagsExt_cfi
import initL1UniformTagsExt
10 tagBaseVec = initL1UniformTagsExt.tagBaseVec
12 initL1SubsystemsExt.params = cms.PSet(
13 recordInfo = cms.VPSet(
15 record = cms.string(
'L1TUtmTriggerMenuO2ORcd'),
16 tag = cms.string(
'L1TUtmTriggerMenu_' + tagBaseVec[ L1CondEnumExt.L1TUtmTriggerMenu ]),
17 type = cms.string(
'L1TUtmTriggerMenu'),
18 key = cms.string(objectKey)
21 record = cms.string(
'L1TGlobalPrescalesVetosO2ORcd'),
22 tag = cms.string(
'L1TGlobalPrescalesVetos_' + tagBaseVec[ L1CondEnumExt.L1TGlobalPrescalesVetos ]),
23 type = cms.string(
'L1TGlobalPrescalesVetos'),
24 key = cms.string(objectKey)
27 record = cms.string(
'L1TMuonGlobalParamsO2ORcd'),
28 tag = cms.string(
'L1TMuonGlobalParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonGlobalParams ]),
29 type = cms.string(
'L1TMuonGlobalParams'),
30 key = cms.string(objectKey)
33 record = cms.string(
'L1TMuonEndcapParamsO2ORcd'),
34 tag = cms.string(
'L1TMuonEndCapParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonEndcapParams ]),
35 type = cms.string(
'L1TMuonEndCapParams'),
36 key = cms.string(objectKey)
39 record = cms.string(
'L1TMuonOverlapParamsO2ORcd'),
40 tag = cms.string(
'L1TMuonOverlapParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonOverlapParams ]),
41 type = cms.string(
'L1TMuonOverlapParams'),
42 key = cms.string(objectKey)
45 record = cms.string(
'L1TMuonBarrelParamsO2ORcd'),
46 tag = cms.string(
'L1TMuonBarrelParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonBarrelParams ]),
47 type = cms.string(
'L1TMuonBarrelParams'),
48 key = cms.string(objectKey)
51 record = cms.string(
'L1TCaloParamsO2ORcd'),
52 tag = cms.string(
'L1TCaloParams_' + tagBaseVec[ L1CondEnumExt.L1TCaloParams ]),
53 type = cms.string(
'L1TCaloParams'),
54 key = cms.string(objectKey)
59 from CondTools.L1TriggerExt.L1RSSubsystemParamsExt_cfi
import initL1RSSubsystemsExt
61 initL1SubsystemsExt.params.recordInfo.extend(initL1RSSubsystemsExt.params.recordInfo)
def initL1SubsystemsExt(tagBaseVec=[], objectKey='dummy')