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.options = cms.untracked.PSet(
0006                             numberOfStreams = cms.untracked.uint32(3),
0007                             numberOfThreads = cms.untracked.uint32(3)
0008 )
0009 
0010 process.source = cms.Source("EmptySource")
0011 
0012 process.maxEvents.input = 3
0013 
0014 process.d = cms.EDProducer("NonEventIntProducer",
0015                            ivalue = cms.int32(1))
0016 
0017 process.b = cms.EDProducer("NonEventIntProducer",
0018                            ivalue = cms.int32(2),
0019                            sleepTime = cms.uint32(3000),
0020                            consumesBeginProcessBlock = cms.InputTag("c","beginProcessBlock"),
0021                            expectBeginProcessBlock = cms.untracked.int32(3),
0022                            consumesBeginRun = cms.InputTag("c","beginRun"),
0023                            expectBeginRun = cms.untracked.int32(3),
0024                            consumesBeginLuminosityBlock = cms.InputTag("c","beginLumi"),
0025                            expectBeginLuminosityBlock = cms.untracked.int32(3),
0026                            consumesEndLuminosityBlock = cms.InputTag("c","endLumi"),
0027                            expectEndLuminosityBlock = cms.untracked.int32(3),
0028                            consumesEndRun = cms.InputTag("c","endRun"),
0029                            expectEndRun = cms.untracked.int32(3),
0030                            consumesEndProcessBlock = cms.InputTag("c","endProcessBlock"),
0031                            expectEndProcessBlock = cms.untracked.int32(3)
0032 )
0033 
0034 process.c = cms.EDProducer("NonEventIntProducer",
0035                            ivalue = cms.int32(3),
0036                            sleepTime = cms.uint32(3000),
0037                            consumesBeginProcessBlock = cms.InputTag("d","beginProcessBlock"),
0038                            expectBeginProcessBlock = cms.untracked.int32(1),
0039                            consumesBeginRun = cms.InputTag("d","beginRun"),
0040                            expectBeginRun = cms.untracked.int32(1),
0041                            consumesBeginLuminosityBlock = cms.InputTag("d","beginLumi"),
0042                            expectBeginLuminosityBlock = cms.untracked.int32(1),
0043                            consumesEndLuminosityBlock = cms.InputTag("d","endLumi"),
0044                            expectEndLuminosityBlock = cms.untracked.int32(1),
0045                            consumesEndRun = cms.InputTag("d","endRun"),
0046                            expectEndRun = cms.untracked.int32(1),
0047                            consumesEndProcessBlock = cms.InputTag("d", "endProcessBlock"),
0048                            expectEndProcessBlock = cms.untracked.int32(1)
0049 )
0050 
0051 process.t = cms.Task(process.d, process.c)
0052 process.p = cms.Path(process.b, process.t)