File indexing completed on 2024-04-06 12:13:16
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("LHE")
0005
0006 process.source = cms.Source("AlpgenSource",
0007 fileNames = cms.untracked.vstring('file:w2j')
0008 )
0009
0010 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(100))
0011
0012 process.load("FWCore.MessageService.MessageLogger_cfi")
0013
0014 process.writer = cms.EDAnalyzer("LHEWriter")
0015
0016 process.load("Configuration.EventContent.EventContent_cff")
0017
0018 process.LHE = cms.OutputModule("PoolOutputModule",
0019 process.FEVTSIMEventContent,
0020 fileName = cms.untracked.string('testSource.root')
0021 )
0022
0023 process.outpath = cms.EndPath(process.writer + process.LHE)