ATLAS Offline Software
bb.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaCommon import Logging
4 from ...parameters import powheg_atlas_common
5 from ..powheg_V2 import PowhegV2
6 
7 
8 logger = Logging.logging.getLogger("PowhegControl")
9 
10 
11 class bb(PowhegV2):
12  """! Default Powheg configuration for b-quark pair production.
13 
14  Create a configurable object with all applicable Powheg options.
15 
16  @author James Robinson <james.robinson@cern.ch>
17  """
18 
19  def __init__(self, base_directory, **kwargs):
20  """! Constructor: all process options are set here.
21 
22  @param base_directory path to PowhegBox code.
23  @param kwargs dictionary of arguments from Generate_tf.
24  """
25  super(bb, self).__init__(base_directory, "hvq", **kwargs)
26 
27  # Add all keywords for this process, overriding defaults if required
28  self.add_keyword("bmass_lhe")
29  self.add_keyword("bornktmin", 5.0)
30  self.add_keyword("bornonly")
31  self.add_keyword("bornsuppfact")
32  self.add_keyword("bornzerodamp")
33  self.add_keyword("bottomthr")
34  self.add_keyword("bottomthrpdf")
35  self.add_keyword("btildeborn")
36  self.add_keyword("btildecoll")
37  self.add_keyword("btildereal")
38  self.add_keyword("btildevirt")
39  self.add_keyword("btlscalect")
40  self.add_keyword("btlscalereal")
41  self.add_keyword("charmthr")
42  self.add_keyword("charmthrpdf")
43  self.add_keyword("check_bad_st1")
44  self.add_keyword("check_bad_st2")
45  self.add_keyword("clobberlhe")
46  self.add_keyword("cmass_lhe")
47  self.add_keyword("colltest")
48  self.add_keyword("compress_lhe")
49  self.add_keyword("compress_upb")
50  self.add_keyword("compute_rwgt")
51  self.add_keyword("doublefsr")
52  self.add_keyword("evenmaxrat")
53  self.add_keyword("facscfact", self.default_scales[0])
54  self.add_keyword("fastbtlbound")
55  self.add_keyword("fixedgrid")
56  self.add_keyword("fixedscale")
57  self.add_keyword("flg_debug")
58  self.add_keyword("foldcsi", 5)
59  self.add_keyword("foldphi", 10)
60  self.add_keyword("foldy", 5)
61  self.add_keyword("fullrwgt")
62  self.add_keyword("fullrwgtmode")
63  self.add_keyword("hdamp")
64  self.add_keyword("hfact")
65  self.add_keyword("icsimax")
66  self.add_keyword("ih1")
67  self.add_keyword("ih2")
68  self.add_keyword("itmx1", 4)
69  self.add_keyword("itmx1rm")
70  self.add_keyword("itmx2", 5)
71  self.add_keyword("itmx2rm")
72  self.add_keyword("iupperfsr")
73  self.add_keyword("iupperisr")
74  self.add_keyword("iymax")
75  self.add_keyword("lhans1", self.default_PDFs)
76  self.add_keyword("lhans2", self.default_PDFs)
77  self.add_keyword("lhapdf6maxsets")
78  self.add_keyword("lhrwgt_descr")
79  self.add_keyword("lhrwgt_group_combine")
80  self.add_keyword("lhrwgt_group_name")
81  self.add_keyword("lhrwgt_id")
82  self.add_keyword("LOevents")
83  self.add_keyword("manyseeds")
84  self.add_keyword("max_io_bufsize")
85  self.add_keyword("maxseeds")
86  self.add_keyword("minlo")
87  self.add_keyword("mintupbratlim")
88  self.add_keyword("mintupbxless")
89  self.add_keyword("ncall1", 10000)
90  self.add_keyword("ncall1rm")
91  self.add_keyword("ncall2", 70000)
92  self.add_keyword("ncall2rm")
93  self.add_keyword("ncallfrominput")
94  self.add_keyword("noevents")
95  self.add_keyword("novirtual")
96  self.add_keyword("nubound", 150000)
97  self.add_keyword("olddij")
98  self.add_keyword("par_2gsupp")
99  self.add_keyword("par_diexp")
100  self.add_keyword("par_dijexp")
101  self.add_keyword("parallelstage")
102  self.add_keyword("pdfreweight")
103  self.add_keyword("ptsqmin")
104  self.add_keyword("ptsupp")
105  self.add_keyword("qmass", powheg_atlas_common.mass.b, name="mass_b", description="b-quark mass in GeV")
106  self.add_keyword("radregion")
107  self.add_keyword("rand1")
108  self.add_keyword("rand2")
109  self.add_keyword("renscfact", self.default_scales[1])
110  self.add_keyword("rwl_add")
111  self.add_keyword("rwl_file")
112  self.add_keyword("rwl_format_rwgt")
113  self.add_keyword("rwl_group_events")
114  self.add_keyword("skipextratests")
115  self.add_keyword("smartsig")
116  self.add_keyword("softtest")
117  self.add_keyword("stage2init")
118  self.add_keyword("storeinfo_rwgt")
119  self.add_keyword("storemintupb")
120  self.add_keyword("testplots")
121  self.add_keyword("testsuda")
122  self.add_keyword("topdecaymode", "00000", frozen=True)
123  self.add_keyword("ubexcess_correct")
124  self.add_keyword("ubsigmadetails")
125  self.add_keyword("use-old-grid")
126  self.add_keyword("use-old-ubound")
127  self.add_keyword("withdamp")
128  self.add_keyword("withnegweights")
129  self.add_keyword("withsubtr")
130  self.add_keyword("xgriditeration")
131  self.add_keyword("xupbound", 8)
python.processes.powheg_base.PowhegBase.default_scales
def default_scales(self)
Default scale variations for this process.
Definition: powheg_base.py:246
python.processes.configurable.Configurable.add_keyword
def add_keyword(self, keyword, value=None, name=None, frozen=None, hidden=None, description=None, **kwargs)
Register configurable parameter that is exposed to the user.
Definition: configurable.py:21
python.processes.powheg.bb.bb
Default Powheg configuration for b-quark pair production.
Definition: bb.py:11
python.processes.powheg.bb.bb.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: bb.py:19
python.processes.powheg_base.PowhegBase.default_PDFs
def default_PDFs(self)
Default PDFs for this process.
Definition: powheg_base.py:241
python.processes.powheg_V2.PowhegV2
Base class for PowhegBox V2 processes.
Definition: powheg_V2.py:6