ATLAS Offline Software
Loading...
Searching...
No Matches
mc.PhPy8EG_A14NNPDF23_fourtops_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#--------------------------------------------------------------
12evgenConfig.description = "POWHEG+Pythia8 4 tops production with A14 NNPDF2.3 tune."
13evgenConfig.keywords = ["SM", "top"]
14evgenConfig.contact = ["tpelzer@cern.ch"]
15
16# --------------------------------------------------------------
17# Load ATLAS defaults for the Powheg 4 tops process
18# --------------------------------------------------------------
19include("PowhegControl/PowhegControl_fourtops_Common.py")
20
21# --------------------------------------------------------------
22# Settings
23# --------------------------------------------------------------
24# define the decay mode
25#PowhegConfig.decay_mode = "t t~ t t~ > all" # inclusive is the default
26#PowhegConfig.decay_mode = "t t~ t t~ > 4l" # exactly 4 leptons
27#PowhegConfig.decay_mode = "t t~ t t~ > 3l4l" # at least 3 leptons
28#PowhegConfig.decay_mode = "t t~ t t~ > 2lSS" # exactly 2 leptons, same sign
29#PowhegConfig.decay_mode = "t t~ t t~ > 2lOS" # exactly 2 leptons, opposite sign
30#PowhegConfig.decay_mode = "t t~ t t~ > 1l" # exactly 1 lepton
31#PowhegConfig.decay_mode = "t t~ t t~ > allhad" # fully-hadronic
32#PowhegConfig.decay_mode = "t t~ t t~ > undecayed" # undecayed (e.g. to produce a lhe file)
33
34PowhegConfig.decay_mode = "t t~ t t~ > all [MadSpin]"
35PowhegConfig.MadSpin_decays= ["decay t > w+ b, w+ > all all", "decay t~ > w- b~, w- > all all"]
36#PowhegConfig.MadSpin_process= "generate p p > t t~ t t~ [QCD]" # this process is default - can be changed (for studies)
37
40
41# --------------------------------------------------------------
42# Generate events
43# --------------------------------------------------------------
44PowhegConfig.generate()
45
46#--------------------------------------------------------------
47# Pythia8 showering with the A14 NNPDF2.3 tune, main31 routine
48#--------------------------------------------------------------
49include("Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py")
50include("Pythia8_i/Pythia8_Powheg_Main31.py")
51# Setting the appropriate number of final state particles for the main31 routine
52genSeq.Pythia8.Commands += [ 'Powheg:NFinal = 4' ]
53
54