ATLAS Offline Software
mc.PhPy8EG_A14NNPDF23_tt_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 #--------------------------------------------------------------
12 evgenConfig.description = "POWHEG+Pythia8 top pair production with A14 NNPDF2.3 tune."
13 evgenConfig.keywords = ["SM", "top"]
14 evgenConfig.contact = ["james.robinson@cern.ch"]
15 
16 # --------------------------------------------------------------
17 # Load ATLAS defaults for the Powheg tt process
18 # --------------------------------------------------------------
19 include("PowhegControl/PowhegControl_tt_Common.py")
20 
21 # --------------------------------------------------------------
22 # Generate events
23 # --------------------------------------------------------------
24 PowhegConfig.generate()
25 
26 #--------------------------------------------------------------
27 # Pythia8 showering with the A14 NNPDF2.3 tune, main31 routine
28 #--------------------------------------------------------------
29 include("Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py")
30 include("Pythia8_i/Pythia8_Powheg_Main31.py")
31 # Setting the appropriate number of final state particles for the main31 routine
32 genSeq.Pythia8.Commands += [ 'Powheg:NFinal = 2' ]
python.Include.include
include
Definition: Include.py:318