Line Code
1 2 3 4 5 6 7 8 9 10 11 12
import FWCore.ParameterSet.Config as cms
process = cms.Process("TEST")

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

process.add_(cms.Service("CPU"))

process.thing = cms.EDProducer("ThingProducer")

process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))

process.p = cms.Path(process.thing)