File indexing completed on 2024-04-06 12:14:12
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TQAF")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006
0007 process.source = cms.Source("PoolSource",
0008 fileNames = cms.untracked.vstring(
0009
0010 '/store/mc/RunIISummer20UL18MiniAODv2/TTTo2L2Nu_TuneCP5_13TeV-powheg-pythia8/MINIAODSIM/106X_upgrade2018_realistic_v16_L1v1-v1/00000/04A0B676-D63A-6D41-B47F-F4CF8CBE7DB8.root'
0011 )
0012 )
0013
0014
0015 process.maxEvents = cms.untracked.PSet(
0016 input = cms.untracked.int32(100)
0017 )
0018
0019 process.options = cms.untracked.PSet(
0020 allowUnscheduled = cms.untracked.bool(True),
0021 wantSummary = cms.untracked.bool(True)
0022 )
0023
0024 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0025 process.load("GeneratorInterface.RivetInterface.mergedGenParticles_cfi")
0026 process.load("GeneratorInterface.RivetInterface.genParticles2HepMC_cfi")
0027 process.load("GeneratorInterface.RivetInterface.particleLevel_cfi")
0028 process.genParticles2HepMC.genParticles = cms.InputTag("mergedGenParticles")
0029 process.particleLevel.src = cms.InputTag("genParticles2HepMC:unsmeared")
0030
0031 process.path = cms.Path(process.mergedGenParticles*process.genParticles2HepMC*process.particleLevel)
0032
0033 process.out = cms.OutputModule("PoolOutputModule",
0034 fileName = cms.untracked.string("particleLevel.root"),
0035 outputCommands = cms.untracked.vstring(
0036 "drop *",
0037 "keep *_genParticles_*_*",
0038 "keep *_particleLevel_*_*",
0039 ),
0040 )
0041 process.outPath = cms.EndPath(process.out)