Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TESTPROD")
0004 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0005 
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(10)
0008 )
0009 process.Thing = cms.EDProducer("ThingProducer")
0010 process.AThing = cms.EDProducer("ThingProducer")
0011 process.ZThing = cms.EDProducer("ThingProducer")
0012 
0013 process.OtherThing = cms.EDProducer("OtherThingProducer")
0014 
0015 process.AOtherThing = cms.EDProducer("OtherThingProducer",
0016     thingTag = cms.InputTag('AThing')
0017 )
0018 process.ZOtherThing = cms.EDProducer("OtherThingProducer",
0019     thingTag = cms.InputTag('ZThing')
0020 )
0021 
0022 process.output = cms.OutputModule("PoolOutputModule",
0023     fileName = cms.untracked.string('file:FastMergeTest_ancestor1.root'),
0024     outputCommands = cms.untracked.vstring('keep *', 
0025         'drop *_Thing_*_*',
0026         'drop *_AThing_*_*',
0027         'drop *_ZThing_*_*')
0028 )
0029 
0030 process.source = cms.Source("EmptySource",
0031     firstEvent = cms.untracked.uint32(1),
0032     firstRun = cms.untracked.uint32(100)
0033 )
0034 
0035 process.p = cms.Path(process.Thing*process.OtherThing+process.AThing*process.AOtherThing+process.ZThing*process.ZOtherThing)
0036 process.ep = cms.EndPath(process.output)
0037 
0038