2 L1MuDTTFMasksRcdKey = 'dummy',
3 L1MuGMTChannelMaskRcdKey = 'dummy',
4 L1RCTChannelMaskRcdKey = 'dummy',
5 L1RCTNoisyChannelMaskRcdKey = 'dummy',
6 L1GctChannelMaskRcdKey = 'dummy',
7 L1GtPrescaleFactorsAlgoTrigRcdKey = 'dummy',
8 L1GtPrescaleFactorsTechTrigRcdKey = 'dummy',
9 L1GtTriggerMaskAlgoTrigRcdKey = 'dummy',
10 L1GtTriggerMaskTechTrigRcdKey = 'dummy',
11 L1GtTriggerMaskVetoTechTrigRcdKey = 'dummy',
12 includeL1RCTNoisyChannelMask = True):
14 import FWCore.ParameterSet.Config
as cms
15 from CondTools.L1Trigger.L1CondEnum_cfi
import L1CondEnum
17 if includeL1RCTNoisyChannelMask ==
True:
18 initL1RSSubsystems.params = cms.PSet(
19 recordInfo = cms.VPSet(
21 record = cms.string(
'L1MuDTTFMasksRcd'),
22 tag = cms.string(
'L1MuDTTFMasks_' + tagBaseVec[ L1CondEnum.L1MuDTTFMasks ]),
23 type = cms.string(
'L1MuDTTFMasks'),
24 key = cms.string(L1MuDTTFMasksRcdKey)
27 record = cms.string(
'L1MuGMTChannelMaskRcd'),
28 tag = cms.string(
'L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
29 type = cms.string(
'L1MuGMTChannelMask'),
30 key = cms.string(L1MuGMTChannelMaskRcdKey)
33 record = cms.string(
'L1RCTChannelMaskRcd'),
34 tag = cms.string(
'L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
35 type = cms.string(
'L1RCTChannelMask'),
36 key = cms.string(L1RCTChannelMaskRcdKey)
39 record = cms.string(
'L1RCTNoisyChannelMaskRcd'),
40 tag = cms.string(
'L1RCTNoisyChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTNoisyChannelMask ]),
41 type = cms.string(
'L1RCTNoisyChannelMask'),
42 key = cms.string(L1RCTNoisyChannelMaskRcdKey)
45 record = cms.string(
'L1GctChannelMaskRcd'),
46 tag = cms.string(
'L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
47 type = cms.string(
'L1GctChannelMask'),
48 key = cms.string(L1GctChannelMaskRcdKey)
51 record = cms.string(
'L1GtPrescaleFactorsAlgoTrigRcd'),
52 tag = cms.string(
'L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
53 type = cms.string(
'L1GtPrescaleFactors'),
54 key = cms.string(L1GtPrescaleFactorsAlgoTrigRcdKey)
57 record = cms.string(
'L1GtPrescaleFactorsTechTrigRcd'),
58 tag = cms.string(
'L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
59 type = cms.string(
'L1GtPrescaleFactors'),
60 key = cms.string(L1GtPrescaleFactorsTechTrigRcdKey)
63 record = cms.string(
'L1GtTriggerMaskAlgoTrigRcd'),
64 tag = cms.string(
'L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
65 type = cms.string(
'L1GtTriggerMask'),
66 key = cms.string(L1GtTriggerMaskAlgoTrigRcdKey)
69 record = cms.string(
'L1GtTriggerMaskTechTrigRcd'),
70 tag = cms.string(
'L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
71 type = cms.string(
'L1GtTriggerMask'),
72 key = cms.string(L1GtTriggerMaskTechTrigRcdKey)
75 record = cms.string(
'L1GtTriggerMaskVetoTechTrigRcd'),
76 tag = cms.string(
'L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
77 type = cms.string(
'L1GtTriggerMask'),
78 key = cms.string(L1GtTriggerMaskVetoTechTrigRcdKey)
82 initL1RSSubsystems.params = cms.PSet(
83 recordInfo = cms.VPSet(
85 record = cms.string(
'L1MuDTTFMasksRcd'),
86 tag = cms.string(
'L1MuDTTFMasks_' + tagBaseVec[ L1CondEnum.L1MuDTTFMasks ]),
87 type = cms.string(
'L1MuDTTFMasks'),
88 key = cms.string(L1MuDTTFMasksRcdKey)
91 record = cms.string(
'L1MuGMTChannelMaskRcd'),
92 tag = cms.string(
'L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
93 type = cms.string(
'L1MuGMTChannelMask'),
94 key = cms.string(L1MuGMTChannelMaskRcdKey)
97 record = cms.string(
'L1RCTChannelMaskRcd'),
98 tag = cms.string(
'L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
99 type = cms.string(
'L1RCTChannelMask'),
100 key = cms.string(L1RCTChannelMaskRcdKey)
103 record = cms.string(
'L1GctChannelMaskRcd'),
104 tag = cms.string(
'L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
105 type = cms.string(
'L1GctChannelMask'),
106 key = cms.string(L1GctChannelMaskRcdKey)
109 record = cms.string(
'L1GtPrescaleFactorsAlgoTrigRcd'),
110 tag = cms.string(
'L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
111 type = cms.string(
'L1GtPrescaleFactors'),
112 key = cms.string(L1GtPrescaleFactorsAlgoTrigRcdKey)
115 record = cms.string(
'L1GtPrescaleFactorsTechTrigRcd'),
116 tag = cms.string(
'L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
117 type = cms.string(
'L1GtPrescaleFactors'),
118 key = cms.string(L1GtPrescaleFactorsTechTrigRcdKey)
121 record = cms.string(
'L1GtTriggerMaskAlgoTrigRcd'),
122 tag = cms.string(
'L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
123 type = cms.string(
'L1GtTriggerMask'),
124 key = cms.string(L1GtTriggerMaskAlgoTrigRcdKey)
127 record = cms.string(
'L1GtTriggerMaskTechTrigRcd'),
128 tag = cms.string(
'L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
129 type = cms.string(
'L1GtTriggerMask'),
130 key = cms.string(L1GtTriggerMaskTechTrigRcdKey)
133 record = cms.string(
'L1GtTriggerMaskVetoTechTrigRcd'),
134 tag = cms.string(
'L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
135 type = cms.string(
'L1GtTriggerMask'),
136 key = cms.string(L1GtTriggerMaskVetoTechTrigRcdKey)