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 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 dumpContextForLabels = cms.untracked.vstring('one')
0023 )
0024
0025 process.MessageLogger = cms.Service("MessageLogger",
0026 cerr = cms.untracked.PSet(
0027 enableStatistics = cms.untracked.bool(False)
0028 ),
0029 cout = cms.untracked.PSet(
0030 enable = cms.untracked.bool(True),
0031 default = cms.untracked.PSet (
0032 limit = cms.untracked.int32(0)
0033 ),
0034 Tracer = cms.untracked.PSet(
0035 limit=cms.untracked.int32(100000000)
0036 )
0037 )
0038 )
0039
0040 process.one = cms.EDProducer("IntProducer",
0041 ivalue = cms.int32(1)
0042 )
0043
0044 process.result1 = cms.EDProducer("AddIntsProducer",
0045 labels = cms.VInputTag('one')
0046 )
0047
0048 process.result2 = cms.EDProducer("AddIntsProducer",
0049 labels = cms.VInputTag('result1',
0050 'one')
0051 )
0052
0053 process.result4 = cms.EDProducer("AddIntsProducer",
0054 labels = cms.VInputTag('result2',
0055 'result2')
0056 )
0057
0058 process.get = cms.EDAnalyzer("IntTestAnalyzer",
0059 valueMustMatch = cms.untracked.int32(4),
0060 moduleLabel = cms.untracked.InputTag('result4')
0061 )
0062
0063 process.t = cms.Task(process.one, process.result1, process.result2, process.result4)
0064
0065 process.p = cms.Path(process.get, process.t)