ATLAS Offline Software
mc.PhPy8EG_A14NNPDF23_ttZ_example.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 #--------------------------------------------------------------
4 # This is an example joboption to generate events with Powheg
5 # using ATLAS' interface. Users should optimise and carefully
6 # validate the settings before making an official sample request.
7 #--------------------------------------------------------------
8 
9 #--------------------------------------------------------------
10 # EVGEN configuration
11 #--------------------------------------------------------------
12 evgenConfig.description = "POWHEG+Pythia8 top pair plus Z boson production with A14 NNPDF2.3 tune."
13 evgenConfig.keywords = ["SM", "top"]
14 evgenConfig.contact = ["tpelzer@cern.ch"]
15 
16 # --------------------------------------------------------------
17 # Load ATLAS defaults for the Powheg ttZ process
18 # --------------------------------------------------------------
19 include("PowhegControl/PowhegControl_ttZ_Common.py")
20 
21 # --------------------------------------------------------------
22 # Settings
23 # --------------------------------------------------------------
24 # define the decay mode
25 PowhegConfig.decay_mode = "t t~ z > all" # inclusive is the default
26 #PowhegConfig.decay_mode = "t t~ z > b j j b~ j j emu+ emu-"
27 #PowhegConfig.decay_mode = "t t~ z > b l+ vl b~ l- vl~ emu+ emu-"
28 #PowhegConfig.decay_mode = "t t~ z > b emu+ vemu b~ emu- vemu~ emu+ emu-"
29 #PowhegConfig.decay_mode = "t t~ z > semileptonic emu+ emu-"
30 #PowhegConfig.decay_mode = "t t~ z > undecayed"
31 
38 
39 # --------------------------------------------------------------
40 # Generate events
41 # --------------------------------------------------------------
42 PowhegConfig.generate()
43 
44 #--------------------------------------------------------------
45 # Pythia8 showering with the A14 NNPDF2.3 tune, main31 routine
46 #--------------------------------------------------------------
47 include("Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py")
48 include("Pythia8_i/Pythia8_Powheg_Main31.py")
python.Include.include
include
Definition: Include.py:318