File indexing completed on 2024-04-06 12:12:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROD")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0007
0008 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0009 process.options = cms.untracked.PSet(
0010
0011 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0012 )
0013
0014
0015
0016 process.maxEvents = cms.untracked.PSet(
0017 input = cms.untracked.int32(99)
0018 )
0019
0020 process.source = cms.Source("EmptySource")
0021
0022 process.m1a = cms.EDProducer("IntProducer",
0023 ivalue = cms.int32(1)
0024 )
0025
0026 process.m2a = cms.EDProducer("IntProducer",
0027 ivalue = cms.int32(2)
0028 )
0029
0030 process.m3a = cms.EDProducer("IntProducer",
0031 ivalue = cms.int32(3)
0032 )
0033
0034 process.m4a = cms.EDProducer("IntProducer",
0035 ivalue = cms.int32(4)
0036 )
0037
0038 process.m5a = cms.EDProducer("IntProducer",
0039 ivalue = cms.int32(5)
0040 )
0041
0042 process.m6a = cms.EDProducer("IntProducer",
0043 ivalue = cms.int32(6)
0044 )
0045
0046 process.m1b = cms.EDProducer("IntProducer",
0047 ivalue = cms.int32(10)
0048 )
0049
0050 process.m2b = cms.EDProducer("IntProducer",
0051 ivalue = cms.int32(20)
0052 )
0053
0054 process.m3b = cms.EDProducer("IntProducer",
0055 ivalue = cms.int32(30)
0056 )
0057
0058 process.m4b = cms.EDProducer("IntProducer",
0059 ivalue = cms.int32(40)
0060 )
0061
0062 process.m5b = cms.EDProducer("IntProducer",
0063 ivalue = cms.int32(50)
0064 )
0065
0066 process.m6b = cms.EDProducer("IntProducer",
0067 ivalue = cms.int32(60)
0068 )
0069
0070 process.a1 = cms.EDAnalyzer("TestResultAnalyzer",
0071 name = cms.untracked.string('a1'),
0072 dump = cms.untracked.bool(True)
0073 )
0074
0075 process.f1 = cms.EDFilter("TestFilterModule",
0076 acceptValue = cms.untracked.int32(30),
0077 onlyOne = cms.untracked.bool(True)
0078 )
0079
0080 process.f2 = cms.EDFilter("TestFilterModule",
0081 acceptValue = cms.untracked.int32(70),
0082 onlyOne = cms.untracked.bool(True)
0083 )
0084
0085 process.f3 = cms.EDFilter("TestFilterModule",
0086 acceptValue = cms.untracked.int32(12),
0087 onlyOne = cms.untracked.bool(True)
0088 )
0089
0090 process.f4 = cms.EDFilter("TestFilterModule",
0091 acceptValue = cms.untracked.int32(30),
0092 onlyOne = cms.untracked.bool(False)
0093 )
0094
0095 process.f5 = cms.EDFilter("TestFilterModule",
0096 acceptValue = cms.untracked.int32(70),
0097 onlyOne = cms.untracked.bool(False)
0098 )
0099
0100 process.f6 = cms.EDFilter("TestFilterModule",
0101 acceptValue = cms.untracked.int32(12),
0102 onlyOne = cms.untracked.bool(False)
0103 )
0104
0105 process.outp1a = cms.OutputModule("SewerModule",
0106 shouldPass = cms.int32(3),
0107 name = cms.string('for_f1'),
0108 SelectEvents = cms.untracked.PSet(
0109 SelectEvents = cms.vstring('p1a')
0110 )
0111 )
0112
0113 process.outp2a = cms.OutputModule("SewerModule",
0114 shouldPass = cms.int32(1),
0115 name = cms.string('for_f2'),
0116 SelectEvents = cms.untracked.PSet(
0117 SelectEvents = cms.vstring('p2a')
0118 )
0119 )
0120
0121 process.outp3a = cms.OutputModule("SewerModule",
0122 shouldPass = cms.int32(70),
0123 name = cms.string('for_f4_f5'),
0124 SelectEvents = cms.untracked.PSet(
0125 SelectEvents = cms.vstring('p4a',
0126 'p5a')
0127 )
0128 )
0129
0130 process.outp8a = cms.OutputModule("SewerModule",
0131 shouldPass = cms.int32(29),
0132 name = cms.string('for_!f5'),
0133 SelectEvents = cms.untracked.PSet(
0134 SelectEvents = cms.vstring('!p5a')
0135 )
0136 )
0137
0138 process.outp1b = cms.OutputModule("SewerModule",
0139 shouldPass = cms.int32(96),
0140 name = cms.string('for_!f1'),
0141 SelectEvents = cms.untracked.PSet(
0142 SelectEvents = cms.vstring('p1b')
0143 )
0144 )
0145
0146 process.outp2b = cms.OutputModule("SewerModule",
0147 shouldPass = cms.int32(98),
0148 name = cms.string('for_!f2'),
0149 SelectEvents = cms.untracked.PSet(
0150 SelectEvents = cms.vstring('p2b')
0151 )
0152 )
0153
0154 process.outp3b = cms.OutputModule("SewerModule",
0155 shouldPass = cms.int32(69),
0156 name = cms.string('for_!f4_!f5'),
0157 SelectEvents = cms.untracked.PSet(
0158 SelectEvents = cms.vstring('p4b',
0159 'p5b')
0160 )
0161 )
0162
0163 process.outp8b = cms.OutputModule("SewerModule",
0164 shouldPass = cms.int32(70),
0165 name = cms.string('for_!!f5'),
0166 SelectEvents = cms.untracked.PSet(
0167 SelectEvents = cms.vstring('!p5b')
0168 )
0169 )
0170
0171 process.outp4 = cms.OutputModule("SewerModule",
0172 shouldPass = cms.int32(74),
0173 name = cms.string('for_*'),
0174 SelectEvents = cms.untracked.PSet(
0175 SelectEvents = cms.vstring('*')
0176 )
0177 )
0178
0179 process.outp5 = cms.OutputModule("SewerModule",
0180 shouldPass = cms.int32(25),
0181 name = cms.string('for_!*'),
0182 SelectEvents = cms.untracked.PSet(
0183 SelectEvents = cms.vstring('!*')
0184 )
0185 )
0186
0187 process.outp6 = cms.OutputModule("SewerModule",
0188 shouldPass = cms.int32(99),
0189 name = cms.string('for_*_!*'),
0190 SelectEvents = cms.untracked.PSet(
0191 SelectEvents = cms.vstring('*',
0192 '!*')
0193 )
0194 )
0195
0196 process.outp7 = cms.OutputModule("SewerModule",
0197 shouldPass = cms.int32(99),
0198 name = cms.string('for_none')
0199 )
0200
0201 process.p1a = cms.Path(process.f1*process.m1a)
0202 process.p2a = cms.Path(process.f2*process.m2a)
0203 process.p3a = cms.Path(process.f3*process.m3a)
0204 process.p4a = cms.Path(process.f4*process.m4a)
0205 process.p5a = cms.Path(process.f5*process.m5a)
0206 process.p6a = cms.Path(process.f6*process.m6a)
0207 process.e1 = cms.EndPath(process.a1)
0208 process.e2 = cms.EndPath(process.outp1a*process.outp2a*process.outp3a*process.outp8a)
0209 process.e4 = cms.EndPath(process.outp4*process.outp5)
0210 process.e5 = cms.EndPath(process.outp6)
0211 process.e6 = cms.EndPath(process.outp7)
0212
0213