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