import FWCore.ParameterSet.Config as cms externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/UL/13TeV/madgraph/V5_2.6.5/VLLVLLToATauATau/VLLs2LLPs_MVLL_600_MA_2_slc7_amd64_gcc700_CMSSW_10_6_19_tarball.tar.xz'), nEvents = cms.untracked.uint32(5000), numberOfParameters = cms.uint32(1), outputFile = cms.string('cmsgrid_final.lhe'), generateConcurrently = cms.untracked.bool(False), scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh') ) 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", comEnergy = cms.double(13000.), maxEventsToPrint = cms.untracked.int32(1), pythiaPylistVerbosity = cms.untracked.int32(1), filterEfficiency = cms.untracked.double(1.0), pythiaHepMCVerbosity = cms.untracked.bool(False), PythiaParameters = cms.PSet( pythia8CommonSettingsBlock, pythia8CP5SettingsBlock, pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'SLHA:allowUserOverride = true', 'ParticleDecays:limitTau0 = on', 'ParticleDecays:allowPhotonRadiation = on', 'ParticleDecays:tau0Max = 100000.0', 'LesHouches:setLifetime = 2', '5000001:all = atau void 0 0 0 2 5.63791E-15 0 0 35', '5000001:oneChannel = 1 1.0 101 22 22', '5000001:mayDecay = on', '5000001:isResonance = on', '5000001:onMode = off', '5000001:onIfAny = 22' ), parameterSets = cms.vstring( 'pythia8CommonSettings', 'pythia8CP5Settings', 'pythia8PSweightsSettings', 'processParameters' ) ) ) ProductionFilterSequence = cms.Sequence(generator) # Link to generator fragment: # genFragments/Hadronizer/13TeV/VLLVLLToATauATau/VLLVLLToATauATau_MVLL_600_MA_2_CTAU_35_TuneCP5_13TeV-madgraph-pythia8_cfg.py