Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:24

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(20)
0015 )
0016 
0017 process.options = cms.untracked.PSet(
0018     numberOfThreads = cms.untracked.uint32(4),
0019     numberOfStreams = cms.untracked.uint32(4),
0020     numberOfConcurrentRuns = cms.untracked.uint32(1),
0021     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(4)
0022 )
0023 
0024 process.busy1 = cms.EDProducer("BusyWaitIntProducer",
0025                                ivalue = cms.int32(1),
0026                                iterations = cms.uint32(10*1000*1000),
0027                                lumiNumberToThrow = cms.uint32(7)
0028 )
0029 
0030 process.p1 = cms.Path(process.busy1)