Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:49

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
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(20)
0013 )
0014 
0015 process.source = cms.Source("EmptySource")
0016 
0017 process.pre1 = cms.EDFilter("Prescaler",
0018     prescaleFactor = cms.int32(5)
0019 )
0020 
0021 process.pre2 = cms.EDFilter("Prescaler",
0022     prescaleFactor = cms.int32(2)
0023 )
0024 
0025 process.print1 = cms.OutputModule("AsciiOutputModule")
0026 
0027 process.print2 = cms.OutputModule("AsciiOutputModule",
0028     SelectEvents = cms.untracked.PSet(
0029         SelectEvents = cms.vstring('p2')
0030     )
0031 )
0032 
0033 process.p1 = cms.Path(process.pre1)
0034 process.p2 = cms.Path(process.pre2)
0035 
0036 process.e1 = cms.EndPath(process.print1)
0037 process.e2 = cms.EndPath(process.print2)