Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-13 13:13:46

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.source = cms.Source("EmptySource",
0006                             firstRun = cms.untracked.uint32( 260000 ),
0007                             firstLuminosityBlock = cms.untracked.uint32( 1 ),
0008                             numberEventsInRun = cms.untracked.uint32( 30 ),
0009                             numberEventsInLuminosityBlock = cms.untracked.uint32(3),
0010 )
0011 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(30))
0012 
0013 process.MessageLogger = cms.Service("MessageLogger",
0014     cerr = cms.untracked.PSet(
0015         enable = cms.untracked.bool(False)
0016     ),
0017     cout = cms.untracked.PSet(
0018         enable = cms.untracked.bool(True),
0019         threshold = cms.untracked.string('DEBUG')
0020     )
0021 )
0022 
0023 process.OnlineDBOutputService = cms.Service("OnlineDBOutputService",
0024     DBParameters = cms.PSet(
0025         messageLevel = cms.untracked.int32(2),
0026         authenticationPath = cms.untracked.string('.')
0027     ),
0028     jobName = cms.untracked.string("TestLumiBasedUpdate"),
0029     autoCommit = cms.untracked.bool(True),
0030     connect = cms.string('sqlite_file:test_lumi.db'),
0031     preLoadConnectionString = cms.untracked.string('sqlite_file:test_lumi.db'),
0032     lastLumiFile = cms.untracked.string('lastLumi.txt'),
0033     toPut = cms.VPSet(cms.PSet(
0034         record = cms.string('PedestalsRcd'),
0035         tag = cms.string('mytest'),
0036         timetype = cms.untracked.string('Lumi'),
0037         onlyAppendUpdatePolicy = cms.untracked.bool(True)
0038     ))
0039 )
0040 
0041 process.mytest = cms.EDAnalyzer("LumiBasedUpdateAnalyzer",
0042     record = cms.untracked.string('PedestalsRcd'),
0043     iovSize = cms.untracked.uint32(4),
0044     lastLumiFile = cms.untracked.string('lastLumi.txt')
0045 )
0046 
0047 process.p = cms.Path(process.mytest)
0048 
0049 
0050