ATLAS Offline Software
Loading...
Searching...
No Matches
mc.PhPy8EG_ttbar_incl_valid.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3from EvgenJobTransforms.EvgenCAConfig import EvgenConfig
4
5
6class Sample(EvgenConfig):
7
8 def setupFlags(self, flags):
9 self.description = "POWHEG ttbar production for validation purposes"
10 self.keywords = ["SM", "top", "ttbar"]
11 self.contact = ["bwynnyck@cern.ch"]
12 self.nEventsPerJob = 10000
13
14 def setupProcess(self, flags):
15 from PowhegControl.PowhegConfig import PowhegCfg
16 from Pythia8_i.Pythia8Config import (
17 Pythia8_Powheg_Main31_Cfg,
18 Pythia8_A14_NNPDF23LO_EvtGen_Common_Cfg,
19 Pythia8EvtGenBaseCfg,
20 )
21
22 # ATLAS defaults for the Powheg tt process
23 ca, lhe_file = PowhegCfg(
24 flags,
25 process="tt",
26 settings={
27 "decay_mode": "t t~ > all",
28 "hdamp": 258.75, # 1.5 * mtop
29 "mu_F": [1.0, 2.0, 0.5, 1.0, 1.0, 0.5, 2.0, 0.5, 2.0], # factorisation scales, paired with the renormalisation scales below
30 "mu_R": [1.0, 1.0, 1.0, 2.0, 0.5, 0.5, 2.0, 2.0, 0.5], # List of renormalisation scales
31 "PDF": [260000, 25200, 13165, 90900, 265000, 266000, 303400], # NNPDF30_nlo_as_0118, MMHT2014nlo68clas118, CT14nlo_as_0118, PDF4LHC15_nlo_30, NNPDF30_nlo_as_0117, NNPDF30_nlo_as_0119
32 },
33 )
34
35 # Pythia8 showering: A14 tune with Main31 POWHEG matching
36 powheg_matching_commands = [
37 "Powheg:pTHard = 0",
38 "Powheg:pTdef = 2",
39 "Powheg:vetoCount = 3",
40 "Powheg:pTemt = 0",
41 "Powheg:emitted = 0",
42 "Powheg:MPIveto = 0",
43 ]
44 ca.merge(Pythia8_Powheg_Main31_Cfg(
45 flags,
46 ShowerCfg=Pythia8_A14_NNPDF23LO_EvtGen_Common_Cfg,
47 LHEFile=lhe_file,
48 NFinal=2,
49 Commands=powheg_matching_commands,
50 ))
51
52 # EvtGen afterburner (legacy uses the ..._EvtGen_Common fragment)
53 ca.merge(Pythia8EvtGenBaseCfg(flags))
54 return ca
setupProcess(self, flags)
setupFlags(self, flags)