Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-19 01:44:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD1")
0004 
0005 process.source = cms.Source("EmptySource",
0006     firstRun = cms.untracked.uint32(2)
0007 )
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010     input = cms.untracked.int32(3)
0011 )
0012 
0013 process.out = cms.OutputModule("PoolOutputModule",
0014     fileName = cms.untracked.string('testGetBy1Mod.root'),
0015     outputCommands = cms.untracked.vstring(
0016         'keep *'
0017     )
0018 )
0019 
0020 process.intProducer = cms.EDProducer("IntProducer", ivalue = cms.int32(2))
0021 
0022 process.intProducerBeginProcessBlock = cms.EDProducer("IntProducerBeginProcessBlock", ivalue = cms.int32(10000))
0023 
0024 process.intProducerEndProcessBlock = cms.EDProducer("IntProducerEndProcessBlock", ivalue = cms.int32(100000))
0025 
0026 process.t = cms.Task(process.intProducer,
0027                      process.intProducerBeginProcessBlock,
0028                      process.intProducerEndProcessBlock )
0029 
0030 process.e = cms.EndPath(process.out, process.t)