From 7ac585f61b333443243b2231245b41101edd0464 Mon Sep 17 00:00:00 2001 From: Efe Date: Fri, 12 Jan 2024 17:09:56 +0100 Subject: [PATCH] test prepid --- bin/utils/SUS-RunIISummer20UL16wmLHEGEN-00768 | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 bin/utils/SUS-RunIISummer20UL16wmLHEGEN-00768 diff --git a/bin/utils/SUS-RunIISummer20UL16wmLHEGEN-00768 b/bin/utils/SUS-RunIISummer20UL16wmLHEGEN-00768 new file mode 100644 index 000000000000..03777a2d84fd --- /dev/null +++ b/bin/utils/SUS-RunIISummer20UL16wmLHEGEN-00768 @@ -0,0 +1,61 @@ +import FWCore.ParameterSet.Config as cms + + +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_M110/v1/VBF_H_slc7_amd64_gcc820_CMSSW_10_6_20_VBF_H_M110.tgz'), + nEvents = cms.untracked.uint32(5000), + numberOfParameters = cms.uint32(1), + outputFile = cms.string('cmsgrid_final.lhe'), + generateConcurrently = cms.untracked.bool(True), + postGenerationCommand = cms.untracked.vstring('mergeLHE.py', '-i', 'thread*/cmsgrid_final.lhe', '-o', '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.Herwig7_7p1SettingsFor7p2_cfi import * + + +generator = cms.EDFilter("Herwig7GeneratorFilter", + herwig7LHECommonSettingsBlock, + herwig7LHEPowhegSettingsBlock, + herwig7StableParticlesForDetectorBlock, + 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 110.0', + 'decaymode /Herwig/Particles/h0->tau+,mu-; 0.1 1 /Herwig/Decays/Mambo', + 'decaymode /Herwig/Particles/h0->mu+, tau-; 0.1 1 /Herwig/Decays/Mambo' + ), + parameterSets = cms.vstring( + 'hw_lhe_common_settings', + 'hw_lhe_powheg_settings', + 'herwig7CH3PDF', + 'herwig7CH3AlphaS', + 'herwig7CH3MPISettings', + 'herwig7StableParticlesForDetector', + 'hw_user_settings', + 'hw_7p1SettingsFor7p2', + 'emudecay' + ), + emudecay = cms.vstring( + 'do /Herwig/Particles/h0:SelectDecayModes h0->mu-,tau+;', + 'do /Herwig/Particles/h0:SelectDecayModes h0->mu+,tau-;' + ), + repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'), + run = cms.string('HerwigConfig'), + runModeList = cms.untracked.string('read,run'), +) +