Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import FWCore.ParameterSet.Config as cms

process = cms.Process("TESTPROD")
process.maxEvents.input = 3

process.source = cms.Source("EmptySource")

process.intProduct = cms.EDProducer("IntProducer", ivalue = cms.int32(42))

process.output = cms.OutputModule("PoolOutputModule",
    fileName = cms.untracked.string('getbylabel_step1.root')
)

process.p = cms.Path(process.intProduct)
process.ep = cms.EndPath(process.output)