ATLAS Offline Software
Loading...
Searching...
No Matches
mc.PhPy8EG_MadSpin_example.py
Go to the documentation of this file.
1# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3# --------------------------------------------------------------
4# EVGEN configuration
5# --------------------------------------------------------------
6evgenConfig.description = "PowhegControl example of MadSpin"
7evgenConfig.keywords = ["SM", "top"]
8evgenConfig.contact = ["james.robinson@cern.ch"]
9
10# --------------------------------------------------------------
11# Load ATLAS defaults for the Powheg tt process
12# --------------------------------------------------------------
13include("PowhegControl/PowhegControl_tt_Common.py")
14
15# --------------------------------------------------------------
16# Set process options and generate
17# --------------------------------------------------------------
18PowhegConfig.decaymode = "undecayed"
19PowhegConfig.MadSpin_decays.append("decay t > w+ b, w+ > l+ vl")
20PowhegConfig.MadSpin_decays.append("decay t > w+ b, w+ > j j")
21PowhegConfig.MadSpin_process = "\n".join(["generate p p > t t~ [QCD]",
22 "add process b g > t t~ b [QCD]",
23 "add process b~ g > t t~ b~ [QCD]",
24 "add process p p > t t~ j[QCD]",
25 "add process b b~ > t t~ j[QCD]",
26 "add process b b~ > t t~[QCD]"])
27PowhegConfig.generate()
28
29# --------------------------------------------------------------
30# Pythia8 showering with the A14 NNPDF2.3 tune
31# --------------------------------------------------------------
32include("Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py")
33include("Pythia8_i/Pythia8_Powheg.py")