CMS 3D CMS Logo

Herwig7_loadCommonSettings_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/powheg/V2/TT_hvq/TT_hdamp_NNPDF31_NNLO_inclusive.tgz'),
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 
16 
17 generator = cms.EDFilter("Herwig7GeneratorFilter",
18  herwig7LHECommonSettingsBlock,
19  herwig7LHEPowhegSettingsBlock,
20  herwig7StableParticlesForDetectorBlock,
21  herwig7PSWeightsSettingsBlock,
22  herwig7CH3SettingsBlock,
23  configFiles = cms.vstring(),
24  crossSection = cms.untracked.double(-1),
25  dataLocation = cms.string('${HERWIGPATH:-6}'),
26  eventHandlers = cms.string('/Herwig/EventHandlers'),
27  filterEfficiency = cms.untracked.double(1.0),
28  generatorModule = cms.string('/Herwig/Generators/EventGenerator'),
29  hw_user_settings = cms.vstring(
30  'cd /Herwig/EventHandlers',
31  'set EventHandler:LuminosityFunction:Energy 13000*GeV',
32  'cd /',
33  'set /Herwig/Particles/h0:NominalMass 125.0'
34  ),
35  parameterSets = cms.vstring(
36  'hw_lhe_common_settings',
37  'hw_lhe_Powheg_settings',
38  'herwig7CH3PDF',
39  'herwig7CH3AlphaS',
40  'herwig7CH3MPISettings',
41  'herwig7StableParticlesForDetector',
42  'hw_PSWeights_settings',
43  'hw_user_settings'
44  ),
45  repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'),
46  run = cms.string('InterfaceMatchboxTest'),
47  runModeList = cms.untracked.string('read,run'),
48 )