File indexing completed on 2023-03-17 11:12:56
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004 process.load("CondCore.CondDB.CondDB_cfi")
0005 process.CondDB.connect = 'sqlite_file:Patterns.db'
0006
0007 process.source = cms.Source("EmptyIOVSource",
0008 lastValue = cms.uint64(1),
0009 timetype = cms.string('runnumber'),
0010 firstValue = cms.uint64(1),
0011 interval = cms.uint64(1)
0012 )
0013
0014 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0015 process.CondDB,
0016 timetype = cms.untracked.string('runnumber'),
0017 toPut = cms.VPSet(cms.PSet(
0018 record = cms.string('L1TMuonOverlapParamsRcd'),
0019 tag = cms.string('params'))
0020 )
0021 )
0022
0023
0024 process.load('L1Trigger.L1TMuonOverlapPhase1.fakeOmtfParams_cff')
0025
0026
0027 process.write_sqlite = cms.EDAnalyzer("L1MuonOverlapPhase1ParamsDBProducer")
0028
0029 process.p = cms.Path(process.write_sqlite)