00013 :
00014
00015 import FWCore.ParameterSet.Config as cms
00016 from CondTools.L1Trigger.L1CondEnum_cfi import L1CondEnum
00017
00018 if includeL1RCTNoisyChannelMask == True:
00019 initL1RSSubsystems.params = cms.PSet(
00020 recordInfo = cms.VPSet(
00021 cms.PSet(
00022 record = cms.string('L1MuDTTFMasksRcd'),
00023 tag = cms.string('L1MuDTTFMasks_' + tagBaseVec[ L1CondEnum.L1MuDTTFMasks ]),
00024 type = cms.string('L1MuDTTFMasks'),
00025 key = cms.string(L1MuDTTFMasksRcdKey)
00026 ),
00027 cms.PSet(
00028 record = cms.string('L1MuGMTChannelMaskRcd'),
00029 tag = cms.string('L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
00030 type = cms.string('L1MuGMTChannelMask'),
00031 key = cms.string(L1MuGMTChannelMaskRcdKey)
00032 ),
00033 cms.PSet(
00034 record = cms.string('L1RCTChannelMaskRcd'),
00035 tag = cms.string('L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
00036 type = cms.string('L1RCTChannelMask'),
00037 key = cms.string(L1RCTChannelMaskRcdKey)
00038 ),
00039 cms.PSet(
00040 record = cms.string('L1RCTNoisyChannelMaskRcd'),
00041 tag = cms.string('L1RCTNoisyChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTNoisyChannelMask ]),
00042 type = cms.string('L1RCTNoisyChannelMask'),
00043 key = cms.string(L1RCTNoisyChannelMaskRcdKey)
00044 ),
00045 cms.PSet(
00046 record = cms.string('L1GctChannelMaskRcd'),
00047 tag = cms.string('L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
00048 type = cms.string('L1GctChannelMask'),
00049 key = cms.string(L1GctChannelMaskRcdKey)
00050 ),
00051 cms.PSet(
00052 record = cms.string('L1GtPrescaleFactorsAlgoTrigRcd'),
00053 tag = cms.string('L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
00054 type = cms.string('L1GtPrescaleFactors'),
00055 key = cms.string(L1GtPrescaleFactorsAlgoTrigRcdKey)
00056 ),
00057 cms.PSet(
00058 record = cms.string('L1GtPrescaleFactorsTechTrigRcd'),
00059 tag = cms.string('L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
00060 type = cms.string('L1GtPrescaleFactors'),
00061 key = cms.string(L1GtPrescaleFactorsTechTrigRcdKey)
00062 ),
00063 cms.PSet(
00064 record = cms.string('L1GtTriggerMaskAlgoTrigRcd'),
00065 tag = cms.string('L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
00066 type = cms.string('L1GtTriggerMask'),
00067 key = cms.string(L1GtTriggerMaskAlgoTrigRcdKey)
00068 ),
00069 cms.PSet(
00070 record = cms.string('L1GtTriggerMaskTechTrigRcd'),
00071 tag = cms.string('L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
00072 type = cms.string('L1GtTriggerMask'),
00073 key = cms.string(L1GtTriggerMaskTechTrigRcdKey)
00074 ),
00075 cms.PSet(
00076 record = cms.string('L1GtTriggerMaskVetoTechTrigRcd'),
00077 tag = cms.string('L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
00078 type = cms.string('L1GtTriggerMask'),
00079 key = cms.string(L1GtTriggerMaskVetoTechTrigRcdKey)
00080 ))
00081 )
00082 else:
00083 initL1RSSubsystems.params = cms.PSet(
00084 recordInfo = cms.VPSet(
00085 cms.PSet(
00086 record = cms.string('L1MuDTTFMasksRcd'),
00087 tag = cms.string('L1MuDTTFMasks_' + tagBaseVec[ L1CondEnum.L1MuDTTFMasks ]),
00088 type = cms.string('L1MuDTTFMasks'),
00089 key = cms.string(L1MuDTTFMasksRcdKey)
00090 ),
00091 cms.PSet(
00092 record = cms.string('L1MuGMTChannelMaskRcd'),
00093 tag = cms.string('L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
00094 type = cms.string('L1MuGMTChannelMask'),
00095 key = cms.string(L1MuGMTChannelMaskRcdKey)
00096 ),
00097 cms.PSet(
00098 record = cms.string('L1RCTChannelMaskRcd'),
00099 tag = cms.string('L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
00100 type = cms.string('L1RCTChannelMask'),
00101 key = cms.string(L1RCTChannelMaskRcdKey)
00102 ),
00103 cms.PSet(
00104 record = cms.string('L1GctChannelMaskRcd'),
00105 tag = cms.string('L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
00106 type = cms.string('L1GctChannelMask'),
00107 key = cms.string(L1GctChannelMaskRcdKey)
00108 ),
00109 cms.PSet(
00110 record = cms.string('L1GtPrescaleFactorsAlgoTrigRcd'),
00111 tag = cms.string('L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
00112 type = cms.string('L1GtPrescaleFactors'),
00113 key = cms.string(L1GtPrescaleFactorsAlgoTrigRcdKey)
00114 ),
00115 cms.PSet(
00116 record = cms.string('L1GtPrescaleFactorsTechTrigRcd'),
00117 tag = cms.string('L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
00118 type = cms.string('L1GtPrescaleFactors'),
00119 key = cms.string(L1GtPrescaleFactorsTechTrigRcdKey)
00120 ),
00121 cms.PSet(
00122 record = cms.string('L1GtTriggerMaskAlgoTrigRcd'),
00123 tag = cms.string('L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
00124 type = cms.string('L1GtTriggerMask'),
00125 key = cms.string(L1GtTriggerMaskAlgoTrigRcdKey)
00126 ),
00127 cms.PSet(
00128 record = cms.string('L1GtTriggerMaskTechTrigRcd'),
00129 tag = cms.string('L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
00130 type = cms.string('L1GtTriggerMask'),
00131 key = cms.string(L1GtTriggerMaskTechTrigRcdKey)
00132 ),
00133 cms.PSet(
00134 record = cms.string('L1GtTriggerMaskVetoTechTrigRcd'),
00135 tag = cms.string('L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
00136 type = cms.string('L1GtTriggerMask'),
00137 key = cms.string(L1GtTriggerMaskVetoTechTrigRcdKey)
00138 ))
00139 )