|
ATLAS Offline Software
|
Go to the documentation of this file.
3 from ..powheg_V2
import PowhegV2
7 """! Default Powheg configuration for top pair production, with NLO corrections to the decays.
9 Create a configurable object with all applicable Powheg options.
11 @author James Robinson <james.robinson@cern.ch>
15 """! Constructor: all process options are set here.
17 @param base_directory: path to PowhegBox code.
18 @param kwargs dictionary of arguments from Generate_tf.
20 super(tt_NLOdecays, self).
__init__(base_directory,
"ttb_NLO_dec", **kwargs)
26 __tp_decays = [
"t > b e+ ve",
"t > b mu+ vm",
"t > b tau+ vt",
"t > b u d~",
"t > b c s~"]
27 __tm_decays = [
"t~ > b~ e- ve~",
"t~ > b~ mu- vm~",
"t~ > b~ tau- vt~",
"t~ > b~ u~ d",
"t~ > b~ c~ s"]
30 self.
allowed_decay_modes = [
"t t~ > {} {}".
format(tp.split(
"> ")[1], tm.split(
"> ")[1])
for tp, tm
in itertools.product(__tp_decays, __tm_decays)]
150 """! Validate topdec and tbardec keywords."""
155 __decay_mode_lookup = {
"e ve": 11,
"mu vm": 13,
"tau vt": 15,
"u d": 1,
"c s": 3}
std::string replace(std::string s, const std::string &s2, const std::string &s3)
def expose(self)
Add all names to the interface of this object.
def validate_decays(self)
Validate topdec and tbardec keywords.
def default_scales(self)
Default scale variations for this process.
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.
Default Powheg configuration for top pair production, with NLO corrections to the decays.
def parameters_by_keyword(self, keyword)
Retrieve all parameters that use a given keyword.
validation_functions
List of validation functions to run before preparing runcard.
def 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.
allowed_decay_modes
List of allowed decay modes.
def default_PDFs(self)
Default PDFs for this process.
Base class for PowhegBox V2 processes.
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.