CMS 3D CMS Logo

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  'set LesHouchesHandler:EventNumbering LHE',
18 
19  'set /Herwig/Generators/EventGenerator:EventHandler /Herwig/EventHandlers/LesHouchesHandler',
20  'create ThePEG::Cuts /Herwig/Cuts/NoCuts',
21  'create ThePEG::LHAPDF /Herwig/Partons/LHAPDF ThePEGLHAPDF.so',
22  'set /Herwig/Partons/LHAPDF:PDFName NNPDF31_nnlo_as_0118',
23  'set /Herwig/Partons/LHAPDF:RemnantHandler /Herwig/Partons/HadronRemnants',
24  'set /Herwig/Particles/p+:PDF /Herwig/Partons/LHAPDF',
25  'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/LHAPDF',
26  'set /Herwig/Partons/PPExtractor:FirstPDF /Herwig/Partons/LHAPDF',
27  'set /Herwig/Partons/PPExtractor:SecondPDF /Herwig/Partons/LHAPDF',
28  'create ThePEG::LesHouchesFileReader LesHouchesReader',
29  'set LesHouchesReader:FileName cmsgrid_final.lhe',
30  'set LesHouchesReader:AllowedToReOpen No',
31  'set LesHouchesReader:InitPDFs 0',
32  'set LesHouchesReader:Cuts /Herwig/Cuts/NoCuts',
33  'set LesHouchesReader:MomentumTreatment RescaleEnergy',
34  'set LesHouchesReader:PDFA /Herwig/Partons/LHAPDF',
35  'set LesHouchesReader:PDFB /Herwig/Partons/LHAPDF',
36  'insert LesHouchesHandler:LesHouchesReaders 0 LesHouchesReader',
37  'set /Herwig/Shower/ShowerHandler:MaxPtIsMuF Yes',
38  'set /Herwig/Shower/ShowerHandler:RestrictPhasespace Yes',
39  'set /Herwig/Shower/PartnerFinder:PartnerMethod Random',
40  'set /Herwig/Shower/PartnerFinder:ScaleChoice Partner'
41  )
42 )