Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:21

0001 #!/usr/bin/env cmsRun
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("LHE")
0005 
0006 process.source = cms.Source("LHESource",
0007     fileNames = cms.untracked.vstring('file:ttbar.lhe')
0008 )
0009 
0010 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0011 
0012 process.configurationMetadata = cms.untracked.PSet(
0013     version = cms.untracked.string('alpha'),
0014     name = cms.untracked.string('LHEF input'),
0015     annotation = cms.untracked.string('ttbar')
0016 )
0017 
0018 process.load("FWCore.MessageService.MessageLogger_cfi")
0019 #process.MessageLogger.cerr.threshold = 'INFO'
0020 process.MessageLogger.cout = cms.untracked.PSet( threshold = cms.untracked.string('INFO') )
0021 
0022 process.LHE = cms.OutputModule("PoolOutputModule",
0023     dataset = cms.untracked.PSet(dataTier = cms.untracked.string('LHE')),
0024     fileName = cms.untracked.string('lhe.root')
0025 )
0026 
0027 #process.lhedump = cms.EDAnalyzer("DummyLHEAnalyzer",
0028 #                                 src = cms.InputTag("source")
0029 #                                 )
0030 
0031 
0032 process.outpath = cms.EndPath(process.LHE)