CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Herwig7MGMergingSettings_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Settings from $HERWIGPATH/LHE-MGMerging.in, including reading in the LHE file- do not use this together with Herwig7LHECommonSettings
4 # User needs to include the following lines in their user settings block:
5 # 'set FxFxHandler:MergeMode TreeMG5' (for mlm merging) OR 'set FxFxHandler:MergeMode FxFx' (for FxFx merging)
6 # 'set FxFxHandler:njetsmax MAXIMUM_NUMBER_OF_PARTONS_IN_LHE_FILE'
7 
8 herwig7MGMergingSettingsBlock = cms.PSet(
9  hw_mg_merging_settings = cms.vstring(
10  'cd /Herwig/EventHandlers',
11  'library HwFxFx.so',
12  'create Herwig::FxFxEventHandler LesHouchesHandler',
13  'set LesHouchesHandler:PartonExtractor /Herwig/Partons/PPExtractor',
14  'set LesHouchesHandler:HadronizationHandler /Herwig/Hadronization/ClusterHadHandler',
15  'set LesHouchesHandler:DecayHandler /Herwig/Decays/DecayHandler',
16  'set LesHouchesHandler:WeightOption VarNegWeight',
17  'set /Herwig/Generators/EventGenerator:EventHandler /Herwig/EventHandlers/LesHouchesHandler',
18  'create ThePEG::Cuts /Herwig/Cuts/NoCuts',
19  'cd /Herwig/EventHandlers',
20  'create Herwig::FxFxFileReader FxFxLHReader',
21  'insert LesHouchesHandler:FxFxReaders[0] FxFxLHReader',
22  'cd /Herwig/Shower',
23  'library HwFxFxHandler.so',
24  'create Herwig::FxFxHandler FxFxHandler',
25  'set /Herwig/Shower/FxFxHandler:SplittingGenerator /Herwig/Shower/SplittingGenerator',
26  'set /Herwig/Shower/FxFxHandler:KinematicsReconstructor /Herwig/Shower/KinematicsReconstructor',
27  'set /Herwig/Shower/FxFxHandler:PartnerFinder /Herwig/Shower/PartnerFinder',
28  'set /Herwig/EventHandlers/LesHouchesHandler:CascadeHandler /Herwig/Shower/FxFxHandler',
29  'set /Herwig/Partons/PDFSet_nnlo:PDFName NNPDF31_nnlo_as_0118',
30  'set /Herwig/Partons/RemnantDecayer:AllowTop Yes',
31  'set /Herwig/Partons/PDFSet_nnlo:RemnantHandler /Herwig/Partons/HadronRemnants',
32  'set /Herwig/Particles/p+:PDF /Herwig/Partons/PDFSet_nnlo',
33  'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/PDFSet_nnlo',
34  'set /Herwig/Partons/PPExtractor:FirstPDF /Herwig/Partons/PDFSet_nnlo',
35  'set /Herwig/Partons/PPExtractor:SecondPDF /Herwig/Partons/PDFSet_nnlo',
36  'set /Herwig/Shower/ShowerHandler:PDFA /Herwig/Partons/PDFSet_nnlo',
37  'set /Herwig/Shower/ShowerHandler:PDFB /Herwig/Partons/PDFSet_nnlo',
38  'set /Herwig/EventHandlers/FxFxLHReader:FileName cmsgrid_final.lhe',
39  'set /Herwig/EventHandlers/FxFxLHReader:WeightWarnings false',
40  'set /Herwig/EventHandlers/FxFxLHReader:AllowedToReOpen No',
41  'set /Herwig/EventHandlers/FxFxLHReader:InitPDFs 0',
42  'set /Herwig/EventHandlers/FxFxLHReader:Cuts /Herwig/Cuts/NoCuts',
43  'set /Herwig/EventHandlers/FxFxLHReader:MomentumTreatment RescaleEnergy',
44  'set /Herwig/EventHandlers/FxFxLHReader:PDFA /Herwig/Partons/PDFSet_nnlo',
45  'set /Herwig/EventHandlers/FxFxLHReader:PDFB /Herwig/Partons/PDFSet_nnlo',
46  'set /Herwig/Shower/ShowerHandler:MaxPtIsMuF Yes',
47  'set /Herwig/Shower/ShowerHandler:RestrictPhasespace Yes',
48  'set /Herwig/Shower/PartnerFinder:PartnerMethod Random',
49  'set /Herwig/Shower/PartnerFinder:ScaleChoice Partner',
50  'set /Herwig/Shower/KinematicsReconstructor:InitialInitialBoostOption LongTransBoost',
51  'set /Herwig/Shower/KinematicsReconstructor:ReconstructionOption General',
52  'set /Herwig/Shower/KinematicsReconstructor:InitialStateReconOption Rapidity',
53  'set /Herwig/Shower/ShowerHandler:SpinCorrelations Yes',
54  'cd /Herwig/Shower',
55  'set /Herwig/Shower/FxFxHandler:MPIHandler /Herwig/UnderlyingEvent/MPIHandler',
56  'set /Herwig/Shower/FxFxHandler:RemDecayer /Herwig/Partons/RemnantDecayer',
57  'set /Herwig/Shower/FxFxHandler:ShowerAlpha AlphaQCD',
58  'set FxFxHandler:HeavyQVeto Yes',
59  'set FxFxHandler:HardProcessDetection Automatic',
60  'set FxFxHandler:drjmin 0',
61  'cd /Herwig/Shower',
62  'set FxFxHandler:VetoIsTurnedOff VetoingIsOn',
63  'set FxFxHandler:ETClus 20*GeV', # Note this is the default, but this parameter should be tuned in future
64  'set FxFxHandler:RClus 1.0',
65  'set FxFxHandler:EtaClusMax 10',
66  'set FxFxHandler:RClusFactor 1.5',
67  )
68 )