File indexing completed on 2024-04-06 12:12:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004
0005 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0006 process.options = cms.untracked.PSet(
0007 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0008 )
0009
0010 process.maxEvents = cms.untracked.PSet(
0011 input = cms.untracked.int32(3)
0012 )
0013
0014 process.source = cms.Source("EmptySource",
0015 timeBetweenEvents = cms.untracked.uint64(10),
0016 firstTime = cms.untracked.uint64(1000000)
0017 )
0018
0019 process.Tracer = cms.Service("Tracer")
0020
0021 process.one = cms.EDProducer("IntProducer",
0022 ivalue = cms.int32(1)
0023 )
0024
0025 process.two = cms.EDProducer("IntProducer",
0026 ivalue = cms.int32(2)
0027 )
0028
0029 process.getOne = cms.EDAnalyzer("IntTestAnalyzer",
0030 valueMustMatch = cms.untracked.int32(1),
0031 moduleLabel = cms.untracked.InputTag('one')
0032 )
0033
0034 process.getTwo = cms.EDAnalyzer("IntTestAnalyzer",
0035 valueMustMatch = cms.untracked.int32(2),
0036 moduleLabel = cms.untracked.InputTag('two')
0037 )
0038
0039 process.t = cms.Task(process.one, process.two)
0040
0041 process.p = cms.Path(process.getOne+process.getTwo, process.t)