File indexing completed on 2023-03-17 11:02:48
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROD")
0004
0005 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0006 process.options = cms.untracked.PSet(
0007 wantSummary = cms.untracked.bool(True),
0008 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0009 )
0010
0011 process.maxEvents = cms.untracked.PSet(
0012 input = cms.untracked.int32(99)
0013 )
0014 process.source = cms.Source("EmptySource")
0015
0016 process.m1 = cms.EDProducer("IntProducer",
0017 ivalue = cms.int32(1)
0018 )
0019
0020 process.m2 = cms.EDProducer("IntProducer",
0021 ivalue = cms.int32(2)
0022 )
0023
0024 process.m3 = cms.EDProducer("IntProducer",
0025 ivalue = cms.int32(3)
0026 )
0027
0028 process.m4 = cms.EDProducer("IntProducer",
0029 ivalue = cms.int32(4)
0030 )
0031
0032 process.f1 = cms.EDFilter("TestFilterModule",
0033 acceptValue = cms.untracked.int32(40),
0034 onlyOne = cms.untracked.bool(False)
0035 )
0036
0037 process.f2 = cms.EDFilter("TestFilterModule",
0038 acceptValue = cms.untracked.int32(30),
0039 onlyOne = cms.untracked.bool(False)
0040 )
0041
0042 process.f3 = cms.EDFilter("TestFilterModule",
0043 acceptValue = cms.untracked.int32(20),
0044 onlyOne = cms.untracked.bool(False)
0045 )
0046
0047 process.f4 = cms.EDFilter("TestFilterModule",
0048 acceptValue = cms.untracked.int32(2),
0049 onlyOne = cms.untracked.bool(True)
0050 )
0051
0052 process.outp1 = cms.OutputModule("SewerModule",
0053 shouldPass = cms.int32(40),
0054 name = cms.string('p1'),
0055 SelectEvents = cms.untracked.PSet(
0056 SelectEvents = cms.vstring('p1')
0057 )
0058 )
0059
0060 process.outp2 = cms.OutputModule("SewerModule",
0061 shouldPass = cms.int32(99),
0062 name = cms.string('p2'),
0063 SelectEvents = cms.untracked.PSet(
0064 SelectEvents = cms.vstring('p2')
0065 )
0066 )
0067
0068 process.outp3 = cms.OutputModule("SewerModule",
0069 shouldPass = cms.int32(10),
0070 name = cms.string('p3'),
0071 SelectEvents = cms.untracked.PSet(
0072 SelectEvents = cms.vstring('p3')
0073 )
0074 )
0075
0076 process.outp4 = cms.OutputModule("SewerModule",
0077 shouldPass = cms.int32(5),
0078 name = cms.string('p4'),
0079 SelectEvents = cms.untracked.PSet(
0080 SelectEvents = cms.vstring('p4')
0081 )
0082 )
0083
0084 process.outp5 = cms.OutputModule("SewerModule",
0085 shouldPass = cms.int32(10),
0086 name = cms.string('p5'),
0087 SelectEvents = cms.untracked.PSet(
0088 SelectEvents = cms.vstring('p5')
0089 )
0090 )
0091
0092 process.outp6 = cms.OutputModule("SewerModule",
0093 shouldPass = cms.int32(99),
0094 name = cms.string('p6'),
0095 SelectEvents = cms.untracked.PSet(
0096 SelectEvents = cms.vstring('p6')
0097 )
0098 )
0099
0100 process.p1 = cms.Path(process.f1*process.m1)
0101 process.p2 = cms.Path(cms.ignore(process.f1)*process.m1)
0102 process.p3 = cms.Path(process.f2*process.m2*~process.f3*process.m3*cms.ignore(process.f4))
0103 process.p4 = cms.Path(process.f2*process.m2*~process.f3*cms.ignore(process.m3)*process.f4)
0104 process.p5 = cms.Path(process.m4+process.f2*process.m2*~process.f3*process.m3*cms.ignore(process.f4)+process.m4)
0105 process.p6 = cms.Path(process.m1)
0106 process.e = cms.EndPath(process.outp1*process.outp2*process.outp3*process.outp4*process.outp5)
0107 process.e6 = cms.EndPath(process.f1*~process.f1*process.f2*~process.f2*process.f3*~process.f3*process.f4*~process.f4*process.outp6)