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('CLASSRcd'),
0014         tag = cms.string('FNAME_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.FNAME = cms.EDAnalyzer("VNAMEValidateDBWrite",
0026     name = cms.untracked.string('CLASS'),
0027     record = cms.string('CLASSRcd'),
0028     Source = cms.PSet(
0029         version = cms.string('FNAME_test'),
0030         outFile = cms.string('FNAMEDump.txt'),
0031         logFile = cms.string('FNAMEValidate.log'),
0032         debug = cms.bool(False),
0033         firstRun = cms.uint32(1),
0034          lastRun = cms.uint32(5)
0035     ),
0036     SinceAppendMode = cms.bool(True)
0037 )
0038 
0039 process.p = cms.Path(process.FNAME)
0040