import FWCore.ParameterSet.Config as cms externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/2017/13TeV/phantom/VBFToContinToZZTo2mu2nutJJ_13TeV_phantom_pythia8/v1/VBFToContinToZZTo2mu2nutJJ_13TeV_phantom_pythia8.tar.xz'), 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/59eab4505ac61b2fcd677d82c15aa8d6d0ced28f/bin/Phantom/cards/production/13TeV/HZZ_VBFoffshell_Phantom/VBF_ZZcont_NNPDF31_13TeV_mumu_vtvt_.py 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 = {}'.format(1/2**.5), 'TimeShower:pTmaxFudge = {}'.format(1/2**.5), 'SpaceShower:dipoleRecoil = on', ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CP5Settings', 'pythia8PSweightsSettings', 'processParameters', ) ) ) # Link to generator fragment: # https://raw.githubusercontent.com/cms-sw/genproductions/101b9cce48742765790db48e6d24d76e6bf2edf1/python/ThirteenTeV/Hadronizer/Hadronizer_TuneCP5_13TeV_pTmaxMatch_1_pTmaxFudge_oneoversqrt2_LHE_pythia8_cff.py