CMS 3D CMS Logo

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 LesHouchesHandler:EventNumbering LHE',
18  'set /Herwig/Generators/EventGenerator:EventHandler /Herwig/EventHandlers/LesHouchesHandler',
19  'create ThePEG::Cuts /Herwig/Cuts/NoCuts',
20  'cd /Herwig/EventHandlers',
21  'create Herwig::FxFxFileReader FxFxLHReader',
22  'insert LesHouchesHandler:FxFxReaders[0] FxFxLHReader',
23  'cd /Herwig/Shower',
24  'library HwFxFxHandler.so',
25  'create Herwig::FxFxHandler FxFxHandler',
26  'set /Herwig/Shower/FxFxHandler:SplittingGenerator /Herwig/Shower/SplittingGenerator',
27  'set /Herwig/Shower/FxFxHandler:KinematicsReconstructor /Herwig/Shower/KinematicsReconstructor',
28  'set /Herwig/Shower/FxFxHandler:PartnerFinder /Herwig/Shower/PartnerFinder',
29  'set /Herwig/EventHandlers/LesHouchesHandler:CascadeHandler /Herwig/Shower/FxFxHandler',
30  'set /Herwig/Partons/PDFSet_nnlo:PDFName NNPDF31_nnlo_as_0118',
31  'set /Herwig/Partons/RemnantDecayer:AllowTop Yes',
32  'set /Herwig/Partons/PDFSet_nnlo:RemnantHandler /Herwig/Partons/HadronRemnants',
33  'set /Herwig/Particles/p+:PDF /Herwig/Partons/PDFSet_nnlo',
34  'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/PDFSet_nnlo',
35  'set /Herwig/Partons/PPExtractor:FirstPDF /Herwig/Partons/PDFSet_nnlo',
36  'set /Herwig/Partons/PPExtractor:SecondPDF /Herwig/Partons/PDFSet_nnlo',
37  'set /Herwig/Shower/ShowerHandler:PDFA /Herwig/Partons/PDFSet_nnlo',
38  'set /Herwig/Shower/ShowerHandler:PDFB /Herwig/Partons/PDFSet_nnlo',
39  'set /Herwig/EventHandlers/FxFxLHReader:FileName cmsgrid_final.lhe',
40  'set /Herwig/EventHandlers/FxFxLHReader:WeightWarnings false',
41  'set /Herwig/EventHandlers/FxFxLHReader:AllowedToReOpen No',
42  'set /Herwig/EventHandlers/FxFxLHReader:InitPDFs 0',
43  'set /Herwig/EventHandlers/FxFxLHReader:Cuts /Herwig/Cuts/NoCuts',
44  'set /Herwig/EventHandlers/FxFxLHReader:MomentumTreatment RescaleEnergy',
45  'set /Herwig/EventHandlers/FxFxLHReader:PDFA /Herwig/Partons/PDFSet_nnlo',
46  'set /Herwig/EventHandlers/FxFxLHReader:PDFB /Herwig/Partons/PDFSet_nnlo',
47  'set /Herwig/Shower/ShowerHandler:MaxPtIsMuF Yes',
48  'set /Herwig/Shower/ShowerHandler:RestrictPhasespace Yes',
49  'set /Herwig/Shower/PartnerFinder:PartnerMethod Random',
50  'set /Herwig/Shower/PartnerFinder:ScaleChoice Partner',
51  'set /Herwig/Shower/KinematicsReconstructor:InitialInitialBoostOption LongTransBoost',
52  'set /Herwig/Shower/KinematicsReconstructor:ReconstructionOption General',
53  'set /Herwig/Shower/KinematicsReconstructor:InitialStateReconOption Rapidity',
54  'set /Herwig/Shower/ShowerHandler:SpinCorrelations Yes',
55  'cd /Herwig/Shower',
56  'set /Herwig/Shower/FxFxHandler:MPIHandler /Herwig/UnderlyingEvent/MPIHandler',
57  'set /Herwig/Shower/FxFxHandler:RemDecayer /Herwig/Partons/RemnantDecayer',
58  'set /Herwig/Shower/FxFxHandler:ShowerAlpha AlphaQCD',
59  'set FxFxHandler:HeavyQVeto Yes',
60  'set FxFxHandler:HardProcessDetection Automatic',
61  'set FxFxHandler:drjmin 0',
62  'cd /Herwig/Shower',
63  'set FxFxHandler:VetoIsTurnedOff VetoingIsOn',
64  'set FxFxHandler:ETClus 20*GeV', # Note this is the default, but this parameter should be tuned in future
65  'set FxFxHandler:RClus 1.0',
66  'set FxFxHandler:EtaClusMax 10',
67  'set FxFxHandler:RClusFactor 1.5',
68  )
69 )