Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD2")
0004 
0005 
0006 process.source = cms.Source("PoolSource",
0007     fileNames = cms.untracked.vstring(
0008         'file:testOutput1.root'
0009     )
0010 )
0011 
0012 process.intProducerA = cms.EDProducer("IntProducer", ivalue = cms.int32(100))
0013 
0014 process.aliasForInt = cms.EDAlias(
0015     intProducerA  = cms.VPSet(
0016         cms.PSet(type = cms.string('edmtestIntProduct')
0017         )
0018     )
0019 )
0020 
0021 process.testout = cms.OutputModule("TestGlobalOutput",
0022     outputCommands = cms.untracked.vstring(
0023         "keep *",
0024         "drop *_intProducerA_*_*"
0025     )
0026 )
0027 
0028 process.testoutlimited = cms.OutputModule("TestLimitedOutput",
0029     outputCommands = cms.untracked.vstring(
0030         "keep *",
0031         "drop *_intProducerA_*_*"
0032     )
0033 )
0034 
0035 process.out = cms.OutputModule("PoolOutputModule",
0036     fileName = cms.untracked.string('testOutput2.root'),
0037     outputCommands = cms.untracked.vstring(
0038         'keep *', 
0039         'drop *_intProducerA_*_*'
0040     )
0041 )
0042 
0043 process.path = cms.Path(process.intProducerA)
0044 
0045 process.endpath = cms.EndPath(process.testout + process.testoutlimited + process.out)