File indexing completed on 2021-02-14 13:07:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TQAF")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006
0007 from TopQuarkAnalysis.TopEventProducers.tqafInputFiles_cff import relValTTbar
0008 process.source = cms.Source("PoolSource",
0009 fileNames = cms.untracked.vstring(
0010
0011 '/store/relval/CMSSW_11_0_0/RelValTTbar_14TeV/GEN-SIM/110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/22BAADDB-EE84-794F-9A5D-812F341D8075.root'
0012 )
0013 )
0014
0015
0016 process.maxEvents = cms.untracked.PSet(
0017 input = cms.untracked.int32(100)
0018 )
0019
0020 process.options = cms.untracked.PSet(
0021 allowUnscheduled = cms.untracked.bool(True),
0022 wantSummary = cms.untracked.bool(True)
0023 )
0024
0025 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0026 process.load("GeneratorInterface.RivetInterface.genParticles2HepMC_cfi")
0027 process.load("GeneratorInterface.RivetInterface.particleLevel_cfi")
0028
0029 process.path = cms.Path(process.genParticles2HepMC*process.particleLevel)
0030
0031 process.out = cms.OutputModule("PoolOutputModule",
0032 fileName = cms.untracked.string("particleLevel.root"),
0033 outputCommands = cms.untracked.vstring(
0034 "drop *",
0035 "keep *_genParticles_*_*",
0036 "keep *_particleLevel_*_*",
0037 ),
0038 )
0039 process.outPath = cms.EndPath(process.out)