3from AthenaCommon
import Logging
4from ..powheg_RES
import PowhegRES
7logger = Logging.logging.getLogger(
"PowhegControl")
11 """! Default Powheg configuration for W-boson Z-boson pair production including interference for identical leptons.
13 Create a configurable object with all applicable Powheg options.
15 @author Aonan Wang <aonan.wang@cern.ch>
19 """! Constructor: all process options are set here.
21 @param base_directory: path to PowhegBox code.
22 @param kwargs dictionary of arguments from Generate_tf.
27 infos.append(
"qqvvamp: increasing precision to")
28 super(WZj_MiNNLO, self).
__init__(base_directory,
"WZJ", warning_output=warnings, info_output=infos, error_output=errors, **kwargs)
38 "w- z > e- ve~ e+ e-",
"w- z > e- ve~ mu+ mu-",
"w- z > e- ve~ tau+ tau-",
39 "w- z > mu- vm~ e+ e-",
"w- z > mu- vm~ mu+ mu-",
"w- z > mu- vm~ tau+ tau-",
40 "w- z > tau- vt~ e+ e-",
"w- z > tau- vt~ mu+ mu-",
"w- z > tau- vt~ tau+ tau-",
41 "w+ z > e+ ve e+ e-",
"w+ z > e+ ve mu+ mu-",
"w+ z > e+ ve tau+ tau-",
42 "w+ z > mu+ vm e+ e-",
"w+ z > mu+ vm mu+ mu-",
"w+ z > mu+ vm tau+ tau-",
43 "w+ z > tau+ vt e+ e-",
"w+ z > tau+ vt mu+ mu-",
"w+ z > tau+ vt tau+ tau-"]
69 self.
add_keyword(
"Wdecaymode", 1, name=
"decay_mode", hidden=
False)
129 """! Validate the various decay mode keywords."""
134 __decay_mode_lookup = {
135 "w- z > e- ve~ e+ e-":
"WmZevee",
136 "w- z > e- ve~ mu+ mu-":
"WmZevmumu",
137 "w- z > e- ve~ tau+ tau-":
"WmZevtautau",
138 "w- z > mu- vm~ e+ e-":
"WmZmuvee",
139 "w- z > mu- vm~ mu+ mu-":
"WmZmuvmumu",
140 "w- z > mu- vm~ tau+ tau-":
"WmZmuvtautau",
141 "w- z > tau- vt~ e+ e-":
"WmZtauvee",
142 "w- z > tau- vt~ mu+ mu-":
"WmZtauvmumu",
143 "w- z > tau- vt~ tau+ tau-":
"WmZtauvtautau",
144 "w+ z > e+ ve e+ e-":
"WpZevee",
145 "w+ z > e+ ve mu+ mu-":
"WpZevmumu",
146 "w+ z > e+ ve tau+ tau-":
"WpZevtautau",
147 "w+ z > mu+ vm e+ e-":
"WpZmuvee",
148 "w+ z > mu+ vm mu+ mu-":
"WpZmuvmumu",
149 "w+ z > mu+ vm tau+ tau-":
"WpZmuvtautau",
150 "w+ z > tau+ vt e+ e-":
"WpZtauvee",
151 "w+ z > tau+ vt mu+ mu-":
"WpZtauvmumu",
152 "w+ z > tau+ vt tau+ tau-":
"WpZtauvtautau"}
153 if "Wp" in __decay_mode_lookup[self.
decay_mode]:
158 if "ev" in __decay_mode_lookup[self.
decay_mode]:
160 elif "muv" in __decay_mode_lookup[self.
decay_mode]:
165 if "ee" in __decay_mode_lookup[self.
decay_mode]:
167 elif "mumu" in __decay_mode_lookup[self.
decay_mode]:
add_keyword(self, keyword, value=None, name=None, frozen=None, hidden=None, description=None, **kwargs)
Register configurable parameter that is exposed to the user.
expose(self)
Add all names to the interface of this object.
parameters_by_keyword(self, keyword)
Retrieve all parameters that use a given keyword.
Default Powheg configuration for W-boson Z-boson pair production including interference for identical...
validate_decays(self)
Validate the various decay mode keywords.
__init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
list allowed_decay_modes
List of allowed decay modes.
Base class for PowhegBox RES processes.
list validation_functions
List of validation functions to run before preparing runcard.
check_decay_mode(self, decay_mode, allowed_decay_modes=None)
Check whether a decay mode is allowed an raise an exception if it is not.
default_scales(self)
Default scale variations for this process.