Back to home page

Project CMSSW displayed by LXR

 
 

    


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 process.source = cms.Source("EmptySource",
0014     timeBetweenEvents = cms.untracked.uint64(10),
0015     firstTime = cms.untracked.uint64(1000000)
0016 )
0017 
0018 process.Tracer = cms.Service("Tracer")
0019 
0020 process.result1 = cms.EDProducer("AddIntsProducer",
0021     labels = cms.VInputTag('one')
0022 )
0023 
0024 process.result2 = cms.EDProducer("AddIntsProducer",
0025     labels = cms.VInputTag('result1',
0026         'one')
0027 )
0028 
0029 process.result4 = cms.EDProducer("AddIntsProducer",
0030     labels = cms.VInputTag('result2',
0031         'result2')
0032 )
0033 
0034 process.get = cms.EDAnalyzer("IntTestAnalyzer",
0035     valueMustMatch = cms.untracked.int32(4),
0036     moduleLabel = cms.untracked.InputTag('result4')
0037 )
0038 
0039 process.t = cms.Task(process.result1, process.result2, process.result4)
0040 
0041 process.p = cms.Path(process.get, process.t)