ATLAS Offline Software
Loading...
Searching...
No Matches
mc.PhPy8EG_A14NNPDF23_ttj_example.py
Go to the documentation of this file.
1# Copyright (C) 2002-2021 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#--------------------------------------------------------------
12evgenConfig.description = "POWHEG+Pythia8 tt+jet production with A14 NNPDF2.3 tune."
13evgenConfig.keywords = ["SM", "top", "1jet"]
14evgenConfig.contact = ["james.robinson@cern.ch", "stefan.richter@cern.ch"]
15
16# --------------------------------------------------------------
17# Load ATLAS defaults for the Powheg ttj process
18# --------------------------------------------------------------
19include("PowhegControl/PowhegControl_ttj_Common.py")
20
21# --------------------------------------------------------------
22# Settings
23# --------------------------------------------------------------
24# define the decay mode
25PowhegConfig.decay_mode = "t t~ > all" # inclusive is the default
26#PowhegConfig.decay_mode = "t t~ > b j j b~ j j"
27#PowhegConfig.decay_mode = "t t~ > b l+ vl b~ l- vl~"
28#PowhegConfig.decay_mode = "t t~ > b emu+ vemu b~ emu- vemu~"
29#PowhegConfig.decay_mode = "t t~ > semileptonic"
30#PowhegConfig.decay_mode = "t t~ > undecayed"
31
38
39# --------------------------------------------------------------
40# Generate events
41# --------------------------------------------------------------
42PowhegConfig.generate()
43
44#--------------------------------------------------------------
45# Pythia8 showering with the A14 NNPDF2.3 tune, main31 routine
46#--------------------------------------------------------------
47include("Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py")
48include("Pythia8_i/Pythia8_Powheg_Main31.py")
49# Setting the appropriate number of final state particles for the main31 routine
50genSeq.Pythia8.Commands += [ 'Powheg:NFinal = 3' ]