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(
'L1TGlobalPrescalesVetosFractO2ORcd'),
22 tag = cms.string(
'L1TGlobalPrescalesVetosFract_' + tagBaseVec[ L1CondEnumExt.L1TGlobalPrescalesVetosFract ]),
23 type = cms.string(
'L1TGlobalPrescalesVetosFract'),
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(
'L1TMuonEndCapForestO2ORcd'),
40 tag = cms.string(
'L1TMuonEndCapForest_' + tagBaseVec[ L1CondEnumExt.L1TMuonEndCapForest ]),
41 type = cms.string(
'L1TMuonEndCapForest'),
42 key = cms.string(objectKey)
45 record = cms.string(
'L1TMuonOverlapFwVersionO2ORcd'),
46 tag = cms.string(
'L1TMuonOverlapFwVersion_' + tagBaseVec[ L1CondEnumExt.L1TMuonOverlapFwVersion ]),
47 type = cms.string(
'L1TMuonOverlapFwVersion'),
48 key = cms.string(objectKey)
51 record = cms.string(
'L1TMuonOverlapParamsO2ORcd'),
52 tag = cms.string(
'L1TMuonOverlapParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonOverlapParams ]),
53 type = cms.string(
'L1TMuonOverlapParams'),
54 key = cms.string(objectKey)
57 record = cms.string(
'L1TMuonBarrelParamsO2ORcd'),
58 tag = cms.string(
'L1TMuonBarrelParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonBarrelParams ]),
59 type = cms.string(
'L1TMuonBarrelParams'),
60 key = cms.string(objectKey)
63 record = cms.string(
'L1TCaloParamsO2ORcd'),
64 tag = cms.string(
'L1TCaloParams_' + tagBaseVec[ L1CondEnumExt.L1TCaloParams ]),
65 type = cms.string(
'L1TCaloParams'),
66 key = cms.string(objectKey)
71 from CondTools.L1TriggerExt.L1RSSubsystemParamsExt_cfi
import initL1RSSubsystemsExt
73 initL1SubsystemsExt.params.recordInfo.extend(initL1RSSubsystemsExt.params.recordInfo)
def initL1SubsystemsExt(tagBaseVec=[], objectKey='dummy')