import FWCore.ParameterSet.Config as cms externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/UL/13TeV/powheg/V2/HJJ_HToZZTo2L2Nu_M125_13TeV/v1/HJJ_HToZZTo2L2Nu_M125_13TeV.tgz'), nEvents = cms.untracked.uint32(5000), numberOfParameters = cms.uint32(1), outputFile = cms.string('cmsgrid_final.lhe'), generateConcurrently = cms.untracked.bool(True), postGenerationCommand = cms.untracked.vstring('mergeLHE.py', '-i', 'thread*/cmsgrid_final.lhe', '-o', 'cmsgrid_final.lhe'), scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh') ) # Link to cards: # https://raw.githubusercontent.com/cms-sw/genproductions/69575e98a651b531cb2fb86415f532f44313d9a2/bin/Powheg/production/2017/13TeV/Higgs/HJJ_NNPDF31_13TeV/HJJ_NNPDF31_13TeV_M125.input # https://raw.githubusercontent.com/cms-sw/genproductions/69575e98a651b531cb2fb86415f532f44313d9a2/bin/JHUGen/cards/decay/v7.3.5/2017/ZZ2l2nu_notaus.input import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5TuneDownSettings_cfi import * from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", 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, pythia8CP5TuneDownSettingsBlock, 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', 'pythia8CP5TuneDownSettings', 'pythia8PowhegEmissionVetoSettings', 'pythia8PSweightsSettings', 'processParameters' ) ) ) ProductionFilterSequence = cms.Sequence(generator) # Link to generator fragment: # https://raw.githubusercontent.com/cms-sw/genproductions/69575e98a651b531cb2fb86415f532f44313d9a2/python/ThirteenTeV/Hadronizer/Hadronizer_TuneCP5Down_13TeV_powhegEmissionVeto_3p_LHE_pythia8_cff.py