! This file demonstrates CKKW-L merging with Vincia.

! Number of generated events.
Main:numberOfEvents         = 10000

! Use events from LHEF input.
Beams:frameType             = 4

! Be more forgiving with momentum mismatches.
Check:epTolErr              = 2e-2

! Use Vincia parton-shower model.
PartonShowers:model         = 2

! Merging settings.
! Note that Vincia uses a different process syntax.
Merging:TMS                 = 20.
Merging:Process             = {p p > l+ l-}
Merging:nJetMax             = 2
Vincia:pTmaxMatch           = 1

! Set renormalisation / factorisation scales of the 2->2 process.
Merging:muFac               = 91.188
Merging:muRen               = 91.188
Merging:muFacInME           = 91.188
Merging:muRenInME           = 91.188

! Optionally use same PDFs and alphaS as in ME calculation.
! PDF:pSet                  = LHAPDF6:CT10nlo
! SpaceShower:alphaSvalue   = 0.118
! TimeShower:alphaSvalue    = 0.118

! Optionally write HepMC events.
! (Pythia has to be configured with --with-hepmc3 or --with-rivet).
! Init:plugins                = {libpythia8hepmc3.so::HepMC3Hooks}
! HepMC:filename              = main164mess.hepmc

! Optionally include Rivet analyses.
! (Pythia has to be configured with --with-rivet).
! Init:plugins                = {libpythia8rivet.so::RivetHooks}
! Rivet:fileName              = main164mess.yoda
! Rivet:analyses              = {MC_XS,MC_WEIGHTS}

! Subruns for CKKW-L merging.
Main:numberOfSubruns        = 1
Main:subrun                 = 0
Merging:doKTMerging         = on
Beams:LHEF                  = zProduction_Ckkwl_012.lhe.gz
