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.input = 8
0014
0015 process.options = dict(
0016 numberOfThreads = 4,
0017 numberOfStreams = 4,
0018 numberOfConcurrentRuns = 1,
0019 numberOfConcurrentLuminosityBlocks = 4,
0020 eventSetup = dict(
0021 numberOfConcurrentIOVs = 2
0022 )
0023 )
0024
0025 process.testESSource = cms.ESSource("TestESConcurrentSource",
0026 firstValidLumis = cms.vuint32(1, 4, 6, 7, 8, 9),
0027 iterations = cms.uint32(10*1000*1000),
0028 checkIOVInitialization = cms.bool(True),
0029 expectedNumberOfConcurrentIOVs = cms.uint32(2)
0030 )
0031
0032 process.concurrentIOVESProducer = cms.ESProducer("ConcurrentIOVESProducer")
0033
0034 process.test = cms.EDAnalyzer("ConcurrentIOVAnalyzer",
0035 checkExpectedValues = cms.untracked.bool(False)
0036 )
0037
0038 process.testOther = cms.EDAnalyzer("ConcurrentIOVAnalyzer",
0039 checkExpectedValues = cms.untracked.bool(False),
0040 fromSource = cms.untracked.ESInputTag(":other")
0041 )
0042
0043
0044 process.busy1 = cms.EDProducer("BusyWaitIntProducer",ivalue = cms.int32(1), iterations = cms.uint32(10*1000*1000))
0045
0046 process.p1 = cms.Path(process.busy1 * process.test * process.testOther)
0047
0048