Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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(10)
0011 )
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(30)
0015 )
0016 
0017 process.options = cms.untracked.PSet(
0018     numberOfThreads = cms.untracked.uint32(6),
0019     numberOfStreams = cms.untracked.uint32(6),
0020     numberOfConcurrentRuns = cms.untracked.uint32(1),
0021     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(6),
0022     eventSetup = cms.untracked.PSet(
0023         numberOfConcurrentIOVs = cms.untracked.uint32(5)
0024     )
0025 )
0026 
0027 process.runLumiESSource = cms.ESSource("RunLumiESSource")
0028 
0029 process.test = cms.EDAnalyzer("RunLumiESAnalyzer")
0030 
0031 process.busy1 = cms.EDProducer("BusyWaitIntProducer",ivalue = cms.int32(1), iterations = cms.uint32(10*1000*1000))
0032 
0033 process.p1 = cms.Path(process.busy1 * process.test)
0034 
0035 # ---------------------------------------------------------------
0036 
0037 aSubProcess = cms.Process("TESTSUBPROCESS")
0038 process.addSubProcess(cms.SubProcess(aSubProcess))
0039 
0040 aSubProcess.runLumiESSource = cms.ESSource("RunLumiESSource")
0041 
0042 aSubProcess.test = cms.EDAnalyzer("RunLumiESAnalyzer")
0043 
0044 aSubProcess.p1 = cms.Path(aSubProcess.test)