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("PROD1")
0004 
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(3)
0008 )
0009 
0010 process.intProducerA = cms.EDProducer("IntProducer", ivalue = cms.int32(100))
0011 
0012 process.aliasForInt = cms.EDAlias(
0013     intProducerA  = cms.VPSet(
0014         cms.PSet(type = cms.string('edmtestIntProduct')
0015         )
0016     )
0017 )
0018 
0019 process.testout = cms.OutputModule("TestGlobalOutput",
0020     outputCommands = cms.untracked.vstring(
0021         "keep *",
0022         "drop *_intProducerA_*_*"
0023     )
0024 )
0025 
0026 process.testoutlimited = cms.OutputModule("TestLimitedOutput",
0027     outputCommands = cms.untracked.vstring(
0028         "keep *",
0029         "drop *_intProducerA_*_*"
0030     )
0031 )
0032 
0033 process.out = cms.OutputModule("PoolOutputModule",
0034     fileName = cms.untracked.string('testOutput1.root'),
0035     outputCommands = cms.untracked.vstring(
0036         'keep *', 
0037         'drop *_intProducerA_*_*'
0038     )
0039 )
0040 
0041 process.path = cms.Path(process.intProducerA)
0042 
0043 process.endpath = cms.EndPath(process.testout + process.testoutlimited + process.out)