CMS 3D CMS Logo

Herwig7_loadCommonMergingSettings_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 externalLHEProducer = cms.EDProducer("ExternalLHEProducer",
4  args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/2017/13TeV/madgraph/V5_2.4.2/DYJetsToQQ_HT180toInf/v1/DYJetsToQQ_HT180toInf_slc6_amd64_gcc481_CMSSW_7_1_30_tarball.tar.xz'),
5  nEvents = cms.untracked.uint32(5000),
6  numberOfParameters = cms.uint32(1),
7  outputFile = cms.string('cmsgrid_final.lhe'),
8  scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh')
9 )
10 
14 
15 generator = cms.EDFilter("Herwig7GeneratorFilter",
16  herwig7CommonMergingSettingsBlock,
17  herwig7StableParticlesForDetectorBlock,
18  herwig7CH3SettingsBlock,
19  configFiles = cms.vstring(),
20  crossSection = cms.untracked.double(-1),
21  dataLocation = cms.string('${HERWIGPATH:-6}'),
22  eventHandlers = cms.string('/Herwig/EventHandlers'),
23  filterEfficiency = cms.untracked.double(1.0),
24  generatorModule = cms.string('/Herwig/Generators/EventGenerator'),
25  hw_user_settings = cms.vstring(
26  'cd /Herwig/EventHandlers',
27  'set EventHandler:LuminosityFunction:Energy 13000*GeV',
28  'cd /',
29  'set /Herwig/Particles/h0:NominalMass 125.0',
30  'set /Herwig/Shower/FxFxHandler:njetsmax 4',
31  'set /Herwig/Shower/FxFxHandler:RClus 1.0',
32  'set /Herwig/Shower/FxFxHandler:ETClus 20*GeV'
33  ),
34  parameterSets = cms.vstring(
35  'hw_common_merging_settings',
36  'herwig7CH3PDF',
37  'herwig7CH3AlphaS',
38  'herwig7CH3MPISettings',
39  'herwig7StableParticlesForDetector',
40  'hw_user_settings'
41  ),
42  repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'),
43  run = cms.string('Merging'),
44  runModeList = cms.untracked.string('read,run'),
45 )