Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:40

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(1),
0007     firstLuminosityBlock = cms.untracked.uint32(1),
0008     firstEvent = cms.untracked.uint32(1),
0009     numberEventsInLuminosityBlock = cms.untracked.uint32(1),
0010     numberEventsInRun = cms.untracked.uint32(100)
0011 )
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(8)
0015 )
0016 
0017 process.options = dict(
0018     numberOfThreads = 4,
0019     numberOfStreams = 4,
0020     numberOfConcurrentRuns = 1,
0021     numberOfConcurrentLuminosityBlocks = 4,
0022     eventSetup = dict(
0023         numberOfConcurrentIOVs = 2
0024     )
0025 )
0026 
0027 process.testESSource = cms.ESSource("TestESSource",
0028     firstValidLumis = cms.vuint32(1, 4, 6, 7, 8, 9),
0029     iterations = cms.uint32(10*1000*1000),
0030     checkIOVInitialization = cms.bool(True),
0031     expectedNumberOfConcurrentIOVs = cms.uint32(2)
0032 )
0033 
0034 process.concurrentIOVESProducer = cms.ESProducer("ConcurrentIOVESProducer")
0035 
0036 process.test = cms.EDAnalyzer("ConcurrentIOVAnalyzer",
0037                               checkExpectedValues = cms.untracked.bool(False)
0038 )
0039 
0040 process.busy1 = cms.EDProducer("BusyWaitIntProducer",ivalue = cms.int32(1), iterations = cms.uint32(10*1000*1000))
0041 
0042 process.p1 = cms.Path(process.busy1 * process.test)