1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("runRivetAnalysis")
process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(10000)
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(-1)
)
from TopQuarkAnalysis.TopEventProducers.tqafInputFiles_cff import relValTTbar
process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(relValTTbar)
)
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load("GeneratorInterface.RivetInterface.genParticles2HepMC_cfi")
process.load("GeneratorInterface.RivetInterface.rivetAnalyzer_cfi")
process.rivetAnalyzer.AnalysisNames = cms.vstring('MC_GENERIC', 'CMS_2013_I1224539')
process.rivetAnalyzer.HepMCCollection = 'genParticles2HepMC:unsmeared'
process.p = cms.Path(process.genParticles2HepMC*process.rivetAnalyzer)
|