|
ATLAS Offline Software
|
Go to the documentation of this file.
3 from AthenaCommon
import Logging
4 from ..powheg_RES
import PowhegRES
7 logger = Logging.logging.getLogger(
"PowhegControl")
11 """! Default Powheg configuration for associated Higgs boson and W-boson production plus one jet, with electroweak and quark mass effects.
13 Create a configurable object with all applicable Powheg options.
14 @author James Robinson <james.robinson@cern.ch>
18 """! Constructor: all process options are set here.
20 @param base_directory path to PowhegBox code.
21 @param kwargs dictionary of arguments from Generate_tf.
23 super(HWj_EW, self).
__init__(base_directory,
"HWJ_ew", **kwargs)
26 self.
allowed_decay_modes = [
"w+ > e+ ve",
"w- > e- ve~",
"w+ > mu+ vm",
"w- > mu- vm~",
"w+ > tau+ vt",
27 "w- > tau- vt~",
"w+ > j j",
"w- > j j",
"w+ > l+ vl",
"w- > l- vl~",
"w+ > all",
144 self.
add_keyword(
"runningscales", 3, description=
"scale at underlying Born level. [0: mh+mw; 1: Ht; 2: sqrt(pt_l1*pt_l2); 3: sqrt((p_H+p_l1+p_l2)^2)]")
184 """! Validate idvecbos and vdecaymode keywords."""
189 __decay_mode_lookup = {
"e ve": 1,
"mu vm": 2,
"tau vt": 3,
"j j": 0,
"l vl": 11,
"all": 10}
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 parameters_by_name(self, name)
Retrieve all parameters that use a given name.
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.
def validate_decays(self)
Validate idvecbos and vdecaymode keywords.
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
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.
std::string join(const std::vector< std::string > &v, const char c=',')
def default_PDFs(self)
Default PDFs for this process.
allowed_decay_modes
List of allowed decay modes.
Base class for PowhegBox RES processes.
Default Powheg configuration for associated Higgs boson and W-boson production plus one jet,...