import FWCore.ParameterSet.Config as cms # link to card: # https://github.com/cms-sw/genproductions/tree/master/bin/Powheg/production/2017/13TeV/Higgs/VBF_H_NNPDF31_13TeV externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/UL/13TeV/powheg/V2/VBF_H_slc7_amd64_gcc820_CMSSW_10_6_20_VBF_H_NNPDF31_13TeV_M120/v1/VBF_H_slc7_amd64_gcc820_CMSSW_10_6_20_VBF_H_NNPDF31_13TeV_M120.tgz'), nEvents = cms.untracked.uint32(5), numberOfParameters = cms.uint32(1), outputFile = cms.string('cmsgrid_final.lhe'), scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh') ) from Configuration.Generator.Herwig7Settings.Herwig7LHECommonSettings_cfi import * from Configuration.Generator.Herwig7Settings.Herwig7StableParticlesForDetector_cfi import * from Configuration.Generator.Herwig7Settings.Herwig7CH3TuneSettings_cfi import * from Configuration.Generator.Herwig7Settings.Herwig7LHEPowhegSettings_cfi import * from Configuration.Generator.Herwig7Settings.Herwig7PSWeightsSettings_cfi import * from Configuration.Generator.Herwig7Settings.Herwig7_7p1SettingsFor7p2_cfi import * generator = cms.EDFilter("Herwig7GeneratorFilter", herwig7LHECommonSettingsBlock, herwig7LHEPowhegSettingsBlock, herwig7StableParticlesForDetectorBlock, herwig7PSWeightsSettingsBlock, herwig7CH3SettingsBlock, herwig7p1SettingsFor7p2Block, configFiles = cms.vstring(), crossSection = cms.untracked.double(1.0), dataLocation = cms.string('${HERWIGPATH:-6}'), eventHandlers = cms.string('/Herwig/EventHandlers'), filterEfficiency = cms.untracked.double(1.0), generatorModule = cms.string('/Herwig/Generators/EventGenerator'), hw_user_settings = cms.vstring( 'cd /Herwig/EventHandlers', 'create Herwig::BranchingRatioReweighter /Herwig/Generators/BRReweighter', 'insert /Herwig/Generators/EventGenerator:EventHandler:PostHadronizationHandlers 0 /Herwig/Generators/BRReweighter', 'cd /', 'set /Herwig/Particles/h0:NominalMass 120.0', 'decaymode /Herwig/Particles/h0->e+,mu-; 0.1 1 /Herwig/Decays/Mambo', 'decaymode /Herwig/Particles/h0->e-,mu+; 0.1 1 /Herwig/Decays/Mambo' ), parameterSets = cms.vstring( 'hw_lhe_common_settings', 'hw_lhe_powheg_settings', 'herwig7CH3PDF', 'herwig7CH3AlphaS', 'herwig7CH3MPISettings', 'herwig7StableParticlesForDetector', 'hw_PSWeights_settings', 'hw_user_settings', 'hw_7p1SettingsFor7p2', 'emudecay' ), emudecay = cms.vstring( 'do /Herwig/Particles/h0:SelectDecayModes h0->mu-,e+;', 'do /Herwig/Particles/h0:SelectDecayModes h0->mu+,e-;' ), repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'), run = cms.string('InterfaceMatchboxTest'), runModeList = cms.untracked.string('read,run'), )