3 from .powheg_base
import PowhegBase
8 """! Base class for PowhegBox RES processes.
10 All RES processes inherit from this class.
12 @author James Robinson <james.robinson@cern.ch>
15 def __init__(self, base_directory, executable_name, **kwargs):
18 @param base_directory path to PowhegBox code.
19 @param executable_name folder containing appropriate PowhegBox executable.
20 @param is_LO True if this is a leading-order process.
21 @param warning_output list of patterns which if found in the output will be treated as warning in the log.
22 @param error_output list of patterns which if found in the output will be treated as error in the log.
23 @param info_output list of patterns which if found in the output will be treated as info in the log.
25 super(PowhegBeta, self).
__init__(base_directory,
"powheg-box-res-bb4l-sl-beta", executable_name, warning_output = [], info_output = [], error_output = [], **kwargs)
29 """! Default PDFs for this process."""
31 __PDF_list += [266000, 265000]
32 __PDF_list += [303200]
33 __PDF_list += [27400, 27100]
34 __PDF_list += [14000, 14400]
35 __PDF_list += [304400, 304200]
36 __PDF_list += [331500, 331100]
37 __PDF_list += [14200, 14300, 14100]
39 __PDF_list += [338500, 338520, 338540]
44 """! Default scale variations for this process."""
45 return [[1.0, 1.0, 1.0, 0.5, 0.5, 2.0, 2.0],\
46 [1.0, 0.5, 2.0, 0.5, 1.0, 1.0, 2.0]]
50 """! Wildcarded list of files created by this process that can be deleted."""
57 "pwgboundviolations*.dat",
69 """! Wildcarded list of integration files that might be created by this process."""
81 """! Wildcarded list of integration files that are needed for this process."""
86 """! Version of PowhegBox process."""
90 """! Set whether the specified POWHEG-BOX generation stage is complete."""
92 required_files = [
"pwg*xgrid*.dat"]
94 required_files = [
"pwg*upb*.dat",
"pwggrid*.dat"]
96 required_files = [
"pwgfullgrid*.dat",
"pwgubound*.dat"]
101 for required_file
in required_files:
102 if not glob.glob(required_file):