Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD1")
0004 
0005 process.options = cms.untracked.PSet(
0006     numberOfStreams = cms.untracked.uint32(1),
0007     numberOfConcurrentRuns = cms.untracked.uint32(1),
0008     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1)
0009 )
0010 
0011 process.source = cms.Source("EmptySource")
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(3)
0015 )
0016 
0017 process.out = cms.OutputModule("PoolOutputModule",
0018     fileName = cms.untracked.string('testEDAliasTask.root'),
0019     outputCommands = cms.untracked.vstring(
0020         'keep *_intProducer_*_*',
0021     )
0022 )
0023 
0024 process.intProducerOrig = cms.EDProducer("ManyIntProducer", ivalue = cms.int32(1))
0025 
0026 process.intAlias = cms.EDAlias(
0027     intProducerOrig = cms.VPSet(cms.PSet(type = cms.string("edmtestIntProduct")))
0028 )
0029 
0030 process.intProducer = cms.EDProducer("ManyIntWhenRegisteredProducer", src = cms.string("intAlias"))
0031 
0032 process.t = cms.Task(process.intProducer, process.intProducerOrig)
0033 process.p = cms.Path(process.t)
0034 
0035 process.e = cms.EndPath(process.out)