1 import FWCore.ParameterSet.Config
as cms
3 herwig7LHECommonSettingsBlock = cms.PSet(
4 hw_lhe_common_settings = cms.vstring(
5 'read snippets/PPCollider.in',
6 'cd /Herwig/Generators',
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 'set LesHouchesHandler:WeightOption VarNegWeight',
15 'set LesHouchesHandler:Weighted On',
16 'set /Herwig/Generators/EventGenerator:EventHandler /Herwig/EventHandlers/LesHouchesHandler',
17 'create ThePEG::Cuts /Herwig/Cuts/NoCuts',
18 'create ThePEG::LHAPDF /Herwig/Partons/LHAPDF ThePEGLHAPDF.so',
19 'set /Herwig/Partons/LHAPDF:PDFName NNPDF31_nnlo_as_0118',
20 'set /Herwig/Partons/LHAPDF:RemnantHandler /Herwig/Partons/HadronRemnants',
21 'set /Herwig/Particles/p+:PDF /Herwig/Partons/LHAPDF',
22 'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/LHAPDF',
23 'set /Herwig/Partons/PPExtractor:FirstPDF /Herwig/Partons/LHAPDF',
24 'set /Herwig/Partons/PPExtractor:SecondPDF /Herwig/Partons/LHAPDF',
25 'create ThePEG::LesHouchesFileReader LesHouchesReader',
26 'set LesHouchesReader:FileName cmsgrid_final.lhe',
27 'set LesHouchesReader:AllowedToReOpen No',
28 'set LesHouchesReader:InitPDFs 0',
29 'set LesHouchesReader:Cuts /Herwig/Cuts/NoCuts',
30 'set LesHouchesReader:MomentumTreatment RescaleEnergy',
31 'set LesHouchesReader:PDFA /Herwig/Partons/LHAPDF',
32 'set LesHouchesReader:PDFB /Herwig/Partons/LHAPDF',
33 'insert LesHouchesHandler:LesHouchesReaders 0 LesHouchesReader'