ATLAS Offline Software
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 # --------------------------------------------------------------
6 evgenConfig.description = "PowhegControl example of MadSpin"
7 evgenConfig.keywords = ["SM", "top"]
8 evgenConfig.contact = ["james.robinson@cern.ch"]
9 
10 # --------------------------------------------------------------
11 # Load ATLAS defaults for the Powheg tt process
12 # --------------------------------------------------------------
13 include("PowhegControl/PowhegControl_tt_Common.py")
14 
15 # --------------------------------------------------------------
16 # Set process options and generate
17 # --------------------------------------------------------------
18 PowhegConfig.decaymode = "undecayed"
19 PowhegConfig.MadSpin_decays.append("decay t > w+ b, w+ > l+ vl")
20 PowhegConfig.MadSpin_decays.append("decay t > w+ b, w+ > j j")
21 PowhegConfig.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]"])
27 PowhegConfig.generate()
28 
29 # --------------------------------------------------------------
30 # Pythia8 showering with the A14 NNPDF2.3 tune
31 # --------------------------------------------------------------
32 include("Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py")
33 include("Pythia8_i/Pythia8_Powheg.py")
python.Include.include
include
Definition: Include.py:318
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10