Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TESTOUTPUT")
0004 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0005 
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(20)
0008 )
0009 process.Thing = cms.EDProducer("ThingProducer")
0010 
0011 process.OtherThing = cms.EDProducer("OtherThingProducer")
0012 
0013 process.output = cms.OutputModule("PoolOutputModule",
0014     fileName = cms.untracked.string('file:PoolOutputEmptyEventsTest.root'),
0015     SelectEvents = cms.untracked.PSet(SelectEvents=cms.vstring('p'))
0016 )
0017 
0018 process.filter = cms.EDFilter("Prescaler",
0019                               prescaleFactor=cms.int32(100),
0020                               prescaleOffset=cms.int32(0) )
0021 process.source = cms.Source("EmptySource")
0022 
0023 process.p = cms.Path(process.filter+process.Thing*process.OtherThing)
0024 process.ep = cms.EndPath(process.output)
0025 
0026