ATLAS Offline Software
Loading...
Searching...
No Matches
powheg_V1.py
Go to the documentation of this file.
1# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2
3from .powheg_base import PowhegBase
4
5
7 """! Base class for PowhegBox V1 processes.
8
9 All V1 processes inherit from this class.
10
11 @author James Robinson <james.robinson@cern.ch>
12 """
13
14 def __init__(self, base_directory, executable_name, **kwargs):
15 """! Constructor.
16
17 @param base_directory path to PowhegBox code.
18 @param executable_name folder containing appropriate PowhegBox executable.
19 @param warning_output list of patterns which if found in the output will be treated as warning in the log.
20 @param error_output list of patterns which if found in the output will be treated as error in the log.
21 @param info_output list of patterns which if found in the output will be treated as info in the log.
22 """
23 super(PowhegV1, self).__init__(base_directory, "POWHEG-BOX-NoUserProcesses", executable_name, is_reweightable=False, warning_output = [], info_output = [], error_output = [], **kwargs)
24
25 @property
26 def default_PDFs(self):
27 """! Default PDFs for this process."""
28 __PDF_list = list(range(260000, 260101)) # NNPDF30_nlo_as_0118 central with eigensets
29 __PDF_list += [266000, 265000] # NNPDF30_nlo_as_0119 and NNPDF30_nlo_as_0117
30 __PDF_list += [303200] # NNPDF30_nnlo_as_0118_hessian
31 __PDF_list += [27400, 27100] # MSHT20nnlo_as118, MSHT20nlo_as118
32 __PDF_list += [14000, 14400] # CT18NNLO, CT18NLO
33 __PDF_list += [304400, 304200] # NNPDF31_nnlo_as_0118_hessian, NNPDF31_nlo_as_0118_hessian
34 __PDF_list += [331500, 331100] # NNPDF40_nnlo_as_01180_hessian, NNPDF40_nlo_as_01180
35 __PDF_list += [14200, 14300, 14100] # CT18ANNLO, CT18XNNLO and CT18ZNNLO
36 __PDF_list += list(range(93300, 93343)) # PDF4LHC21_40_pdfas with eigensets
37 __PDF_list += [338500, 338520, 338540] # NNPDF40MC_lo_as_01180, NNPDF40MC_nlo_as_01180, NNPDF40MC_nnlo_as_01180
38 return __PDF_list
39
40 @property
41 def default_scales(self):
42 """! Default scale variations for this process."""
43 return [[1.0, 1.0, 1.0, 0.5, 0.5, 2.0, 2.0],\
44 [1.0, 0.5, 2.0, 0.5, 1.0, 1.0, 2.0]]
45
46 @property
48 """! Wildcarded list of files created by this process that can be deleted."""
49 return [
50 "FlavRegList",
51 "pwg*.top",
52 "pwgseeds.dat",
53 "pwgcounters*.dat",
54 "pwgubsigma.dat",
55 "pwhg_checklimits"
56 ]
57
58 @property
60 """! Wildcarded list of integration files that might be created by this process."""
61 return [
62 "pwgbtildeupb*.dat",
63 "pwgfullgrid.dat",
64 "pwggrid*.dat",
65 "pwgremnupb*.dat",
66 "pwgstat*.dat",
67 "pwgubound*.dat",
68 "pwgxgrid*.dat"
69 ]
70
71 @property
73 """! Wildcarded list of integration files that are needed for this process."""
74 """! If some of the patterns don't match any files before running, a warning will be made to inform that no pre-made integration grid will be used."""
75 return self.integration_file_names
76
77 @property
78 def powheg_version(self):
79 """! Version of PowhegBox process."""
80 return "V1"
Base class for PowhegBox V1 processes.
Definition powheg_V1.py:6
mandatory_integration_file_names(self)
Wildcarded list of integration files that are needed for this process.
Definition powheg_V1.py:72
files_for_cleanup(self)
Wildcarded list of files created by this process that can be deleted.
Definition powheg_V1.py:47
default_PDFs(self)
Default PDFs for this process.
Definition powheg_V1.py:26
__init__(self, base_directory, executable_name, **kwargs)
Constructor.
Definition powheg_V1.py:14
integration_file_names(self)
Wildcarded list of integration files that might be created by this process.
Definition powheg_V1.py:59
powheg_version(self)
Version of PowhegBox process.
Definition powheg_V1.py:78
default_scales(self)
Default scale variations for this process.
Definition powheg_V1.py:41
Base class for PowhegBox processes.
integration_file_names(self)
Wildcarded list of integration files that might be created by this process.