Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
import FWCore.ParameterSet.Config as cms

process = cms.Process("TEST")

process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")

# The following two lines reduce the clutter of repeated printouts
# of the same exception message.
process.load("FWCore.MessageLogger.MessageLogger_cfi")

process.MessageLogger.cerr.enableStatistics = False


process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(2)
)
process.source = cms.Source("EmptySource")

process.ints = cms.EDProducer("IntProducer",
    ivalue = cms.int32(2112)
)

process.maker = cms.EDProducer("ProdigalProducer",
    label = cms.string('ints')
)

process.analyzer = cms.EDAnalyzer("ProdigalAnalyzer")

process.p = cms.Path(process.ints * process.maker * process.analyzer)