HPS-MC
PEDE Class Reference

Run pede minimizer over input bin files for alignment. More...

Inheritance diagram for PEDE:
Component

Public Member Functions

def __init__ (self, **kwargs)
 
def required_parameters (self)
 Return a list of required parameters. More...
 
def required_config (self)
 Return a list of required configuration settings. More...
 
def optional_parameters (self)
 Return a list of optional parameters. More...
 
def cmd_args (self)
 Return the command arguments of this component. More...
 
def setup (self)
 
def cleanup (self)
 
- Public Member Functions inherited from Component
def __init__ (self, name, command=None, nevents=None, seed=1, inputs=[], outputs=None, append_tok=None, output_ext=None, ignore_job_params=[], **kwargs)
 
def cmd_line_str (self)
 
def execute (self, log_out=sys.stdout, log_err=sys.stderr)
 Generic component execution method. More...
 
def cmd_exists (self)
 Check if the component's assigned command exists. More...
 
def cmd_args_str (self)
 Return list of arguments, making sure they are all converted to strings. More...
 
def config_logging (self, parser)
 Configure the logging for a component. More...
 
def config (self, parser)
 Automatic configuration. More...
 
def set_parameters (self, params)
 Set class attributes for the component based on JSON parameters. More...
 
def check_config (self)
 Raise an exception on the first missing config setting for this component. More...
 
def input_files (self)
 Get a list of input files for this component. More...
 
def output_files (self)
 Return a list of output files created by this component. More...
 
def config_from_environ (self)
 Configure component from environment variables which are just upper case versions of the required config names set in the shell environment. More...
 

Public Attributes

 to_float
 
 param_map
 
 pede_minimization
 
 subito
 
 constraint_file
 
 previous_fit
 
 beamspot_constraints
 
 survey_constraints
 
 output_ext
 
- Public Attributes inherited from Component
 name
 
 command
 
 nevents
 
 seed
 
 inputs
 
 outputs
 
 append_tok
 
 output_ext
 
 ignore_job_params
 
 hpsmc_dir
 
 logger
 

Private Member Functions

def _write_pede_steering_file (self)
 
def _print_pede_res (self)
 

Private Attributes

 _pede_steering_file
 

Detailed Description

Run pede minimizer over input bin files for alignment.

Definition at line 13 of file _pede.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
**  kwargs 
)

Definition at line 17 of file _pede.py.

Member Function Documentation

◆ _print_pede_res()

def _print_pede_res (   self)
private

Definition at line 100 of file _pede.py.

◆ _write_pede_steering_file()

def _write_pede_steering_file (   self)
private

Definition at line 33 of file _pede.py.

◆ cleanup()

def cleanup (   self)
post-run de-initialization

Reimplemented from Component.

Definition at line 128 of file _pede.py.

◆ cmd_args()

def cmd_args (   self)

Return the command arguments of this component.

Reimplemented from Component.

Definition at line 118 of file _pede.py.

◆ optional_parameters()

def optional_parameters (   self)

Return a list of optional parameters.

Optional parameters are: nevents, seed

Reimplemented from Component.

Definition at line 115 of file _pede.py.

◆ required_config()

def required_config (   self)

Return a list of required configuration settings.

There are none by default.

Reimplemented from Component.

Definition at line 112 of file _pede.py.

◆ required_parameters()

def required_parameters (   self)

Return a list of required parameters.

The job will fail if these are not present in the JSON file.

Reimplemented from Component.

Definition at line 109 of file _pede.py.

◆ setup()

def setup (   self)
pre-run initialization

Reimplemented from Component.

Definition at line 124 of file _pede.py.

Member Data Documentation

◆ _pede_steering_file

_pede_steering_file
private

Definition at line 18 of file _pede.py.

◆ beamspot_constraints

beamspot_constraints

Definition at line 26 of file _pede.py.

◆ constraint_file

constraint_file

Definition at line 24 of file _pede.py.

◆ output_ext

output_ext

Definition at line 29 of file _pede.py.

◆ param_map

param_map

Definition at line 20 of file _pede.py.

◆ pede_minimization

pede_minimization

Definition at line 21 of file _pede.py.

◆ previous_fit

previous_fit

Definition at line 25 of file _pede.py.

◆ subito

subito

Definition at line 23 of file _pede.py.

◆ survey_constraints

survey_constraints

Definition at line 27 of file _pede.py.

◆ to_float

to_float

Definition at line 19 of file _pede.py.


The documentation for this class was generated from the following file: