Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:27

0001 # Configuration file for PartialEventTest_cfg.py   
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("TEST")
0006 
0007 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010     input = cms.untracked.int32(2)
0011 )
0012 
0013 process.source = cms.Source("EmptySource")
0014 
0015 process.Thing = cms.EDProducer("ThingProducer",
0016     offsetDelta = cms.int32(1)
0017 )
0018 
0019 process.filter = cms.EDFilter("TestFilterModule",
0020     onlyOne = cms.untracked.bool(True),
0021     acceptValue = cms.untracked.int32(2)
0022 )
0023 
0024 process.OtherThing = cms.EDProducer("OtherThingProducer")
0025 
0026 process.out = cms.OutputModule("PoolOutputModule",
0027     fileName = cms.untracked.string('partialEventDataFormatsFWLite.root')
0028 )
0029 
0030 process.p = cms.Path( (process.Thing+process.filter)*process.OtherThing)
0031 process.outp = cms.EndPath(process.out)