3from AthenaCommon
import Logging
4from ..powheg_V2
import PowhegV2
5from ..external
import ExternalMadSpin
8logger = Logging.logging.getLogger(
"PowhegControl")
12 """! Default Powheg configuration for single-top production in the t-channel in the four-flavour scheme.
14 Create a configurable object with all applicable Powheg options.
16 @author James Robinson <james.robinson@cern.ch>
20 """! Constructor: all process options are set here.
22 @param base_directory: path to PowhegBox code.
23 @param kwargs dictionary of arguments from Generate_tf.
25 super(t_tch_4FS, self).
__init__(base_directory,
"ST_tch_4f", **kwargs)
141 self.
add_keyword(
"ttype",
"t > undecayed", name=
"decay_mode")
154 """! Validate ttype keywords."""
157 logger.warning(
"Decay mode {} not recognised!".format(self.
decay_mode))
158 raise ValueError(
"Decay mode {} not recognised!".format(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.
Class for running external MadSpin process.
Default Powheg configuration for single-top production in the t-channel in the four-flavour scheme.
__init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
validate_decays(self)
Validate ttype keywords.
list allowed_decay_modes
List of allowed decay modes.
Base class for PowhegBox V2 processes.
dict externals
List of external processes to schedule.
list validation_functions
List of validation functions to run before preparing runcard.
add_algorithm(self, alg_or_process)
Add an algorithm or external process to the sequence.
default_scales(self)
Default scale variations for this process.