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")

import FWCore.Framework.test.cmsExceptionsFatalOption_cff
process.options = cms.untracked.PSet(
  wantSummary = cms.untracked.bool(True),
  Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
)

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

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

process.aux = cms.EDProducer("EventAuxiliaryHistoryProducer",
    historyDepth = cms.uint32(5)
)


process.out = cms.OutputModule("PoolOutputModule",
    fileName = cms.untracked.string('test.root')
)


process.p1 = cms.Path(process.aux)

process.e1 = cms.EndPath(process.out)