|
ATLAS Offline Software
|
Go to the documentation of this file.
3 from AthenaCommon
import Logging
4 from ..powheg_V2
import PowhegV2
7 logger = Logging.logging.getLogger(
"PowhegControl")
11 """! Default Powheg configuration for single-top production in the s-channel.
13 Create a configurable object with all applicable Powheg options.
15 @author James Robinson <james.robinson@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.
24 super(t_sch, self).
__init__(base_directory,
"ST_sch", **kwargs)
31 "t > b mu+ vm",
"t > b tau+ vt",
"t~ > all",
"t~ > b~ j j",
"t~ > b~ l- vl~",
32 "t~ > b~ emu- vemu~",
"t~ > b~ e- ve~",
"t~ > b~ mu- vm~",
"t~ > b~ tau- vt~"]
155 """! Validate semileptonic and topdecaymode keywords."""
158 logger.warning(
"Decay mode {} not recognised!".
format(self.decay_mode))
159 raise ValueError(
"Decay mode {} not recognised!".
format(self.decay_mode))
163 __decay_mode_lookup = {
"all":
"11111",
"j j":
"00011",
"l vl":
"11100",
"emu vemu":
"11000",
"e ve":
"10000",
"mu vm":
"01000",
"tau vt":
"00100"}
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 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 parameters_by_keyword(self, keyword)
Retrieve all parameters that use a given keyword.
validation_functions
List of validation functions to run before preparing runcard.
allowed_decay_modes
List of allowed decay modes.
def validate_decays(self)
Validate semileptonic and topdecaymode keywords.
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
def default_PDFs(self)
Default PDFs for this process.
Default Powheg configuration for single-top production in the s-channel.
Base class for PowhegBox V2 processes.