Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 
0006 process.CondDBCommon.connect = 'sqlite_file:test.db'
0007 process.CondDBCommon.DBParameters.authenticationPath = '.'
0008 
0009 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0010     process.CondDBCommon,
0011     logconnect = cms.untracked.string('sqlite_file:log.db'),
0012     toPut = cms.VPSet(cms.PSet(
0013         record = cms.string('DTT0Rcd'),
0014         tag = cms.string('t0_test')
0015     ))
0016 )
0017 
0018 process.source = cms.Source("EmptyIOVSource",
0019     timetype   = cms.string('runnumber'),
0020     firstValue = cms.uint64(1),
0021     lastValue  = cms.uint64(2),
0022     interval   = cms.uint64(1)
0023 )
0024 
0025 process.t0 = cms.EDAnalyzer("DTT0PopConAnalyzer",
0026     name = cms.untracked.string('DTT0'),
0027     record = cms.string('DTT0Rcd'),
0028     Source = cms.PSet(
0029         tag = cms.string('t0_test'),
0030         file = cms.string('t0.txt'),
0031         run = cms.uint32(1)
0032     ),
0033     SinceAppendMode = cms.bool(True)
0034 )
0035 
0036 process.p = cms.Path(process.t0)
0037