Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("convertLHE2HepMC")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(-1)
0008 )
0009 process.source = cms.Source("PoolSource",
0010     fileNames = cms.untracked.vstring('file:gen.root')
0011 )
0012 
0013 process.load("GeneratorInterface.LHEInterface.lhe2HepMCConverter_cfi")
0014 
0015 process.out = cms.OutputModule("PoolOutputModule",
0016     splitLevel = cms.untracked.int32(0),
0017     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0018     fileName = cms.untracked.string('out.root'),
0019     outputCommands = cms.untracked.vstring('drop *','keep *_lhe2HepMCConverter_*_*'),
0020     dataset = cms.untracked.PSet(
0021         filterName = cms.untracked.string('p'),
0022         dataTier = cms.untracked.string('GEN')
0023     )
0024 )
0025 
0026 
0027 process.p = cms.Path(process.lhe2HepMCConverter)
0028 process.e = cms.EndPath(process.out)