import FWCore.ParameterSet.Config as cms externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/UL/13TeV/slc7_amd64_gcc820/JHUGen/gammaHiggs0MyyTobb_M125_13TeV_JHUGenV750_pythia8_slc7_amd64_gcc820_CMSSW_10_6_0.tgz'), nEvents = cms.untracked.uint32(5000), numberOfParameters = cms.uint32(1), generateConcurrently = cms.untracked.bool(True), outputFile = cms.string('cmsgrid_final.lhe'), scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh') ) # Link to cards: # https://github.com/cms-sw/genproductions/blob/master/bin/JHUGen/cards/2017/13TeV/anomalouscouplings/gammaH_NNPDF31_13TeV/fa3AA_1.input import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5Settings_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, pythia8CP5SettingsBlock, pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'SpaceShower:pTmaxMatch = 1', 'TimeShower:pTmaxMatch = 1', 'SpaceShower:pTmaxFudge = .5', 'TimeShower:pTmaxFudge = .5', '25:m0 = 125.0', '25:onMode = off', #Turn off every Higgs Decay '25:onIfAny = 5 5', # Force decays to bb only ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CP5Settings', '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_1p_LHE_pythia8_cff.py