Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 process.CondDBCommon.connect = 'sqlite_file:Ints.db'
0006 
0007 process.eff = cms.ESSource("PoolDBESSource",
0008     process.CondDBCommon,
0009     RefreshEachRun=cms.untracked.bool(True),
0010     DumpStat=cms.untracked.bool(True),
0011     toGet = cms.VPSet(cms.PSet(
0012         record = cms.string('OneIntRcd'),
0013         tag = cms.string('OneInt')
0014     ))
0015 )
0016 
0017 #process.source = cms.Source("EmptyIOVSource",
0018 #    firstValue = cms.uint64(310),
0019 #    lastValue = cms.uint64(1000),
0020 #    timetype = cms.string('runnumber'),
0021 #    interval = cms.uint64(100)
0022 #)
0023 
0024 process.source = cms.Source("EmptySource",
0025   firstLuminosityBlock = cms.untracked.uint32(1),
0026   numberEventsInLuminosityBlock = cms.untracked.uint32(3),
0027   firstEvent = cms.untracked.uint32(1),
0028   firstRun = cms.untracked.uint32(10),
0029   numberEventsInRun = cms.untracked.uint32(12)
0030 )
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033  input = cms.untracked.int32(400)
0034 )
0035 
0036 process.prod = cms.EDAnalyzer("TestUpdater")
0037 
0038 process.p = cms.Path(process.prod)
0039