diff --git a/Tests/Rivet/Templates/DIS-Matchbox.in b/Tests/Rivet/Templates/DIS-Matchbox.in
--- a/Tests/Rivet/Templates/DIS-Matchbox.in
+++ b/Tests/Rivet/Templates/DIS-Matchbox.in
@@ -1,55 +1,55 @@
 # -*- ThePEG-repository -*-
 #
 # DO NOT EDIT - autogenerated by make_input_files.py 
 #
 
 ##################################################
 ## Herwig/Matchbox example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 
 read snippets/Matchbox.in
 read snippets/EPCollider.in
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 ## Set the order of the couplings
 cd /Herwig/MatrixElements/Matchbox
 set Factory:OrderInAlphaS 0
 set Factory:OrderInAlphaEW 2
 set Factory:ScaleChoice /Herwig/MatrixElements/Matchbox/Scales/LeptonQ2Scale
 ${shower}
 ${bscheme}
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
 
 do /Herwig/MatrixElements/Matchbox/Factory:ProductionMode
 
 # switch off initial state QED radiation
 set /Herwig/Particles/e-:PDF /Herwig/Partons/NoPDF
 set /Herwig/Particles/e+:PDF /Herwig/Partons/NoPDF
 
 # create the Rivet analysis
 create ThePEG::RivetAnalysis /Herwig/Analysis/RivetAnalysis RivetAnalysis.so
 insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 /Herwig/Analysis/RivetAnalysis
 
 read ${parameterFile}
 
 ## Select the process
 cd /Herwig/MatrixElements/Matchbox
 ${process}
 
 cd /Herwig/Generators
 set EventGenerator:MaxErrors 1000000
 saverun ${runname} EventGenerator
diff --git a/Tests/Rivet/Templates/DIS-Merging.in b/Tests/Rivet/Templates/DIS-Merging.in
--- a/Tests/Rivet/Templates/DIS-Merging.in
+++ b/Tests/Rivet/Templates/DIS-Merging.in
@@ -1,65 +1,65 @@
 # -*- ThePEG-repository -*-
 #
 # DO NOT EDIT - autogenerated by make_input_files.py 
 #
 
 ##################################################
 ## Herwig/Matchbox example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 read snippets/DipoleMerging.in
 read snippets/EPCollider.in
 read snippets/MonacoSampler.in
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 ## Set the order of the couplings
 read Matchbox/MadGraph-OpenLoops.in
 
 set /Herwig/Merging/MergingFactory:OrderInAlphaS 0
 set /Herwig/Merging/MergingFactory:OrderInAlphaEW 2
 set /Herwig/Merging/MergingFactory:ScaleChoice /Herwig/MatrixElements/Matchbox/Scales/LeptonQ2Scale
 
 
 ##################################################
 ## PDF and AlphaS choice
 ##################################################
 read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
 set /Herwig/Couplings/NLOAlphaS:input_alpha_s  0.118
 read Merging/FactorCMWScheme.in
 
 
 
 # switch off initial state QED radiation
 set /Herwig/Particles/e-:PDF /Herwig/Partons/NoPDF
 set /Herwig/Particles/e+:PDF /Herwig/Partons/NoPDF
 
 # create the Rivet analysis
 create ThePEG::RivetAnalysis /Herwig/Analysis/RivetAnalysis RivetAnalysis.so
 insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 /Herwig/Analysis/RivetAnalysis
 
 read ${parameterFile}
 
 ## Select the process
 cd /Herwig/Merging/
 set Merger:MergingScale 10.*GeV
 ${process}
 
 do /Herwig/Merging/MergingFactory:ProductionMode
 
 cd /Herwig/Generators
 set EventGenerator:MaxErrors 1000000
 saverun ${runname} EventGenerator
diff --git a/Tests/Rivet/Templates/Hadron-Matchbox.in b/Tests/Rivet/Templates/Hadron-Matchbox.in
--- a/Tests/Rivet/Templates/Hadron-Matchbox.in
+++ b/Tests/Rivet/Templates/Hadron-Matchbox.in
@@ -1,50 +1,50 @@
 # -*- ThePEG-repository -*-
 #
 # DO NOT EDIT - autogenerated by make_input_files.py 
 #
 ##################################################
 ## Collider type
 ##################################################
 read snippets/Matchbox.in
 read snippets/PPCollider.in
 
 ##################################################
 ## Matrix element library selection
 ##################################################
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 ${nlo}
 ##################################################
 ## Matching and shower selection
 ## Please also see flavour scheme settings
 ## towards the end of the input file.
 ##################################################
 ${shower}
 ##################################################
 ## PDF choice
 ##################################################
 ${bscheme}
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
 ##################################################
 #  Create the Herwig analysis
 ##################################################
 create ThePEG::RivetAnalysis /Herwig/Analysis/RivetAnalysis RivetAnalysis.so
 insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 /Herwig/Analysis/RivetAnalysis
 set /Herwig/Analysis/RivetAnalysis:Debug No
 set /Herwig/Decays/DecayHandler:MaxLifeTime 10*mm
 ##################################################
 ## Save the generator
 ##################################################
 do /Herwig/MatrixElements/Matchbox/Factory:ProductionMode
 
 ## Select the process
 cd /Herwig/MatrixElements/Matchbox
 
 ${process}
 
 read ${parameterFile}
 
 cd /Herwig/Generators
 set EventGenerator:MaxErrors 1000000
 saverun ${runname} EventGenerator
diff --git a/Tests/Rivet/Templates/Hadron-Merging.in b/Tests/Rivet/Templates/Hadron-Merging.in
--- a/Tests/Rivet/Templates/Hadron-Merging.in
+++ b/Tests/Rivet/Templates/Hadron-Merging.in
@@ -1,50 +1,50 @@
 # -*- ThePEG-repository -*-
 #
 # DO NOT EDIT - autogenerated by make_input_files.py 
 #
 ##################################################
 ## Collider type
 ##################################################
 read snippets/DipoleMerging.in
 read snippets/PPCollider.in
 read snippets/MonacoSampler.in
 ##################################################
 ## Matrix element library selection
 ##################################################
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 read Matchbox/MadGraph-OpenLoops.in
 
 ##################################################
 ## PDF and AlphaS choice
 ##################################################
 read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
 set /Herwig/Couplings/NLOAlphaS:input_alpha_s  0.118
 read Merging/FactorCMWScheme.in
 ##################################################
 #  Create the Herwig analysis
 ##################################################
 create ThePEG::RivetAnalysis /Herwig/Analysis/RivetAnalysis RivetAnalysis.so
 insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 /Herwig/Analysis/RivetAnalysis
 set /Herwig/Analysis/RivetAnalysis:Debug No
 set /Herwig/Decays/DecayHandler:MaxLifeTime 10*mm
 
 
 ## Select the process
 cd /Herwig/Merging/
 set Merger:MergingScale 15.*GeV
 
 ${process}
 
 read ${parameterFile}
 
 ##################################################
 ## Save the generator
 ##################################################
 do /Herwig/Merging/MergingFactory:ProductionMode
 
 cd /Herwig/Generators
 set EventGenerator:MaxErrors 1000000
 saverun ${runname} EventGenerator
diff --git a/src/DIS-Matchbox.in b/src/DIS-Matchbox.in
--- a/src/DIS-Matchbox.in
+++ b/src/DIS-Matchbox.in
@@ -1,151 +1,152 @@
 # -*- ThePEG-repository -*-
 
 ##################################################
 ## Herwig/Matchbox example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 read snippets/Matchbox.in
 read snippets/EPCollider.in
 
 ##################################################
 ## Beam energies
 ##################################################
 
 cd /Herwig/EventHandlers
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 
 ## EP collider parameters
 cd /Herwig/EventHandlers
 set EventHandler:BeamA /Herwig/Particles/e-
 set Luminosity:BeamEMaxA 30.*GeV
 set EventHandler:BeamB /Herwig/Particles/p+
 set Luminosity:BeamEMaxB 920.*GeV
 
 ## Set the order of the couplings
 cd /Herwig/MatrixElements/Matchbox
 set Factory:OrderInAlphaS 0
 set Factory:OrderInAlphaEW 2
 
 ## Select the process
 ## You may use identifiers such as p, pbar, j, l, mu+, h0 etc.
 do Factory:Process e- p -> e- j
 
 ## Special settings required for on-shell production of unstable particles
 ## enable for on-shell top production
 # read Matchbox/OnShellTopProduction.in
 ## enable for on-shell W, Z or h production
 # read Matchbox/OnShellWProduction.in
 # read Matchbox/OnShellZProduction.in
 # read Matchbox/OnShellHProduction.in
 
 ##################################################
 ## Matrix element library selection
 ##################################################
 
 ## Select a generic tree/loop combination or a
 ## specialized NLO package
 
 # read Matchbox/MadGraph-GoSam.in
 # read Matchbox/MadGraph-MadGraph.in
 # read Matchbox/MadGraph-NJet.in
 # read Matchbox/MadGraph-OpenLoops.in
 
 ##################################################
 ## Cut selection
 ## See the documentation for more options
 ##################################################
 
 ## cuts on additional jets
 
 cd /Herwig/Cuts
 # read Matchbox/DefaultEPJets.in
 
 # insert JetCuts:JetRegions 0 FirstJet
 # insert JetCuts:JetRegions 1 SecondJet
 # insert JetCuts:JetRegions 2 ThirdJet
 
 ##################################################
 ## Scale choice
 ## See the documentation for more options
 ##################################################
 
 cd /Herwig/MatrixElements/Matchbox
 set Factory:ScaleChoice /Herwig/MatrixElements/Matchbox/Scales/LeptonQ2Scale
 
 ##################################################
 ## Matching and shower selection
 ## Please also see flavour scheme settings
 ## towards the end of the input file.
 ##################################################
 
 read Matchbox/MCatNLO-DefaultShower.in
 # read Matchbox/Powheg-DefaultShower.in
 ## use for strict LO/NLO comparisons
 # read Matchbox/MCatLO-DefaultShower.in
 ## use for improved LO showering
 # read Matchbox/LO-DefaultShower.in
 
 # read Matchbox/MCatNLO-DipoleShower.in
 # read Matchbox/Powheg-DipoleShower.in
 ## use for strict LO/NLO comparisons
 # read Matchbox/MCatLO-DipoleShower.in
 ## use for improved LO showering
 # read Matchbox/LO-DipoleShower.in
 
 # read Matchbox/NLO-NoShower.in
 # read Matchbox/LO-NoShower.in
 
 ##################################################
 ## Scale uncertainties
 ##################################################
 
 # read Matchbox/MuDown.in
 # read Matchbox/MuUp.in
 
 ##################################################
 ## Shower scale uncertainties
 ##################################################
 
 # read Matchbox/MuQDown.in
 # read Matchbox/MuQUp.in
 
 ##################################################
 ## PDF choice
 ##################################################
 
 read Matchbox/FiveFlavourScheme.in
 ## required for dipole shower and fixed order in five flavour scheme
 # read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
+# read Matchbox/MMHT2014.in
 
 ##################################################
 ## Analyses
 ##################################################
 
 # cd /Herwig/Analysis
 # insert Rivet:Analyses 0 XXX_2015_ABC123
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 Rivet
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 HepMC
 
 ##################################################
 ## Save the generator
 ##################################################
 
 do /Herwig/MatrixElements/Matchbox/Factory:ProductionMode
 
 cd /Herwig/Generators
 saverun DIS-Matchbox EventGenerator
diff --git a/src/LHC-MB.in b/src/LHC-MB.in
--- a/src/LHC-MB.in
+++ b/src/LHC-MB.in
@@ -1,101 +1,98 @@
 # -*- ThePEG-repository -*-
 
 ################################################################################
 # This file contains our best tune to UE data from ATLAS at 7 TeV. More recent
 # tunes and tunes for other centre-of-mass energies as well as more usage
 # instructions can be obtained from this Herwig wiki page:
 # http://projects.hepforge.org/herwig/trac/wiki/MB_UE_tunes
 # The model for soft interactions and diffractions is explained in
 # [S. Gieseke, P. Kirchgaesser, F. Loshaj, arXiv:1612.04701]
 ################################################################################
 
 read snippets/PPCollider.in
 
 ##################################################
 # Technical parameters for this run
 ##################################################
 cd /Herwig/Generators
 ##################################################
 # LHC physics parameters (override defaults here) 
 ##################################################
 set EventGenerator:EventHandler:LuminosityFunction:Energy 7000.0
 
 # Intrinsic pT tune extrapolated to LHC energy
 set /Herwig/Shower/ShowerHandler:IntrinsicPtGaussian 2.2*GeV
 
 # Minimum Bias
 read snippets/MB.in
 
 # Read in parameters of the soft model recommended for MB/UE simulations
 read snippets/SoftTune.in
 
 
 #Diffraction model
 read snippets/Diffraction.in
 
 #Turn on Baryonic reconnection
 read snippets/BaryonicReconnection.in
 
 
 # Normalization of the Min bias cross section for correct diffractive cross section
 set /Herwig/MatrixElements/MEMinBias:csNorm 0.01
 
 
 # Use LHC parametrization of the cross section
 set /Herwig/UnderlyingEvent/MPIHandler:DLmode 2
 
 
 #some preliminary parameters for the MPI model which need to be tuned
 #TODO
 set /Herwig/UnderlyingEvent/MPIHandler:pTmin0 3.02
 set /Herwig/UnderlyingEvent/MPIHandler:InvRadius 1.4
 set /Herwig/UnderlyingEvent/MPIHandler:Power 0.308
 set /Herwig/Partons/RemnantDecayer:ladderMult 0.45
 set /Herwig/Partons/RemnantDecayer:ladderbFactor 1.0
 set /Herwig/UnderlyingEvent/MPIHandler:DiffractiveRatio 0.17
 
 #ordered pTs
 set /Herwig/Partons/RemnantDecayer:PtDistribution 4
 
 # set the correct PDFs
-set /Herwig/Partons/HardLOPDF:PDFName CT14lo
-set /Herwig/Partons/ShowerLOPDF:PDFName CT14lo
-set /Herwig/Partons/MPIPDF:PDFName CT14lo
-set /Herwig/Partons/RemnantPDF:PDFName CT14lo
+read Matchbox/CT14.in
 
 #set /Herwig/Shower/ShowerHandler:CascadeHandler NULL     # Switch off parton shower
 #set /Herwig/Hadronization/HadronizationHandler:HadronizationHandler  NULL
 # do Soft interactions
 
 #set /Herwig/Hadronization/ColourReconnector:ColourReconnection No
 #################################################
 # Analyses
 ##################################################
 
 #Comment these lines out in order to use rivet analyses
 cd /Herwig/Analysis
 create ThePEG::RivetAnalysis RivetAnalysis RivetAnalysis.so
 
 cd /Herwig/Generators
 insert EventGenerator:AnalysisHandlers 0 /Herwig/Analysis/RivetAnalysis
 
 #Some example analyses
 insert /Herwig/Analysis/RivetAnalysis:Analyses 0 ATLAS_2012_I1084540
 insert /Herwig/Analysis/RivetAnalysis:Analyses 0 ATLAS_2010_S8918562
 
 #set /Herwig/Analysis/Plot:EventNumber 54
 #cd /Herwig/Generators
 #insert EventGenerator:AnalysisHandlers 0 /Herwig/Analysis/Plot
 
 #insert EventGenerator:AnalysisHandlers 0 /Herwig/Analysis/HepMCFile
 #set /Herwig/Analysis/HepMCFile:PrintEvent 1000000
 #set /Herwig/Analysis/HepMCFile:Format GenEvent
 #set /Herwig/Analysis/HepMCFile:Units GeV_mm
 #set /Herwig/Analysis/HepMCFile:Filename events.fifo
 
 ##################################################
 # Save run for later usage with 'Herwig run'
 ##################################################
 cd /Herwig/Generators
 saverun LHC-MB EventGenerator
 
diff --git a/src/LHC-Matchbox.in b/src/LHC-Matchbox.in
--- a/src/LHC-Matchbox.in
+++ b/src/LHC-Matchbox.in
@@ -1,157 +1,158 @@
 # -*- ThePEG-repository -*-
 
 ##################################################
 ## Herwig/Matchbox example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 read snippets/Matchbox.in
 read snippets/PPCollider.in
 
 ##################################################
 ## Beam energy sqrt(s)
 ##################################################
 
 cd /Herwig/EventHandlers
 set EventHandler:LuminosityFunction:Energy 13000*GeV
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 
 ## Set the order of the couplings
 cd /Herwig/MatrixElements/Matchbox
 set Factory:OrderInAlphaS 0
 set Factory:OrderInAlphaEW 2
 
 ## Select the process
 ## You may use identifiers such as p, pbar, j, l, mu+, h0 etc.
 do Factory:Process p p -> e+ e-
 
 ## Special settings required for on-shell production of unstable particles
 ## enable for on-shell top production
 # read Matchbox/OnShellTopProduction.in
 ## enable for on-shell W, Z or h production
 # read Matchbox/OnShellWProduction.in
 # read Matchbox/OnShellZProduction.in
 # read Matchbox/OnShellHProduction.in
 # Special settings for the VBF approximation
 # read Matchbox/VBFDiagramsOnly.in
 
 ##################################################
 ## Matrix element library selection
 ##################################################
 
 ## Select a generic tree/loop combination or a
 ## specialized NLO package
 
 # read Matchbox/MadGraph-GoSam.in
 # read Matchbox/MadGraph-MadGraph.in
 # read Matchbox/MadGraph-NJet.in
 # read Matchbox/MadGraph-OpenLoops.in
 # read Matchbox/HJets.in
 # read Matchbox/VBFNLO.in
 
 ## Uncomment this to use ggh effective couplings
 ## currently only supported by MadGraph-GoSam
 
 # read Matchbox/HiggsEffective.in
 
 ##################################################
 ## Cut selection
 ## See the documentation for more options
 ##################################################
 cd /Herwig/Cuts/
 set ChargedLeptonPairMassCut:MinMass 60*GeV
 set ChargedLeptonPairMassCut:MaxMass 120*GeV
 
 ## cuts on additional jets
 
 # read Matchbox/DefaultPPJets.in
 
 # insert JetCuts:JetRegions 0 FirstJet
 # insert JetCuts:JetRegions 1 SecondJet
 # insert JetCuts:JetRegions 2 ThirdJet
 # insert JetCuts:JetRegions 3 FourthJet
 
 ##################################################
 ## Scale choice
 ## See the documentation for more options
 ##################################################
 
 cd /Herwig/MatrixElements/Matchbox
 set Factory:ScaleChoice /Herwig/MatrixElements/Matchbox/Scales/LeptonPairMassScale
 
 ##################################################
 ## Matching and shower selection
 ## Please also see flavour scheme settings
 ## towards the end of the input file.
 ##################################################
 
 read Matchbox/MCatNLO-DefaultShower.in
 # read Matchbox/Powheg-DefaultShower.in
 ## use for strict LO/NLO comparisons
 # read Matchbox/MCatLO-DefaultShower.in
 ## use for improved LO showering
 # read Matchbox/LO-DefaultShower.in
 
 # read Matchbox/MCatNLO-DipoleShower.in
 # read Matchbox/Powheg-DipoleShower.in
 ## use for strict LO/NLO comparisons
 # read Matchbox/MCatLO-DipoleShower.in
 ## use for improved LO showering
 # read Matchbox/LO-DipoleShower.in
 
 # read Matchbox/NLO-NoShower.in
 # read Matchbox/LO-NoShower.in
 
 ##################################################
 ## Scale uncertainties
 ##################################################
 
 # read Matchbox/MuDown.in
 # read Matchbox/MuUp.in
 
 ##################################################
 ## Shower scale uncertainties
 ##################################################
 
 # read Matchbox/MuQDown.in
 # read Matchbox/MuQUp.in
 
 ##################################################
 ## PDF choice
 ##################################################
 
 read Matchbox/FiveFlavourScheme.in
 ## required for dipole shower and fixed order in five flavour scheme
 # read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
+# read Matchbox/MMHT2014.in
 
 ##################################################
 ## Analyses
 ##################################################
 
 # cd /Herwig/Analysis
 # insert Rivet:Analyses 0 XXX_2015_ABC123
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 Rivet
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 HepMC
 
 ##################################################
 ## Save the generator
 ##################################################
 
 do /Herwig/MatrixElements/Matchbox/Factory:ProductionMode
 
 cd /Herwig/Generators
 saverun LHC-Matchbox EventGenerator
diff --git a/src/Matchbox/CT14.in b/src/Matchbox/CT14.in
new file mode 100644
--- /dev/null
+++ b/src/Matchbox/CT14.in
@@ -0,0 +1,12 @@
+# -*- ThePEG-repository -*-
+
+cd /Herwig/Partons
+
+set HardLOPDF:PDFName CT14lo
+set HardNLOPDF:PDFName CT14nlo
+
+set ShowerLOPDF:PDFName CT14lo
+set ShowerNLOPDF:PDFName CT14nlo
+
+set MPIPDF:PDFName CT14lo
+set RemnantPDF:PDFName CT14lo
diff --git a/src/Matchbox/Makefile.am b/src/Matchbox/Makefile.am
--- a/src/Matchbox/Makefile.am
+++ b/src/Matchbox/Makefile.am
@@ -1,66 +1,67 @@
 BUILT_SOURCES = done-all-links
 
 Matchboxdir = ${pkgdatadir}/Matchbox
 
 INPUTFILES = \
 CMEC.in \
 DefaultEEJets.in \
 DefaultEPJets.in \
 DefaultPPJets.in \
 DiagonalCKM.in \
 FiveFlavourNoBMassScheme.in \
 FiveFlavourScheme.in \
 FourFlavourScheme.in \
 GoSam-GoSam.in \
 HiggsEffective.in \
 HJets.in \
 IdentifiedBs.in \
 InclusiveDurhamJets.in \
 IncreaseVerbosity.in \
 KrkNLO-DipoleShower.in \
 LO-DefaultShower.in \
 LO-DipoleShower.in \
 LO.in \
 LO-NoShower.in \
 MadGraph-GoSam.in \
 MadGraph-MadGraph.in \
 MadGraph-NJet.in \
 MadGraph-OpenLoops.in \
 MCatLO-DefaultShower.in \
 MCatLO-DipoleShower.in \
 MCatNLO-DefaultShower.in \
 MCatNLO-Dipole-HardAlphaSTune.in \
 MCatNLO-DipoleShower.in \
 MMHT2014.in \
+CT14.in \
 MuDown.in \
 MuQDown.in \
 MuQUp.in \
 MuUp.in \
 NJet-NJet.in \
 NLO-NoShower.in \
 NonDiagonalCKM.in \
 OnShellHProduction.in \
 OnShellTopProduction.in \
 OnShellWProduction.in \
 OnShellZProduction.in \
 OpenLoops-OpenLoops.in \
 Powheg-DefaultShower.in \
 Powheg-DipoleShower.in \
 Powheg.in \
 PQCDLevel.in \
 StandardModelLike.in \
 ShowerBenchmarks.in \
 VBFDiagramsOnly.in \
 VBFNLO.in \
 VBFNLOPhasespace.in
 
 dist_Matchbox_DATA = $(INPUTFILES)
 
 CLEANFILES = done-all-links
 
 done-all-links: $(INPUTFILES)
 	@echo "Linking input files"
 	@for i in $(INPUTFILES); do \
 	if test -f $(srcdir)/$$i -a ! -e $$i; then \
 	$(LN_S) -f $(srcdir)/$$i; fi; done
 	@touch done-all-links
diff --git a/src/Merging/LHC-H-Merging.in b/src/Merging/LHC-H-Merging.in
--- a/src/Merging/LHC-H-Merging.in
+++ b/src/Merging/LHC-H-Merging.in
@@ -1,194 +1,195 @@
 # -*- ThePEG-repository -*-
 
 ##################################################
 ## Herwig/Merging example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 
 read snippets/DipoleMerging.in
 read snippets/PPCollider.in
 read snippets/MonacoSampler.in
 
 ##################################################
 ## Beam energy sqrt(s)
 ##################################################
 
 cd /Herwig/EventHandlers
 set EventHandler:LuminosityFunction:Energy 8000*GeV
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 
 ## Set the order of the couplings
 cd /Herwig/Merging
 set MergingFactory:OrderInAlphaS 2
 set MergingFactory:OrderInAlphaEW 1
 
 ## Select the process
 ## You may use identifiers such as p, pbar, j, l, mu+, h0 etc.
 
 do MergingFactory:Process p p -> h0 [ j  j ]
 
 set MergingFactory:NLOProcesses 2
 
 # Set the merging scale deviding the parton shower
 # from the matrix element region in phase space.
 set Merger:MergingScale 15.*GeV
 set Merger:MergingScaleSmearing 0.1
 
 
 # The following line clear a preweighter
 # that is not working for Higgs as here
 # pt and HT are 0 before the shower.
 # See other merging files for more information.
 clear MergingFactory:Preweighters
 
 # The next line can switch of hadronization
 # and MPI modelling. Use with care!!
 # read Matchbox/PQCDLevel.in
 
 
 
 ## Special settings required for on-shell production of unstable particles
 ## enable for on-shell top production
 # read Matchbox/OnShellTopProduction.in
 ## enable for on-shell W, Z or h production
 # read Matchbox/OnShellWProduction.in
 # read Matchbox/OnShellZProduction.in
 read Matchbox/OnShellHProduction.in
 set /Herwig/Particles/h0:Stable Stable
 
 # Special settings for the VBF approximation
 # read Matchbox/VBFDiagramsOnly.in
 
 ##################################################
 ## Matrix element library selection
 ##################################################
 
 ## Select a generic tree/loop combination or a
 ## specialized NLO package
 
 # read Matchbox/MadGraph-GoSam.in
 # read Matchbox/MadGraph-MadGraph.in
 # read Matchbox/MadGraph-NJet.in
  read Matchbox/MadGraph-OpenLoops.in
 #read Matchbox/HJets.in
 # read Matchbox/VBFNLO.in
 
 ## Uncomment this to use ggh effective couplings
 ## currently only supported by MadGraph-GoSam and
 ## MadGraph-Openloops
 
 #read Matchbox/HiggsEffective.in
 cd /Herwig/MatrixElements/Matchbox/Amplitudes
 set OpenLoops:HiggsEff Yes
 set MadGraph:Model heft
 
 ##################################################
 ## Cut selection
 ## See the documentation for more options
 ##################################################
 cd /Herwig/Cuts/
 set ChargedLeptonPairMassCut:MinMass 60*GeV
 set ChargedLeptonPairMassCut:MaxMass 120*GeV
 
 cd /Herwig/MatrixElements/Matchbox/Utility
 insert DiagramGenerator:ExcludeInternal 0 /Herwig/Particles/gamma
 
 ## cuts on additional jets
 
 cd /Herwig/Cuts/
 # read Matchbox/DefaultPPJets.in
 
 # insert JetCuts:JetRegions 0 FirstJet
 # insert JetCuts:JetRegions 1 SecondJet
 # insert JetCuts:JetRegions 2 ThirdJet
 # insert JetCuts:JetRegions 3 FourthJet
 
 ##################################################
 ## Scale choice
 ## See the documentation for more options
 ##################################################
 
 cd /Herwig/MatrixElements/Matchbox/Scales/
 
 set /Herwig/Merging/MergingFactory:ScaleChoice FixedScale
 set FixedScale:FixedScale 125.*GeV
 
 ##################################################
 ## Scale uncertainties
 ##################################################
 
 # read Matchbox/MuDown.in
 # read Matchbox/MuUp.in
 
 ##################################################
 ## Shower scale uncertainties
 ##################################################
 
 # read Matchbox/MuQDown.in
 # read Matchbox/MuQUp.in
 
 ##################################################
 ## CMW - Scheme
 ##################################################
 read snippets/Dipole_AutoTune_prel.in
 
 ### Use factor in alpha_s argument: alpha_s(q) -> alpha_s(fac*q)
 ### with fac=exp(-(67-3pi^2-10/3*Nf)/(33-2Nf))
 read Merging/FactorCMWScheme.in
 
 ### Linear CMW multiplication:
 ### alpha_s(q) -> alpha_s(q)(1+K_g*alpha_s(q)/2pi )
 # read Merging/LinearCMWScheme.in
 
 
 ##################################################
 ## PDF choice
 ##################################################
 
 read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
+#read Matchbox/MMHT2014.in
 
 ##################################################
 ## Analyses
 ##################################################
 
 cd /Herwig/Analysis
 ## Write HepMC events. Modify the PrintEvent interface for your needs.
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 HepMCFile
 
 ## Setup the Rivet analysis:
 #read snippets/Rivet.in
 #insert Rivet:Analyses 0 XXX_2017_ABC123
 
 ## Here we collected a various Rivet analysis for Higgs at LHC
 ## at the 8 TeV. (The collection might not be complete.)
 # read Merging/LHC8-H-Analysis.in
 
 
 ##################################################
 ## Save the generator
 ##################################################
 
 do /Herwig/Merging/MergingFactory:ProductionMode
 
 set /Herwig/Generators/EventGenerator:IntermediateOutput Yes
 
 cd /Herwig/Generators
 
 saverun LHC-H-Merging EventGenerator
 
 
diff --git a/src/Merging/LHC-J-Merging.in b/src/Merging/LHC-J-Merging.in
--- a/src/Merging/LHC-J-Merging.in
+++ b/src/Merging/LHC-J-Merging.in
@@ -1,191 +1,192 @@
 # -*- ThePEG-repository -*-
 
 ##################################################
 ## Herwig/Merging example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 
 read snippets/DipoleMerging.in
 read snippets/PPCollider.in
 read snippets/MonacoSampler.in
 
 ##################################################
 ## Beam energy sqrt(s)
 ##################################################
 
 cd /Herwig/EventHandlers
 set EventHandler:LuminosityFunction:Energy 7000*GeV
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 
 ## Set the order of the couplings
 cd /Herwig/Merging
 set MergingFactory:OrderInAlphaS 2
 set MergingFactory:OrderInAlphaEW 0
 
 ## Select the process
 ## You may use identifiers such as p, pbar, j, l, mu+, h0 etc.
 
 do MergingFactory:Process p p -> j j [ j ]
 
 set MergingFactory:NLOProcesses 1
 
 # Set the merging scale deviding the parton shower
 # from the matrix element region in phase space.
 set Merger:MergingScale 20.*GeV
 set Merger:MergingScaleSmearing 0.1
 
 
 # The following lines control a preweighter,
 # that can be used to force more events in higher
 # HT or pt regions. The unweighted events are accepted
 # with a enhanced probability W, that is divided fron the
 # event weight once the event is accepted.
 # W = ((HT/scale)^HTPower + (pt_max/scale)^MaxPTPower)
 # with scale = MZ (can be changed)
 # Note that the weights will therefore differ from "1"
 # if the powers are not zero.
 set MPreWeight:HTPower 0
 set MPreWeight:MaxPTPower 0
 set MPreWeight:OnlyColoured No
 
 
 # The next line can switch of hadronization
 # and MPI modelling. Use with care!!
 # read Matchbox/PQCDLevel.in
 
 
 ## Special settings required for on-shell production of unstable particles
 ## enable for on-shell top production
 # read Matchbox/OnShellTopProduction.in
 ## enable for on-shell W, Z or h production
 # read Matchbox/OnShellWProduction.in
 # read Matchbox/OnShellZProduction.in
 # read Matchbox/OnShellHProduction.in
 # Special settings for the VBF approximation
 # read Matchbox/VBFDiagramsOnly.in
 
 ##################################################
 ## Matrix element library selection
 ##################################################
 
 ## Select a generic tree/loop combination or a
 ## specialized NLO package
 
 # read Matchbox/MadGraph-GoSam.in
 # read Matchbox/MadGraph-MadGraph.in
 # read Matchbox/MadGraph-NJet.in
 read Matchbox/MadGraph-OpenLoops.in
 # read Matchbox/HJets.in
 # read Matchbox/VBFNLO.in
 
 ## Uncomment this to use ggh effective couplings
 ## currently only supported by MadGraph-GoSam
 ## and MadGraph-OpenLoops
 
 # read Matchbox/HiggsEffective.in
 
 ##################################################
 ## Cut selection
 ## See the documentation for more options
 ##################################################
 cd /Herwig/Cuts/
 set ChargedLeptonPairMassCut:MinMass 60*GeV
 set ChargedLeptonPairMassCut:MaxMass 120*GeV
 
 cd /Herwig/MatrixElements/Matchbox/Utility
 insert DiagramGenerator:ExcludeInternal 0 /Herwig/Particles/gamma
 
 ## cuts on additional jets
 cd /Herwig/Cuts/
 read Matchbox/DefaultPPJets.in
 
 insert JetCuts:JetRegions 0 FirstJet
 # insert JetCuts:JetRegions 1 SecondJet
 # insert JetCuts:JetRegions 2 ThirdJet
 # insert JetCuts:JetRegions 3 FourthJet
 
 ##################################################
 ## Scale choice
 ## See the documentation for more options
 ##################################################
 
 cd /Herwig/MatrixElements/Matchbox/Scales/
 set /Herwig/Merging/MergingFactory:ScaleChoice MaxJetPtScale
 
 ##################################################
 ## Scale uncertainties
 ##################################################
 
 # read Matchbox/MuDown.in
 # read Matchbox/MuUp.in
 
 ##################################################
 ## Shower scale uncertainties
 ##################################################
 
 # read Matchbox/MuQDown.in
 # read Matchbox/MuQUp.in
 
 ##################################################
 ## CMW - Scheme
 ##################################################
 read snippets/Dipole_AutoTune_prel.in
 
 ### Use factor in alpha_s argument: alpha_s(q) -> alpha_s(fac*q)
 ### with fac=exp(-(67-3pi^2-10/3*Nf)/(33-2Nf))
 read Merging/FactorCMWScheme.in
 
 ### Linear CMW multiplication:
 ### alpha_s(q) -> alpha_s(q)(1+K_g*alpha_s(q)/2pi )
 # read Merging/LinearCMWScheme.in
 
 
 ##################################################
 ## PDF choice
 ##################################################
 
 read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
+# read Matchbox/MMHT2014.in
 
 ##################################################
 ## Analyses
 ##################################################
 
 cd /Herwig/Analysis
 ## Write HepMC events. Modify the PrintEvent interface for your needs.
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 HepMCFile
 
 ## Setup the Rivet analysis:
 #read snippets/Rivet.in
 #insert Rivet:Analyses 0 XXX_2017_ABC123
 
 ## Here we collected a various Rivet analysis for Jets at LHC
 ## at the 7 TeV. (The collection might not be complete.)
 # read Merging/LHC7-J-Analysis.in
 
 
 ##################################################
 ## Save the generator
 ##################################################
 
 do /Herwig/Merging/MergingFactory:ProductionMode
 
 set /Herwig/Generators/EventGenerator:IntermediateOutput Yes
 
 cd /Herwig/Generators
 
 saverun LHC-J-Merging EventGenerator
diff --git a/src/Merging/LHC-T-Merging.in b/src/Merging/LHC-T-Merging.in
--- a/src/Merging/LHC-T-Merging.in
+++ b/src/Merging/LHC-T-Merging.in
@@ -1,193 +1,194 @@
 # -*- ThePEG-repository -*-
 
 ##################################################
 ## Herwig/Merging example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 
 read snippets/DipoleMerging.in
 read snippets/PPCollider.in
 read snippets/MonacoSampler.in
 
 ##################################################
 ## Beam energy sqrt(s)
 ##################################################
 
 cd /Herwig/EventHandlers
 set EventHandler:LuminosityFunction:Energy 7000*GeV
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 
 ## Set the order of the couplings
 cd /Herwig/Merging
 set MergingFactory:OrderInAlphaS 2
 set MergingFactory:OrderInAlphaEW 0
 
 ## Select the process
 ## You may use identifiers such as p, pbar, j, l, mu+, h0 etc.
 
 do MergingFactory:Process p p -> t tbar [ j]
 
 set MergingFactory:NLOProcesses 1
 
 # Set the merging scale deviding the parton shower
 # from the matrix element region in phase space.
 set Merger:MergingScale 20.*GeV
 set Merger:MergingScaleSmearing 0.1
 
 
 # The following lines control a preweighter,
 # that can be used to force more events in higher
 # HT or pt regions. The unweighted events are accepted
 # with a enhanced probability W, that is divided fron the
 # event weight once the event is accepted.
 # W = ((HT/scale)^HTPower + (pt_max/scale)^MaxPTPower)
 # with scale = MZ (can be changed)
 # Note that the weights will therefore differ from "1"
 # if the powers are not zero.
 set MPreWeight:HTPower 0
 set MPreWeight:MaxPTPower 0
 set MPreWeight:OnlyColoured No
 
 
 # The next line can switch of hadronization
 # and MPI modelling. Use with care!!
 # read Matchbox/PQCDLevel.in
 
 
 
 ## Special settings required for on-shell production of unstable particles
 ## enable for on-shell top production
 read Matchbox/OnShellTopProduction.in
 ## enable for on-shell W, Z or h production
 # read Matchbox/OnShellWProduction.in
 # read Matchbox/OnShellZProduction.in
 # read Matchbox/OnShellHProduction.in
 # Special settings for the VBF approximation
 # read Matchbox/VBFDiagramsOnly.in
 
 ##################################################
 ## Matrix element library selection
 ##################################################
 
 ## Select a generic tree/loop combination or a
 ## specialized NLO package
 
 # read Matchbox/MadGraph-GoSam.in
 # read Matchbox/MadGraph-MadGraph.in
 # read Matchbox/MadGraph-NJet.in
 read Matchbox/MadGraph-OpenLoops.in
 # read Matchbox/HJets.in
 # read Matchbox/VBFNLO.in
 
 ## Uncomment this to use ggh effective couplings
 ## currently only supported by MadGraph-GoSam and
 ## MadGraph-Openloops
 
 # read Matchbox/HiggsEffective.in
 
 ##################################################
 ## Cut selection
 ## See the documentation for more options
 ##################################################
 cd /Herwig/Cuts/
 set ChargedLeptonPairMassCut:MinMass 60*GeV
 set ChargedLeptonPairMassCut:MaxMass 120*GeV
 
 cd /Herwig/MatrixElements/Matchbox/Utility
 insert DiagramGenerator:ExcludeInternal 0 /Herwig/Particles/gamma
 
 ## cuts on additional jets
 
 cd /Herwig/Cuts/
 # read Matchbox/DefaultPPJets.in
 
 # insert JetCuts:JetRegions 0 FirstJet
 # insert JetCuts:JetRegions 1 SecondJet
 # insert JetCuts:JetRegions 2 ThirdJet
 # insert JetCuts:JetRegions 3 FourthJet
 
 ##################################################
 ## Scale choice
 ## See the documentation for more options
 ##################################################
 
 cd /Herwig/MatrixElements/Matchbox/Scales/
 set /Herwig/Merging/MergingFactory:ScaleChoice TopPairMassScale
 
 ##################################################
 ## Scale uncertainties
 ##################################################
 
 # read Matchbox/MuDown.in
 # read Matchbox/MuUp.in
 
 ##################################################
 ## Shower scale uncertainties
 ##################################################
 
 # read Matchbox/MuQDown.in
 # read Matchbox/MuQUp.in
 
 ##################################################
 ## CMW - Scheme
 ##################################################
 read snippets/Dipole_AutoTune_prel.in
 
 ### Use factor in alpha_s argument: alpha_s(q) -> alpha_s(fac*q)
 ### with fac=exp(-(67-3pi^2-10/3*Nf)/(33-2Nf))
 read Merging/FactorCMWScheme.in
 
 ### Linear CMW multiplication:
 ### alpha_s(q) -> alpha_s(q)(1+K_g*alpha_s(q)/2pi )
 # read Merging/LinearCMWScheme.in
 
 
 ##################################################
 ## PDF choice
 ##################################################
 
 read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
+# read Matchbox/MMHT2014.in
 
 ##################################################
 ## Analyses
 ##################################################
 
 cd /Herwig/Analysis
 ## Write HepMC events. Modify the PrintEvent interface for your needs.
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 HepMCFile
 
 ## Setup the Rivet analysis:
 #read snippets/Rivet.in
 #insert Rivet:Analyses 0 XXX_2017_ABC123
 
 ## Here we collected a various Rivet analysis for Tops at LHC
 ## at the 7 TeV. (The collection might not be complete.)
 # read Merging/LHC7-T-Analysis.in
 
 
 ##################################################
 ## Save the generator
 ##################################################
 
 do /Herwig/Merging/MergingFactory:ProductionMode
 
 set /Herwig/Generators/EventGenerator:IntermediateOutput Yes
 
 cd /Herwig/Generators
 
 saverun LHC-T-Merging EventGenerator
diff --git a/src/Merging/LHC-W-Merging.in b/src/Merging/LHC-W-Merging.in
--- a/src/Merging/LHC-W-Merging.in
+++ b/src/Merging/LHC-W-Merging.in
@@ -1,194 +1,195 @@
 # -*- ThePEG-repository -*-
 
 ##################################################
 ## Herwig/Merging example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 
 read snippets/DipoleMerging.in
 read snippets/PPCollider.in
 read snippets/MonacoSampler.in
 
 ##################################################
 ## Beam energy sqrt(s)
 ##################################################
 
 cd /Herwig/EventHandlers
 set EventHandler:LuminosityFunction:Energy 7000*GeV
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 
 ## Set the order of the couplings
 cd /Herwig/Merging
 set MergingFactory:OrderInAlphaS 0
 set MergingFactory:OrderInAlphaEW 2
 
 ## Select the process
 ## You may use identifiers such as p, pbar, j, l, mu+, h0 etc.
 
 do MergingFactory:Process p p -> l nu [ j  j ]
 
 set MergingFactory:NLOProcesses 2
 
 # Set the merging scale deviding the parton shower
 # from the matrix element region in phase space.
 set Merger:MergingScale 15.*GeV
 set Merger:MergingScaleSmearing 0.1
 
 
 # The following lines control a preweighter,
 # that can be used to force more events in higher
 # HT or pt regions. The unweighted events are accepted
 # with a enhanced probability W, that is divided fron the
 # event weight once the event is accepted.
 # W = ((HT/scale)^HTPower + (pt_max/scale)^MaxPTPower)
 # with scale = MZ (can be changed)
 # Note that the weights will therefore differ from "1"
 # if the powers are not zero.
 set MPreWeight:HTPower 0
 set MPreWeight:MaxPTPower 0
 set MPreWeight:OnlyColoured No
 
 
 # The next line can switch of hadronization
 # and MPI modelling. Use with care!!
 # read Matchbox/PQCDLevel.in
 
 
 
 ## Special settings required for on-shell production of unstable particles
 ## enable for on-shell top production
 # read Matchbox/OnShellTopProduction.in
 ## enable for on-shell W, Z or h production
 # read Matchbox/OnShellWProduction.in
 # read Matchbox/OnShellZProduction.in
 # read Matchbox/OnShellHProduction.in
 # Special settings for the VBF approximation
 # read Matchbox/VBFDiagramsOnly.in
 
 ##################################################
 ## Matrix element library selection
 ##################################################
 
 ## Select a generic tree/loop combination or a
 ## specialized NLO package
 
 # read Matchbox/MadGraph-GoSam.in
 # read Matchbox/MadGraph-MadGraph.in
 # read Matchbox/MadGraph-NJet.in
 # read Matchbox/MadGraph-OpenLoops.in
 # read Matchbox/HJets.in
 # read Matchbox/VBFNLO.in
 
 ## Uncomment this to use ggh effective couplings
 ## currently only supported by MadGraph-GoSam and
 ## MadGraph-Openloops
 
 # read Matchbox/HiggsEffective.in
 
 ##################################################
 ## Cut selection
 ## See the documentation for more options
 ##################################################
 cd /Herwig/Cuts/
 set /Herwig/Cuts/LeptonPairMassCut:MinMass 60*GeV
 set /Herwig/Cuts/LeptonPairMassCut:MaxMass 120*GeV
 
 cd /Herwig/MatrixElements/Matchbox/Utility
 insert DiagramGenerator:ExcludeInternal 0 /Herwig/Particles/gamma
 
 ## cuts on additional jets
 cd /Herwig/Cuts/
 # read Matchbox/DefaultPPJets.in
 
 # insert JetCuts:JetRegions 0 FirstJet
 # insert JetCuts:JetRegions 1 SecondJet
 # insert JetCuts:JetRegions 2 ThirdJet
 # insert JetCuts:JetRegions 3 FourthJet
 
 ##################################################
 ## Scale choice
 ## See the documentation for more options
 ##################################################
 
 cd /Herwig/MatrixElements/Matchbox/Scales/
 set /Herwig/Merging/MergingFactory:ScaleChoice LeptonPairMassScale
 
 ##################################################
 ## Scale uncertainties
 ##################################################
 
 # read Matchbox/MuDown.in
 # read Matchbox/MuUp.in
 
 ##################################################
 ## Shower scale uncertainties
 ##################################################
 
 # read Matchbox/MuQDown.in
 # read Matchbox/MuQUp.in
 
 ##################################################
 ## CMW - Scheme
 ##################################################
 read snippets/Dipole_AutoTune_prel.in
 
 ### Use factor in alpha_s argument: alpha_s(q) -> alpha_s(fac*q)
 ### with fac=exp(-(67-3pi^2-10/3*Nf)/(33-2Nf))
 read Merging/FactorCMWScheme.in
 
 ### Linear CMW multiplication:
 ### alpha_s(q) -> alpha_s(q)(1+K_g*alpha_s(q)/2pi )
 # read Merging/LinearCMWScheme.in
 
 
 ##################################################
 ## PDF choice
 ##################################################
 
 read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
+# read Matchbox/MMHT2014.in
 
 ##################################################
 ## Analyses
 ##################################################
 
 cd /Herwig/Analysis
 ## Write HepMC events. Modify the PrintEvent interface for your needs.
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 HepMCFile
 
 ## Setup the Rivet analysis:
 #read snippets/Rivet.in
 #insert Rivet:Analyses 0 XXX_2017_ABC123
 
 ## Here we collected a various Rivet analysis for Ws at LHC
 ## at the 7 TeV. (The collection might not be complete.)
 # read Merging/LHC7-W-Analysis.in
 
 
 ##################################################
 ## Save the generator
 ##################################################
 
 do /Herwig/Merging/MergingFactory:ProductionMode
 
 set /Herwig/Generators/EventGenerator:IntermediateOutput Yes
 
 cd /Herwig/Generators
 
 saverun LHC-W-Merging EventGenerator
 
 
diff --git a/src/Merging/LHC-Z-Merging.in b/src/Merging/LHC-Z-Merging.in
--- a/src/Merging/LHC-Z-Merging.in
+++ b/src/Merging/LHC-Z-Merging.in
@@ -1,194 +1,195 @@
 # -*- ThePEG-repository -*-
 
 ##################################################
 ## Herwig/Merging example input file
 ##################################################
 
 ##################################################
 ## Collider type
 ##################################################
 
 read snippets/DipoleMerging.in
 read snippets/PPCollider.in
 read snippets/MonacoSampler.in
 
 ##################################################
 ## Beam energy sqrt(s)
 ##################################################
 
 cd /Herwig/EventHandlers
 set EventHandler:LuminosityFunction:Energy 7000*GeV
 
 ##################################################
 ## Process selection
 ##################################################
 
 ## Note that event generation may fail if no matching matrix element has
 ## been found.  Coupling orders are with respect to the Born process,
 ## i.e. NLO QCD does not require an additional power of alphas.
 
 ## Model assumptions
 read Matchbox/StandardModelLike.in
 read Matchbox/DiagonalCKM.in
 
 ## Set the order of the couplings
 cd /Herwig/Merging
 set MergingFactory:OrderInAlphaS 0
 set MergingFactory:OrderInAlphaEW 2
 
 ## Select the process
 ## You may use identifiers such as p, pbar, j, l, mu+, h0 etc.
 
 do MergingFactory:Process p p -> e+ e- [ j j ]
 
 set MergingFactory:NLOProcesses 2
 
 # Set the merging scale deviding the parton shower
 # from the matrix element region in phase space.
 set Merger:MergingScale 15.*GeV
 set Merger:MergingScaleSmearing 0.1
 
 
 # The following lines control a preweighter,
 # that can be used to force more events in higher
 # HT or pt regions. The unweighted events are accepted
 # with a enhanced probability W, that is divided fron the
 # event weight once the event is accepted.
 # W = ((HT/scale)^HTPower + (pt_max/scale)^MaxPTPower)
 # with scale = MZ (can be changed)
 # Note that the weights will therefore differ from "1"
 # if the powers are not zero.
 set MPreWeight:HTPower 0
 set MPreWeight:MaxPTPower 0
 set MPreWeight:OnlyColoured No
 
 
 # The next line can switch of hadronization
 # and MPI modelling. Use with care!!
 # read Matchbox/PQCDLevel.in
 
 
 
 ## Special settings required for on-shell production of unstable particles
 ## enable for on-shell top production
 # read Matchbox/OnShellTopProduction.in
 ## enable for on-shell W, Z or h production
 # read Matchbox/OnShellWProduction.in
 # read Matchbox/OnShellZProduction.in
 # read Matchbox/OnShellHProduction.in
 # Special settings for the VBF approximation
 # read Matchbox/VBFDiagramsOnly.in
 
 ##################################################
 ## Matrix element library selection
 ##################################################
 
 ## Select a generic tree/loop combination or a
 ## specialized NLO package
 
 # read Matchbox/MadGraph-GoSam.in
 # read Matchbox/MadGraph-MadGraph.in
 # read Matchbox/MadGraph-NJet.in
 # read Matchbox/MadGraph-OpenLoops.in
 # read Matchbox/HJets.in
 # read Matchbox/VBFNLO.in
 
 ## Uncomment this to use ggh effective couplings
 ## currently only supported by MadGraph-GoSam and
 ## MadGraph-Openloops
 
 # read Matchbox/HiggsEffective.in
 
 ##################################################
 ## Cut selection
 ## See the documentation for more options
 ##################################################
 cd /Herwig/Cuts/
 set ChargedLeptonPairMassCut:MinMass 60*GeV
 set ChargedLeptonPairMassCut:MaxMass 120*GeV
 
 cd /Herwig/MatrixElements/Matchbox/Utility
 insert DiagramGenerator:ExcludeInternal 0 /Herwig/Particles/gamma
 
 ## cuts on additional jets
 cd /Herwig/Cuts/
 # read Matchbox/DefaultPPJets.in
 
 # insert JetCuts:JetRegions 0 FirstJet
 # insert JetCuts:JetRegions 1 SecondJet
 # insert JetCuts:JetRegions 2 ThirdJet
 # insert JetCuts:JetRegions 3 FourthJet
 
 ##################################################
 ## Scale choice
 ## See the documentation for more options
 ##################################################
 
 cd /Herwig/MatrixElements/Matchbox/Scales/
 set /Herwig/Merging/MergingFactory:ScaleChoice LeptonPairMassScale
 
 ##################################################
 ## Scale uncertainties
 ##################################################
 
 # read Matchbox/MuDown.in
 # read Matchbox/MuUp.in
 
 ##################################################
 ## Shower scale uncertainties
 ##################################################
 
 # read Matchbox/MuQDown.in
 # read Matchbox/MuQUp.in
 
 ##################################################
 ## CMW - Scheme
 ##################################################
 read snippets/Dipole_AutoTune_prel.in
 
 ### Use factor in alpha_s argument: alpha_s(q) -> alpha_s(fac*q)
 ### with fac=exp(-(67-3pi^2-10/3*Nf)/(33-2Nf))
 read Merging/FactorCMWScheme.in
 
 ### Linear CMW multiplication:
 ### alpha_s(q) -> alpha_s(q)(1+K_g*alpha_s(q)/2pi )
 # read Merging/LinearCMWScheme.in
 
 
 ##################################################
 ## PDF choice
 ##################################################
 
 read Matchbox/FiveFlavourNoBMassScheme.in
-read Matchbox/MMHT2014.in
+read Matchbox/CT14.in
+#read Matchbox/MMHT2014.in
 
 ##################################################
 ## Analyses
 ##################################################
 
 cd /Herwig/Analysis
 ## Write HepMC events. Modify the PrintEvent interface for your needs.
 # insert /Herwig/Generators/EventGenerator:AnalysisHandlers 0 HepMCFile
 
 ## Setup the Rivet analysis:
 #read snippets/Rivet.in
 #insert Rivet:Analyses 0 XXX_2017_ABC123
 
 ## Here we collected a various Rivet analysis for Zs at LHC
 ## at the 8 TeV. (The collection might not be complete.)
 # read Merging/LHC7-Z-Analysis.in
 
 
 ##################################################
 ## Save the generator
 ##################################################
 
 do /Herwig/Merging/MergingFactory:ProductionMode
 
 set /Herwig/Generators/EventGenerator:IntermediateOutput Yes
 
 cd /Herwig/Generators
 
 saverun LHC-Z-Merging EventGenerator
 
 
diff --git a/src/defaults/PDF.in.in b/src/defaults/PDF.in.in
--- a/src/defaults/PDF.in.in
+++ b/src/defaults/PDF.in.in
@@ -1,77 +1,77 @@
 # -*- ThePEG-repository -*-
 
 # PDF.in. Generated from PDF.in.in by Makefile.am
 
 #####################################
 # Default PDF set
 #####################################
 
 # Handle leptons
 create ThePEG::LeptonLeptonPDF LeptonPDF LeptonLeptonPDF.so
 newdef LeptonPDF:RemnantHandler LeptonRemnants
 newdef /Herwig/Particles/e-:PDF LeptonPDF
 newdef /Herwig/Particles/e+:PDF LeptonPDF
 
 # Handle hadrons
 # NEW DEFAULT for Hw 7
 library ThePEGLHAPDF.so
 
 create ThePEG::LHAPDF HardLOPDF
 newdef HardLOPDF:RemnantHandler HadronRemnants
 
 create ThePEG::LHAPDF HardNLOPDF
 newdef HardNLOPDF:RemnantHandler HadronRemnants
 
 create ThePEG::LHAPDF ShowerLOPDF
 newdef ShowerLOPDF:RemnantHandler HadronRemnants
 
 create ThePEG::LHAPDF ShowerNLOPDF
 newdef ShowerNLOPDF:RemnantHandler HadronRemnants
 
 create ThePEG::LHAPDF MPIPDF
 newdef MPIPDF:RemnantHandler HadronRemnants
 
 create ThePEG::LHAPDF RemnantPDF
 newdef RemnantPDF:RemnantHandler HadronRemnants
 
-newdef HardLOPDF:PDFName MMHT2014lo68cl
-newdef HardNLOPDF:PDFName MMHT2014nlo68cl
+newdef HardLOPDF:PDFName CT14lo
+newdef HardNLOPDF:PDFName CT14nlo
 
-newdef ShowerLOPDF:PDFName MMHT2014lo68cl
-newdef ShowerNLOPDF:PDFName MMHT2014nlo68cl
+newdef ShowerLOPDF:PDFName CT14lo
+newdef ShowerNLOPDF:PDFName CT14nlo
 
-newdef MPIPDF:PDFName MMHT2014lo68cl
-newdef RemnantPDF:PDFName MMHT2014lo68cl
-
+newdef MPIPDF:PDFName CT14lo
+newdef RemnantPDF:PDFName CT14lo
+ 
 # set LO PDFS for hard process and can be changed later
 
 newdef /Herwig/Particles/p+:PDF HardLOPDF
 newdef /Herwig/Particles/pbar-:PDF HardLOPDF
 
 # photons from leptons in WW approx
 create ThePEG::WeizsackerWilliamsPDF WWPDF WeizsackerWilliamsPDF.so
 create ThePEG::UnResolvedRemnant /Herwig/Partons/LeptonGammaRemnants 
 newdef /Herwig/Partons/WWPDF:RemnantHandler /Herwig/Partons/LeptonGammaRemnants
 
 # photons from protons in Budnev approx
 create ThePEG::BudnevPDF BudnevPDF BudnevPDF.so
 create ThePEG::UnResolvedRemnant /Herwig/Partons/HadronGammaRemnants 
 newdef /Herwig/Partons/BudnevPDF:RemnantHandler /Herwig/Partons/HadronGammaRemnants
 
 # partons inside photons
 create Herwig::SaSPhotonPDF /Herwig/Partons/SaSPDF HwSaSPhotonPDF.so
 set /Herwig/Partons/SaSPDF:RemnantHandler /Herwig/Partons/HadronRemnants
 
 # pomerons
 create Herwig::PomeronFlux PomeronFlux HwPomeronFlux.so
 newdef PomeronFlux:PDFFit Pomeron2006A
 newdef PomeronFlux:Q2Max 1.
 newdef PomeronFlux:Q2Min 1.0e-6
 create ThePEG::UnResolvedRemnant /Herwig/Partons/ProtonRemnant UnResolvedRemnant.so
 newdef /Herwig/Partons/PomeronFlux:RemnantHandler /Herwig/Partons/ProtonRemnant
 
 create Herwig::PomeronPDF PomeronPDF HwPomeronPDF.so
 newdef PomeronPDF:RemnantHandler HadronRemnants
 newdef PomeronPDF:RootName  @HERWIG_PDF_POMERON@
 newdef /Herwig/Particles/pomeron:PDF PomeronPDF
 newdef PomeronPDF:PDFFit 2006A
diff --git a/src/defaults/Shower.in b/src/defaults/Shower.in
--- a/src/defaults/Shower.in
+++ b/src/defaults/Shower.in
@@ -1,321 +1,321 @@
 # -*- ThePEG-repository -*-
 
 ############################################################
 # Setup of default parton shower
 #
 # Useful switches for users are marked near the top of 
 # this file.
 #
 # Don't edit this file directly, but reset the switches
 # in your own input files!
 ############################################################
 library HwMPI.so
 library HwShower.so
 library HwMatching.so
 
 mkdir /Herwig/Shower
 cd /Herwig/Shower
 
 create Herwig::QTildeShowerHandler ShowerHandler
 newdef ShowerHandler:MPIHandler /Herwig/UnderlyingEvent/MPIHandler
 newdef ShowerHandler:RemDecayer /Herwig/Partons/RemnantDecayer
 # use LO PDFs for Shower, can be changed later
 newdef ShowerHandler:PDFA /Herwig/Partons/ShowerLOPDF
 newdef ShowerHandler:PDFB /Herwig/Partons/ShowerLOPDF
 newdef ShowerHandler:PDFARemnant /Herwig/Partons/RemnantPDF
 newdef ShowerHandler:PDFBRemnant /Herwig/Partons/RemnantPDF
 
 #####################################
 # initial setup, don't change these!
 #####################################
 create Herwig::SplittingGenerator SplittingGenerator
 create Herwig::ShowerAlphaQCD AlphaQCD
 create Herwig::ShowerAlphaQED AlphaQED
 create Herwig::PartnerFinder PartnerFinder
-newdef PartnerFinder:PartnerMethod 1
-newdef PartnerFinder:ScaleChoice 1
+newdef PartnerFinder:PartnerMethod 0
+newdef PartnerFinder:ScaleChoice 0
 create Herwig::KinematicsReconstructor KinematicsReconstructor
 newdef KinematicsReconstructor:ReconstructionOption Colour3
 newdef KinematicsReconstructor:InitialStateReconOption SofterFraction
 newdef KinematicsReconstructor:InitialInitialBoostOption LongTransBoost
 newdef KinematicsReconstructor:FinalFinalWeight Yes
 
 newdef /Herwig/Partons/RemnantDecayer:AlphaS  AlphaQCD
 newdef /Herwig/Partons/RemnantDecayer:AlphaEM AlphaQED
 
 newdef ShowerHandler:PartnerFinder PartnerFinder
 newdef ShowerHandler:KinematicsReconstructor KinematicsReconstructor
 newdef ShowerHandler:SplittingGenerator SplittingGenerator
 newdef ShowerHandler:SpinCorrelations Yes
 newdef ShowerHandler:SoftCorrelations Singular
 
 ##################################################################
 # Intrinsic pT
 #
 # Recommended: 
 # 1.9 GeV for Tevatron W/Z production.
 # 2.1 GeV for LHC W/Z production at 10 TeV
 # 2.2 GeV for LHC W/Z production at 14 TeV
 #
 # Set all parameters to 0 to disable
 ##################################################################
 newdef ShowerHandler:IntrinsicPtGaussian 1.3*GeV
 newdef ShowerHandler:IntrinsicPtBeta  	0
 newdef ShowerHandler:IntrinsicPtGamma 	0*GeV
 newdef ShowerHandler:IntrinsicPtIptmax   0*GeV
 #############################################################
 # Set up truncated shower handler.
 #############################################################
 
 create Herwig::PowhegShowerHandler PowhegShowerHandler
 set PowhegShowerHandler:MPIHandler /Herwig/UnderlyingEvent/MPIHandler
 set PowhegShowerHandler:RemDecayer /Herwig/Partons/RemnantDecayer
 newdef PowhegShowerHandler:PDFA /Herwig/Partons/ShowerLOPDF
 newdef PowhegShowerHandler:PDFB /Herwig/Partons/ShowerLOPDF
 newdef PowhegShowerHandler:PDFARemnant /Herwig/Partons/RemnantPDF
 newdef PowhegShowerHandler:PDFBRemnant /Herwig/Partons/RemnantPDF
 newdef PowhegShowerHandler:MPIHandler /Herwig/UnderlyingEvent/MPIHandler
 newdef PowhegShowerHandler:RemDecayer /Herwig/Partons/RemnantDecayer
 newdef PowhegShowerHandler:PDFA /Herwig/Partons/ShowerLOPDF
 newdef PowhegShowerHandler:PDFB /Herwig/Partons/ShowerLOPDF
 newdef PowhegShowerHandler:PDFARemnant /Herwig/Partons/RemnantPDF
 newdef PowhegShowerHandler:PDFBRemnant /Herwig/Partons/RemnantPDF
 newdef PowhegShowerHandler:PartnerFinder PartnerFinder
 newdef PowhegShowerHandler:KinematicsReconstructor KinematicsReconstructor
 newdef PowhegShowerHandler:SplittingGenerator SplittingGenerator
 newdef PowhegShowerHandler:Interactions QCDandQED
 newdef PowhegShowerHandler:SpinCorrelations Yes
 newdef PowhegShowerHandler:SoftCorrelations Singular
 newdef PowhegShowerHandler:IntrinsicPtGaussian 1.3*GeV
 newdef PowhegShowerHandler:IntrinsicPtBeta  	0
 newdef PowhegShowerHandler:IntrinsicPtGamma 	0*GeV
 newdef PowhegShowerHandler:IntrinsicPtIptmax   0*GeV
 newdef PowhegShowerHandler:EvolutionScheme DotProduct
 
 #############################################################
 # End of interesting user servicable section.
 #
 # Anything that follows below should only be touched if you 
 # know what you're doing. 
 #
 # Really.
 #############################################################
 #
 # a few default values
 newdef ShowerHandler:MECorrMode 1
 newdef ShowerHandler:EvolutionScheme DotProduct
 newdef AlphaQCD:ScaleFactor 1.0
 newdef AlphaQCD:NPAlphaS 2
 newdef AlphaQCD:Qmin 0.935
 newdef AlphaQCD:NumberOfLoops 2
 newdef AlphaQCD:AlphaIn 0.1186
 #
 #
 # Lets set up all the splittings
 create Herwig::HalfHalfOneSplitFn QtoQGammaSplitFn
 set QtoQGammaSplitFn:InteractionType QED
 set QtoQGammaSplitFn:ColourStructure ChargedChargedNeutral
 set QtoQGammaSplitFn:AngularOrdered Yes
 set QtoQGammaSplitFn:StrictAO Yes
 
 create Herwig::HalfHalfOneSplitFn QtoQGSplitFn
 newdef QtoQGSplitFn:InteractionType QCD
 newdef QtoQGSplitFn:ColourStructure TripletTripletOctet
 set QtoQGSplitFn:AngularOrdered Yes
 set QtoQGSplitFn:StrictAO Yes
 
 create Herwig::OneOneOneSplitFn GtoGGSplitFn
 newdef GtoGGSplitFn:InteractionType QCD
 newdef GtoGGSplitFn:ColourStructure OctetOctetOctet
 set GtoGGSplitFn:AngularOrdered Yes
 set GtoGGSplitFn:StrictAO Yes
 
 create Herwig::OneOneOneMassiveSplitFn WtoWGammaSplitFn
 newdef WtoWGammaSplitFn:InteractionType QED
 newdef WtoWGammaSplitFn:ColourStructure ChargedChargedNeutral
 set WtoWGammaSplitFn:AngularOrdered Yes
 set WtoWGammaSplitFn:StrictAO Yes
 
 create Herwig::OneHalfHalfSplitFn GtoQQbarSplitFn
 newdef GtoQQbarSplitFn:InteractionType QCD
 newdef GtoQQbarSplitFn:ColourStructure OctetTripletTriplet
 set GtoQQbarSplitFn:AngularOrdered Yes
 set GtoQQbarSplitFn:StrictAO Yes
 
 create Herwig::OneHalfHalfSplitFn GammatoQQbarSplitFn
 newdef GammatoQQbarSplitFn:InteractionType QED
 newdef GammatoQQbarSplitFn:ColourStructure NeutralChargedCharged
 set GammatoQQbarSplitFn:AngularOrdered Yes
 set GammatoQQbarSplitFn:StrictAO Yes
 
 create Herwig::HalfOneHalfSplitFn QtoGQSplitFn
 newdef QtoGQSplitFn:InteractionType QCD
 newdef QtoGQSplitFn:ColourStructure TripletOctetTriplet
 set QtoGQSplitFn:AngularOrdered Yes
 set QtoGQSplitFn:StrictAO Yes
 
 create Herwig::HalfOneHalfSplitFn QtoGammaQSplitFn
 newdef QtoGammaQSplitFn:InteractionType QED
 newdef QtoGammaQSplitFn:ColourStructure ChargedNeutralCharged
 set QtoGammaQSplitFn:AngularOrdered Yes
 set QtoGammaQSplitFn:StrictAO Yes
 #
 # Now the Sudakovs
 create Herwig::PTCutOff PTCutOff
 newdef PTCutOff:pTmin 0.958*GeV
 
 create Herwig::SudakovFormFactor SudakovCommon
 newdef SudakovCommon:Alpha AlphaQCD
 newdef SudakovCommon:Cutoff PTCutOff
 newdef SudakovCommon:PDFmax 1.0
 
 cp SudakovCommon QtoQGSudakov
 newdef QtoQGSudakov:SplittingFunction QtoQGSplitFn
 newdef QtoQGSudakov:PDFmax 1.9
 
 cp SudakovCommon QtoQGammaSudakov
 set QtoQGammaSudakov:SplittingFunction QtoQGammaSplitFn
 set QtoQGammaSudakov:Alpha AlphaQED
 set QtoQGammaSudakov:PDFmax 1.9
 
 cp QtoQGammaSudakov LtoLGammaSudakov
 cp PTCutOff LtoLGammaPTCutOff
 # Technical parameter to stop evolution.
 set LtoLGammaPTCutOff:pTmin 0.000001
 set LtoLGammaSudakov:Cutoff LtoLGammaPTCutOff
 
 cp SudakovCommon GtoGGSudakov
 newdef GtoGGSudakov:SplittingFunction GtoGGSplitFn
 newdef GtoGGSudakov:PDFmax 2.0
 
 cp SudakovCommon WtoWGammaSudakov
 newdef WtoWGammaSudakov:SplittingFunction WtoWGammaSplitFn
 set WtoWGammaSudakov:Alpha AlphaQED
 
 cp SudakovCommon GtoQQbarSudakov
 newdef GtoQQbarSudakov:SplittingFunction GtoQQbarSplitFn
 newdef GtoQQbarSudakov:PDFmax 120.0
 
 cp SudakovCommon GammatoQQbarSudakov
 newdef GammatoQQbarSudakov:SplittingFunction GammatoQQbarSplitFn
 set GammatoQQbarSudakov:Alpha AlphaQED
 newdef GammatoQQbarSudakov:PDFmax 120.0
 
 cp SudakovCommon GtobbbarSudakov
 newdef GtobbbarSudakov:SplittingFunction GtoQQbarSplitFn
 newdef GtobbbarSudakov:PDFmax 40000.0
 
 cp SudakovCommon GtoccbarSudakov
 newdef GtoccbarSudakov:SplittingFunction GtoQQbarSplitFn
 newdef GtoccbarSudakov:PDFmax 2000.0
 
 cp SudakovCommon QtoGQSudakov
 newdef QtoGQSudakov:SplittingFunction QtoGQSplitFn
 
 cp SudakovCommon QtoGammaQSudakov
 newdef QtoGammaQSudakov:SplittingFunction QtoGammaQSplitFn
 set QtoGammaQSudakov:Alpha AlphaQED
 
 cp SudakovCommon utoGuSudakov
 newdef utoGuSudakov:SplittingFunction QtoGQSplitFn
 newdef utoGuSudakov:PDFFactor OverOneMinusZ
 newdef utoGuSudakov:PDFmax 5.0
 
 cp SudakovCommon dtoGdSudakov
 newdef dtoGdSudakov:SplittingFunction QtoGQSplitFn
 newdef dtoGdSudakov:PDFFactor OverOneMinusZ
 
 
 #
 # Now add the final splittings
 #
 do SplittingGenerator:AddFinalSplitting u->u,g; QtoQGSudakov
 do SplittingGenerator:AddFinalSplitting d->d,g; QtoQGSudakov
 do SplittingGenerator:AddFinalSplitting s->s,g; QtoQGSudakov
 do SplittingGenerator:AddFinalSplitting c->c,g; QtoQGSudakov
 do SplittingGenerator:AddFinalSplitting b->b,g; QtoQGSudakov
 do SplittingGenerator:AddFinalSplitting t->t,g; QtoQGSudakov
 #
 do SplittingGenerator:AddFinalSplitting g->g,g; GtoGGSudakov
 #
 do SplittingGenerator:AddFinalSplitting g->u,ubar; GtoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting g->d,dbar; GtoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting g->s,sbar; GtoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting g->c,cbar; GtoccbarSudakov
 do SplittingGenerator:AddFinalSplitting g->b,bbar; GtobbbarSudakov
 do SplittingGenerator:AddFinalSplitting g->t,tbar; GtoQQbarSudakov
 #
 do SplittingGenerator:AddFinalSplitting gamma->u,ubar; GammatoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting gamma->d,dbar; GammatoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting gamma->s,sbar; GammatoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting gamma->c,cbar; GammatoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting gamma->b,bbar; GammatoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting gamma->t,tbar; GammatoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting gamma->e-,e+; GammatoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting gamma->mu-,mu+; GammatoQQbarSudakov
 do SplittingGenerator:AddFinalSplitting gamma->tau-,tau+; GammatoQQbarSudakov
 #
 do SplittingGenerator:AddFinalSplitting u->u,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddFinalSplitting d->d,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddFinalSplitting s->s,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddFinalSplitting c->c,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddFinalSplitting b->b,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddFinalSplitting t->t,gamma; QtoQGammaSudakov
 
 do SplittingGenerator:AddFinalSplitting e-->e-,gamma; LtoLGammaSudakov
 do SplittingGenerator:AddFinalSplitting mu-->mu-,gamma; LtoLGammaSudakov
 do SplittingGenerator:AddFinalSplitting tau-->tau-,gamma; LtoLGammaSudakov
 
 do SplittingGenerator:AddFinalSplitting W+->W+,gamma; WtoWGammaSudakov
 #
 # Now lets add the initial splittings. Remember the form a->b,c; means
 # that the current particle b is given and we backward branch to new
 # particle a which is initial state and new particle c which is final state
 #
 do SplittingGenerator:AddInitialSplitting u->u,g; QtoQGSudakov
 do SplittingGenerator:AddInitialSplitting d->d,g; QtoQGSudakov
 do SplittingGenerator:AddInitialSplitting s->s,g; QtoQGSudakov
 do SplittingGenerator:AddInitialSplitting c->c,g; QtoQGSudakov
 do SplittingGenerator:AddInitialSplitting b->b,g; QtoQGSudakov
 do SplittingGenerator:AddInitialSplitting u->u,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddInitialSplitting d->d,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddInitialSplitting s->s,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddInitialSplitting c->c,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddInitialSplitting b->b,gamma; QtoQGammaSudakov
 do SplittingGenerator:AddInitialSplitting t->t,gamma; QtoQGammaSudakov
 
 do SplittingGenerator:AddInitialSplitting g->g,g; GtoGGSudakov
 #
 do SplittingGenerator:AddInitialSplitting g->d,dbar; GtoQQbarSudakov
 do SplittingGenerator:AddInitialSplitting g->u,ubar; GtoQQbarSudakov
 do SplittingGenerator:AddInitialSplitting g->s,sbar; GtoQQbarSudakov
 do SplittingGenerator:AddInitialSplitting g->c,cbar; GtoccbarSudakov
 do SplittingGenerator:AddInitialSplitting g->b,bbar; GtobbbarSudakov
 #
 do SplittingGenerator:AddInitialSplitting gamma->d,dbar; GammatoQQbarSudakov
 do SplittingGenerator:AddInitialSplitting gamma->u,ubar; GammatoQQbarSudakov
 do SplittingGenerator:AddInitialSplitting gamma->s,sbar; GammatoQQbarSudakov
 do SplittingGenerator:AddInitialSplitting gamma->c,cbar; GammatoQQbarSudakov
 do SplittingGenerator:AddInitialSplitting gamma->b,bbar; GammatoQQbarSudakov
 #
 do SplittingGenerator:AddInitialSplitting d->g,d; dtoGdSudakov
 do SplittingGenerator:AddInitialSplitting u->g,u; utoGuSudakov
 do SplittingGenerator:AddInitialSplitting s->g,s; QtoGQSudakov
 do SplittingGenerator:AddInitialSplitting c->g,c; QtoGQSudakov
 do SplittingGenerator:AddInitialSplitting b->g,b; QtoGQSudakov
 do SplittingGenerator:AddInitialSplitting dbar->g,dbar; dtoGdSudakov
 do SplittingGenerator:AddInitialSplitting ubar->g,ubar; utoGuSudakov
 do SplittingGenerator:AddInitialSplitting sbar->g,sbar; QtoGQSudakov
 do SplittingGenerator:AddInitialSplitting cbar->g,cbar; QtoGQSudakov
 do SplittingGenerator:AddInitialSplitting bbar->g,bbar; QtoGQSudakov
 #
 do SplittingGenerator:AddInitialSplitting d->gamma,d; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting u->gamma,u; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting s->gamma,s; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting c->gamma,c; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting b->gamma,b; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting dbar->gamma,dbar; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting ubar->gamma,ubar; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting sbar->gamma,sbar; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting cbar->gamma,cbar; QtoGammaQSudakov
 do SplittingGenerator:AddInitialSplitting bbar->gamma,bbar; QtoGammaQSudakov