Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("CondCore.CondDB.CondDB_cfi")
0005 process.CondDB.connect = cms.string("sqlite_file:testLogging.db")
0006 
0007 process.source = cms.Source("EmptyIOVSource",
0008     lastValue = cms.uint64(10),
0009     timetype = cms.string('Run'),
0010     firstValue = cms.uint64(1),
0011     interval = cms.uint64(2)
0012 )
0013 
0014 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0015     process.CondDB,
0016     logconnect = cms.untracked.string('sqlite_file:log.db'),
0017     timetype = cms.untracked.string('Run'),
0018     toPut = cms.VPSet(cms.PSet(
0019         record = cms.string('PedestalsRcd'),
0020         tag = cms.string('mytest')
0021     ))
0022 )
0023 
0024 process.mytest = cms.EDAnalyzer("MyDataAnalyzer",
0025     record = cms.string('PedestalsRcd'),
0026     loggingOn = cms.untracked.bool(True)
0027 )
0028 
0029 process.p = cms.Path(process.mytest)
0030 
0031 
0032