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 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0006 process.options = cms.untracked.PSet(
0007     Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow,
0008     numberOfStreams = cms.untracked.uint32(1),
0009     numberOfConcurrentRuns = cms.untracked.uint32(1),
0010     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1)
0011 )
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(3)
0015 )
0016 process.source = cms.Source("EmptySource",
0017     timeBetweenEvents = cms.untracked.uint64(10),
0018     firstTime = cms.untracked.uint64(1000000)
0019 )
0020 
0021 process.Tracer = cms.Service("Tracer")
0022 
0023 process.MessageLogger = cms.Service("MessageLogger",
0024     cout = cms.untracked.PSet(
0025         Tracer = cms.untracked.PSet(
0026             limit = cms.untracked.int32(100000000)
0027         ),
0028         default = cms.untracked.PSet(
0029             limit = cms.untracked.int32(0)
0030         ),
0031         enable = cms.untracked.bool(True)
0032     )
0033 )
0034 
0035 process.one = cms.EDProducer("IntProducer",
0036     ivalue = cms.int32(1)
0037 )
0038 
0039 process.two = cms.EDProducer("IntProducer",
0040     ivalue = cms.int32(2)
0041 )
0042 
0043 process.getOne = cms.EDAnalyzer("IntTestAnalyzer",
0044     valueMustMatch = cms.untracked.int32(1),
0045     moduleLabel = cms.untracked.InputTag('one')
0046 )
0047 
0048 process.getTwo = cms.EDAnalyzer("IntTestAnalyzer",
0049     valueMustMatch = cms.untracked.int32(2),
0050     moduleLabel = cms.untracked.InputTag('two')
0051 )
0052 
0053 process.p = cms.Path(process.one*process.getOne+process.two*process.getTwo)
0054 
0055