File indexing completed on 2024-04-06 12:22:27
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("L1ConfigWritePayloadDummy")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 process.MessageLogger.cout.enable = cms.untracked.bool(True)
0006 process.MessageLogger.cout.threshold = cms.untracked.string('DEBUG')
0007 process.MessageLogger.debugModules = cms.untracked.vstring('*')
0008
0009 process.source = cms.Source("EmptySource")
0010 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0011
0012 process.load('L1Trigger.L1TMuonEndCap.fakeEmtfParams_cff')
0013 process.load('L1Trigger.L1TMuonBarrel.fakeBmtfParams_cff')
0014 process.load('L1Trigger.L1TMuon.fakeGmtParams_cff')
0015
0016 process.load('L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_3_cfi')
0017
0018
0019
0020 process.l1ew = cms.EDAnalyzer("L1TMuonEndCapParamsWriter")
0021 process.l1bw = cms.EDAnalyzer("L1TMuonBarrelParamsWriter")
0022 process.l1gw = cms.EDAnalyzer("L1TMuonGlobalParamsWriter")
0023 process.l1cw = cms.EDAnalyzer("L1TCaloStage2ParamsWriter")
0024
0025 from CondCore.DBCommon.CondDBSetup_cfi import CondDBSetup
0026 outputDB = cms.Service("PoolDBOutputService",
0027 CondDBSetup,
0028 connect = cms.string('sqlite_file:l1configPP.db'),
0029 toPut = cms.VPSet(
0030 cms.PSet(
0031 record = cms.string('L1TMuonEndCapParamsRcd'),
0032 tag = cms.string("L1TMuonEndCapParams_static_v91.10")
0033 ),
0034 cms.PSet(
0035 record = cms.string('L1TMuonBarrelParamsRcd'),
0036 tag = cms.string("L1TMuonBarrelParams_static_v91.10")
0037 ),
0038 cms.PSet(
0039 record = cms.string('L1TMuonGlobalParamsRcd'),
0040 tag = cms.string("L1TMuonGlobalParams_static_v91.10")
0041 ),
0042 cms.PSet(
0043 record = cms.string('L1TCaloStage2ParamsRcd'),
0044 tag = cms.string("L1TCaloStage2Params_static_v91.10_v3_3")
0045 )
0046 )
0047 )
0048 outputDB.DBParameters.authenticationPath = '.'
0049 process.add_(outputDB)
0050
0051 process.p = cms.Path(process.l1ew + process.l1bw + process.l1gw + process.l1cw)