import FWCore.ParameterSet.Config as cms externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/2018/13TeV/powheg/V2/HWJ_ZZ_NNPDF31_13TeV/HWplusJ_HanythingJ_ZZ2l2nu_NNPDF31_13TeV_M600/v2/HWplusJ_HanythingJ_ZZ2l2nu_NNPDF31_13TeV_M600.tgz'), nEvents = cms.untracked.uint32(5000), numberOfParameters = cms.uint32(1), outputFile = cms.string('cmsgrid_final.lhe'), scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh') ) # Link to cards: # https://raw.githubusercontent.com/cms-sw/genproductions/fd7d34a91c3160348fd0446ded445fa28f555e09/bin/Powheg/production/2017/13TeV/Higgs/HWJ_ZZ_NNPDF31_13TeV/makecards.py # HWplusJ_HanythingJ_ZZ_NNPDF31_13TeV_M600.input # https://raw.githubusercontent.com/cms-sw/genproductions/519d5ac6ce4fa6c1d4e3b9d451dcb146b83a2785/bin/JHUGen/cards/decay/v7.3.5/2017/ZZ2l2nu_withtaus_reweightdecay_CPS.input import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * generator = cms.EDFilter("Pythia8HadronizerFilter", maxEventsToPrint = cms.untracked.int32(1), pythiaPylistVerbosity = cms.untracked.int32(1), filterEfficiency = cms.untracked.double(1.0), pythiaHepMCVerbosity = cms.untracked.bool(False), comEnergy = cms.double(13000.), PythiaParameters = cms.PSet( pythia8CommonSettingsBlock, pythia8CP5SettingsBlock, pythia8PowhegEmissionVetoSettingsBlock, pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'POWHEG:nFinal = 3', ## Number of final state particles ## (BEFORE THE DECAYS) in the LHE ## other than emitted extra parton ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CP5Settings', 'pythia8PowhegEmissionVetoSettings', 'pythia8PSweightsSettings', 'processParameters' ) ) ) ProductionFilterSequence = cms.Sequence(generator) # Link to generator fragment: # https://raw.githubusercontent.com/cms-sw/genproductions/7d0525c9f6633a9ee00d4e79162d82e369250ccc/python/ThirteenTeV/Hadronizer/Hadronizer_TuneCP5_13TeV_powhegEmissionVeto_3p_LHE_pythia8_cff.py