import FWCore.ParameterSet.Config as cms externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/2017/13TeV/jhugen/V727/ggZH_ZZ_NNPDF31_13TeV/GluGluToZHiggs0L1f05ph0ToZZ_4LFilter_M125_13TeV_JHUGenV727_pythia8/v2/GluGluToZHiggs0L1f05ph0ToZZ_4LFilter_M125_13TeV_JHUGenV727_pythia8.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/f1aed113172ee2e33f1ed2e8c4a52df8356619f7/bin/JHUGen/cards/2017/13TeV/anomalouscouplings/ggZH_NNPDF31_13TeV/L1mix.input # https://raw.githubusercontent.com/cms-sw/genproductions/f1aed113172ee2e33f1ed2e8c4a52df8356619f7/bin/JHUGen/cards/decay/anomalouscouplings/ZZ2l2any_withtaus_filter4l_L1mixforggZH.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("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, pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'SpaceShower:pTmaxMatch = 1', 'TimeShower:pTmaxMatch = 1', 'SpaceShower:pTmaxFudge = .5', 'TimeShower:pTmaxFudge = .5', ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CP5Settings', 'pythia8PSweightsSettings', 'processParameters', ) ) ) # Link to generator fragment: # https://raw.githubusercontent.com/cms-sw/genproductions/f1aed113172ee2e33f1ed2e8c4a52df8356619f7/python/ThirteenTeV/Hadronizer/Hadronizer_TuneCP5_13TeV_pTmaxMatch_1_pTmaxFudge_half_LHE_pythia8_cff.py