Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-03 04:17:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("runRivetAnalysis")
0004 
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(10000)
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(-1)
0010 )
0011 
0012 from TopQuarkAnalysis.TopEventProducers.tqafInputFiles_cff import relValTTbar
0013 process.source = cms.Source("PoolSource",
0014     fileNames = cms.untracked.vstring(relValTTbar)
0015 )
0016 
0017 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0018 process.load("GeneratorInterface.RivetInterface.genParticles2HepMC_cfi")
0019 process.load("GeneratorInterface.RivetInterface.rivetAnalyzer_cfi")
0020 
0021 process.rivetAnalyzer.AnalysisNames = cms.vstring('MC_GENERIC', 'CMS_2013_I1224539')
0022 process.rivetAnalyzer.HepMCCollection = 'genParticles2HepMC:unsmeared'
0023 
0024 process.p = cms.Path(process.genParticles2HepMC*process.rivetAnalyzer)
0025 
0026