Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:31

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.one = cms.EDProducer("IntProducer",
0021     ivalue = cms.int32(1)
0022 )
0023 
0024 process.two = cms.EDProducer("IntProducer",
0025     ivalue = cms.int32(2)
0026 )
0027 
0028 process.getOne = cms.EDAnalyzer("IntTestAnalyzer",
0029     valueMustMatch = cms.untracked.int32(1),
0030     moduleLabel = cms.untracked.InputTag('one')
0031 )
0032 
0033 process.getTwo = cms.EDAnalyzer("IntTestAnalyzer",
0034     valueMustMatch = cms.untracked.int32(2),
0035     moduleLabel = cms.untracked.InputTag('two')
0036 )
0037 
0038 process.p = cms.Path(process.two*process.getOne+process.one*process.getTwo)