5 import FWCore.ParameterSet.Config
as cms
6 from CondTools.L1TriggerExt.L1CondEnumExt_cfi
import L1CondEnumExt
8 if len( tagBaseVec ) == 0:
9 from CondTools.L1TriggerExt.L1UniformTagsExt_cfi
import initL1UniformTagsExt
11 tagBaseVec = initL1UniformTagsExt.tagBaseVec
13 initL1SubsystemsExt.params = cms.PSet(
14 recordInfo = cms.VPSet(
16 record = cms.string(
'L1TUtmTriggerMenuO2ORcd'),
17 tag = cms.string(
'L1TUtmTriggerMenu_' + tagBaseVec[ L1CondEnumExt.L1TUtmTriggerMenu ]),
18 type = cms.string(
'L1TUtmTriggerMenu'),
19 key = cms.string(objectKey)
22 record = cms.string(
'L1TGlobalPrescalesVetosFractO2ORcd'),
23 tag = cms.string(
'L1TGlobalPrescalesVetosFract_' + tagBaseVec[ L1CondEnumExt.L1TGlobalPrescalesVetosFract ]),
24 type = cms.string(
'L1TGlobalPrescalesVetosFract'),
25 key = cms.string(objectKey)
28 record = cms.string(
'L1TMuonGlobalParamsO2ORcd'),
29 tag = cms.string(
'L1TMuonGlobalParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonGlobalParams ]),
30 type = cms.string(
'L1TMuonGlobalParams'),
31 key = cms.string(objectKey)
34 record = cms.string(
'L1TMuonEndCapParamsO2ORcd'),
35 tag = cms.string(
'L1TMuonEndCapParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonEndCapParams ]),
36 type = cms.string(
'L1TMuonEndCapParams'),
37 key = cms.string(objectKey)
40 record = cms.string(
'L1TMuonEndCapForestO2ORcd'),
41 tag = cms.string(
'L1TMuonEndCapForest_' + tagBaseVec[ L1CondEnumExt.L1TMuonEndCapForest ]),
42 type = cms.string(
'L1TMuonEndCapForest'),
43 key = cms.string(objectKey)
46 record = cms.string(
'L1TMuonOverlapFwVersionO2ORcd'),
47 tag = cms.string(
'L1TMuonOverlapFwVersion_' + tagBaseVec[ L1CondEnumExt.L1TMuonOverlapFwVersion ]),
48 type = cms.string(
'L1TMuonOverlapFwVersion'),
49 key = cms.string(objectKey)
52 record = cms.string(
'L1TMuonOverlapParamsO2ORcd'),
53 tag = cms.string(
'L1TMuonOverlapParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonOverlapParams ]),
54 type = cms.string(
'L1TMuonOverlapParams'),
55 key = cms.string(objectKey)
58 record = cms.string(
'L1TMuonBarrelParamsO2ORcd'),
59 tag = cms.string(
'L1TMuonBarrelParams_' + tagBaseVec[ L1CondEnumExt.L1TMuonBarrelParams ]),
60 type = cms.string(
'L1TMuonBarrelParams'),
61 key = cms.string(objectKey)
64 record = cms.string(
'L1TCaloParamsO2ORcd'),
65 tag = cms.string(
'L1TCaloParams_' + tagBaseVec[ L1CondEnumExt.L1TCaloParams ]),
66 type = cms.string(
'L1TCaloParams'),
67 key = cms.string(objectKey)
72 from CondTools.L1TriggerExt.L1RSSubsystemParamsExt_cfi
import initL1RSSubsystemsExt
74 initL1SubsystemsExt.params.recordInfo.extend(initL1RSSubsystemsExt.params.recordInfo)