CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Herwig7LHECommonSettings_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Settings from $HERWIGPATH/LHE.in
4 
5 herwig7LHECommonSettingsBlock = cms.PSet(
6  hw_lhe_common_settings = cms.vstring(
7  'cd /Herwig/EventHandlers',
8  'library LesHouches.so',
9  'create ThePEG::LesHouchesEventHandler LesHouchesHandler',
10  'set LesHouchesHandler:PartonExtractor /Herwig/Partons/PPExtractor',
11  'set LesHouchesHandler:CascadeHandler /Herwig/Shower/ShowerHandler',
12  'set LesHouchesHandler:DecayHandler /Herwig/Decays/DecayHandler',
13  'set LesHouchesHandler:HadronizationHandler /Herwig/Hadronization/ClusterHadHandler',
14 
15  # set the weight option (e.g. for MC@NLO)
16  'set LesHouchesHandler:WeightOption VarNegWeight',
17 
18  'set /Herwig/Generators/EventGenerator:EventHandler /Herwig/EventHandlers/LesHouchesHandler',
19  'create ThePEG::Cuts /Herwig/Cuts/NoCuts',
20  'create ThePEG::LHAPDF /Herwig/Partons/LHAPDF ThePEGLHAPDF.so',
21  'set /Herwig/Partons/LHAPDF:PDFName NNPDF31_nnlo_as_0118',
22  'set /Herwig/Partons/LHAPDF:RemnantHandler /Herwig/Partons/HadronRemnants',
23  'set /Herwig/Particles/p+:PDF /Herwig/Partons/LHAPDF',
24  'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/LHAPDF',
25  'set /Herwig/Partons/PPExtractor:FirstPDF /Herwig/Partons/LHAPDF',
26  'set /Herwig/Partons/PPExtractor:SecondPDF /Herwig/Partons/LHAPDF',
27  'create ThePEG::LesHouchesFileReader LesHouchesReader',
28  'set LesHouchesReader:FileName cmsgrid_final.lhe',
29  'set LesHouchesReader:AllowedToReOpen No',
30  'set LesHouchesReader:InitPDFs 0',
31  'set LesHouchesReader:Cuts /Herwig/Cuts/NoCuts',
32  'set LesHouchesReader:MomentumTreatment RescaleEnergy',
33  'set LesHouchesReader:PDFA /Herwig/Partons/LHAPDF',
34  'set LesHouchesReader:PDFB /Herwig/Partons/LHAPDF',
35  'insert LesHouchesHandler:LesHouchesReaders 0 LesHouchesReader',
36  'set /Herwig/Shower/ShowerHandler:MaxPtIsMuF Yes',
37  'set /Herwig/Shower/ShowerHandler:RestrictPhasespace Yes',
38  'set /Herwig/Shower/PartnerFinder:PartnerMethod Random',
39  'set /Herwig/Shower/PartnerFinder:ScaleChoice Partner'
40  )
41 )