! This file demonstrates UMEPS merging in Pythia.

! 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

! Merging settings.
Merging:TMS                 = 10.
Merging:Process             = pp>LEPTONS,NEUTRINOS
Merging:nJetMax             = 2
TimeShower:pTmaxMatch       = 1
SpaceShower: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 switch off rapidity ordering.
SpaceShower:rapidityOrder   = off

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

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

! Subruns for UMEPS merging.
Main:numberOfSubruns        = 1
Main:subrun                 = 0
Merging:doUMEPSTree         = on
Merging:doUMEPSSubt         = off
Beams:LHEF                  = zProduction_Ckkwl_012.lhe.gz
