|
ATLAS Offline Software
|
Go to the documentation of this file.
3 from AthenaCommon
import Logging
4 from ..powheg_V2
import PowhegV2
10 logger = Logging.logging.getLogger(
"PowhegControl")
14 """! Default Powheg configuration for neutralino pair production.
16 Create a configurable object with all applicable Powheg options.
18 @author James Robinson <james.robinson@cern.ch>
22 """! Constructor: all process options are set here.
24 @param base_directory path to PowhegBox code.
25 @param kwargs dictionary of arguments from Generate_tf.
27 super(chi0chi0, self).
__init__(base_directory, os.path.join(
"weakinos",
"neuIneuJ"), powheg_executable=
"pwhg_main_ninj", **kwargs)
30 if len(glob.glob(
"*.slha")) > 0:
31 input_slha = glob.glob(
"*.slha")[0]
32 logger.info(
"Using input SLHA file: {}".
format(input_slha))
33 shutil.move(input_slha,
"input_parameters.slha")
35 logger.info(
"Locating input SLHA distributed with POWHEG...")
36 shutil.copy(os.path.join(os.path.split(self.
executable)[0],
"testrun",
"input_mSUGRA.slha"),
"input_parameters.slha")
42 self.
allowed_weakinos = {
"chi10": 1000022,
"chi20": 1000023,
"chi30": 1000025,
"chi40": 1000035}
73 self.
add_keyword(
"fin1",
"chi10", name=
"neutralino_A")
74 self.
add_keyword(
"fin2",
"chi20", name=
"neutralino_B")
159 """! Validate weakinos."""
162 for parameter
in [
"neutralino_A",
"neutralino_B"]:
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.
Default Powheg configuration for neutralino pair production.
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.
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_weakinos
List of allowed weakinos.
def validate_weakinos(self)
Validate weakinos.
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.
executable
Powheg executable that will be used.