Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:11

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 ###OMTF CondFormats ESProducer
0024 process.load('L1Trigger.L1TMuonOverlapPhase1.fakeOmtfParams_cff')
0025 
0026 ###EDAnalyzer writing the OMTFParams objects to sqlite file
0027 process.write_sqlite = cms.EDAnalyzer("L1MuonOverlapPhase1ParamsDBProducer")
0028 
0029 process.p = cms.Path(process.write_sqlite)