Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-26 02:25:00

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.f1 = cms.EDFilter("TestFilterModule",
0018     acceptValue = cms.untracked.int32(30),
0019     onlyOne = cms.untracked.bool(True)
0020 )
0021 
0022 process.outp = cms.OutputModule("ExternalWorkSewerModule",
0023                                 shouldPass = cms.int32(3),
0024     name = cms.string('for_p'),
0025     SelectEvents = cms.untracked.PSet(
0026         SelectEvents = cms.vstring('p') 
0027     )
0028 )
0029 
0030 process.outNone = cms.OutputModule("ExternalWorkSewerModule",
0031     shouldPass = cms.int32(99),
0032     name = cms.string('for_none')
0033 )
0034 
0035 process.outpempty = cms.OutputModule("ExternalWorkSewerModule",
0036     shouldPass = cms.int32(99),
0037     name = cms.string('pEmpty'),
0038     SelectEvents = cms.untracked.PSet(
0039         SelectEvents = cms.vstring('pEmpty')
0040     )
0041 )
0042 
0043 process.pEmpty = cms.Path()
0044 process.p = cms.Path(process.f1)
0045 
0046 process.e1 = cms.EndPath(process.outp)
0047 process.e2 = cms.EndPath(process.outNone)
0048 process.e3 = cms.EndPath(process.outpempty)
0049 
0050