Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #!/usr/bin/env cmsRun
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("Writer")
0005 
0006 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0007 
0008 process.source = cms.Source("PoolSource",
0009     fileNames = cms.untracked.vstring('file:lhe.root')
0010 )
0011 
0012 process.load("FWCore.MessageService.MessageLogger_cfi")
0013 process.MessageLogger.cerr.threshold = 'INFO'
0014 
0015 process.writer = cms.EDAnalyzer("LHEWriter")
0016 
0017 process.outpath = cms.EndPath(process.writer)