Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # Test storing OtherThing as well
0004 # Configuration file for PrePoolInputTest 
0005 
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process("TESTPROD")
0009 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(11)
0013 )
0014 process.Thing = cms.EDProducer("ThingProducer")
0015 
0016 process.output = cms.OutputModule("PoolOutputModule",
0017     fileName = cms.untracked.string('PoolInputTest.root')
0018 )
0019 
0020 process.output2 = cms.OutputModule("PoolOutputModule",
0021     outputCommands = cms.untracked.vstring('keep *', 
0022         'drop *_Thing_*_*'),
0023     fileName = cms.untracked.string('PoolInputDropTest.root')
0024 )
0025 
0026 process.OtherThing = cms.EDProducer("OtherThingProducer")
0027 
0028 process.source = cms.Source("EmptySource",
0029     firstLuminosityBlock = cms.untracked.uint32(6),
0030     numberEventsInLuminosityBlock = cms.untracked.uint32(3),
0031     firstRun = cms.untracked.uint32(561),
0032     numberEventsInRun = cms.untracked.uint32(7)
0033 )
0034 
0035 process.p = cms.Path(process.Thing*process.OtherThing)
0036 process.ep = cms.EndPath(process.output*process.output2)
0037 
0038