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.a1 = cms.EDAnalyzer("TestResultAnalyzer",
0042     name = cms.untracked.string('a1'),
0043     dump = cms.untracked.bool(True),
0044     numbits = cms.untracked.int32(9)
0045 )
0046 
0047 process.f1 = cms.EDFilter("TestFilterModule",
0048     acceptValue = cms.untracked.int32(30),
0049     onlyOne = cms.untracked.bool(True)
0050 )
0051 
0052 process.f2 = cms.EDFilter("TestFilterModule",
0053     acceptValue = cms.untracked.int32(70),
0054     onlyOne = cms.untracked.bool(True)
0055 )
0056 
0057 process.f3 = cms.EDFilter("TestFilterModule",
0058     acceptValue = cms.untracked.int32(12),
0059     onlyOne = cms.untracked.bool(True)
0060 )
0061 
0062 process.f4 = cms.EDFilter("TestFilterModule",
0063     acceptValue = cms.untracked.int32(30),
0064     onlyOne = cms.untracked.bool(False)
0065 )
0066 
0067 process.f5 = cms.EDFilter("TestFilterModule",
0068     acceptValue = cms.untracked.int32(70),
0069     onlyOne = cms.untracked.bool(False)
0070 )
0071 
0072 process.f6 = cms.EDFilter("TestFilterModule",
0073     acceptValue = cms.untracked.int32(12),
0074     onlyOne = cms.untracked.bool(False)
0075 )
0076 
0077 process.outp4 = cms.OutputModule("SewerModule",
0078     shouldPass = cms.int32(4),
0079     name = cms.string('for_p1ap2a'),
0080     SelectEvents = cms.untracked.PSet(
0081         SelectEvents = cms.vstring('p1a', 
0082             'p2a')
0083     )
0084 )
0085 
0086 process.outp7 = cms.OutputModule("SewerModule",
0087     shouldPass = cms.int32(99),
0088     name = cms.string('for_none')
0089 )
0090 
0091 process.outpempty = cms.OutputModule("SewerModule",
0092     shouldPass = cms.int32(99),
0093     name = cms.string('p2empty'),
0094     SelectEvents = cms.untracked.PSet(
0095         SelectEvents = cms.vstring('p2empty')
0096     )
0097 )
0098 
0099 process.p1empty = cms.Path()
0100 process.p1a = cms.Path(process.f1*process.m1a)
0101 process.p2a = cms.Path(process.f2*process.m2a)
0102 process.p3a = cms.Path(process.f3*process.m3a)
0103 process.p2empty = cms.Path()
0104 process.p4a = cms.Path(process.f4*process.m4a)
0105 process.p5a = cms.Path(process.f5*process.m5a)
0106 process.p6a = cms.Path(process.f6*process.m6a)
0107 process.p3empty = cms.Path()
0108 
0109 process.e1 = cms.EndPath(process.a1)
0110 process.e2 = cms.EndPath(process.outp4)
0111 process.e3 = cms.EndPath(process.outp7)
0112 process.e4 = cms.EndPath(process.outpempty)
0113 
0114