HPS-MC
 
Loading...
Searching...
No Matches
PEDE Class Reference

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

Inheritance diagram for PEDE:
Component

Public Member Functions

 __init__ (self, **kwargs)
 
 required_parameters (self)
 Return a list of required parameters.
 
 required_config (self)
 Return a list of required configuration settings.
 
 optional_parameters (self)
 Return a list of optional parameters.
 
 cmd_args (self)
 Return the command arguments of this component.
 
 setup (self)
 
 cleanup (self)
 
- Public Member Functions inherited from Component
 cmd_line_str (self)
 
 execute (self, log_out=sys.stdout, log_err=sys.stderr)
 Generic component execution method.
 
 cmd_exists (self)
 Check if the component's assigned command exists.
 
 cmd_args_str (self)
 Return list of arguments, making sure they are all converted to strings.
 
 config_logging (self, parser)
 Configure the logging for a component.
 
 config (self, parser)
 Automatic configuration.
 
 set_parameters (self, params)
 Set class attributes for the component based on JSON parameters.
 
 check_config (self)
 Raise an exception on the first missing config setting for this component.
 
 input_files (self)
 Get a list of input files for this component.
 
 output_files (self)
 Return a list of output files created by this component.
 
 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.
 

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
 

Protected Member Functions

 _write_pede_steering_file (self)
 
 _print_pede_res (self)
 
- Protected Member Functions inherited from Component
 _inputs_to_outputs (self)
 This is the default method for automatically transforming input file names to outputs when output file names are not explicitly provided.
 

Protected 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__()

__init__ (   self,
**  kwargs 
)

Reimplemented from Component.

Definition at line 17 of file _pede.py.

Member Function Documentation

◆ _print_pede_res()

_print_pede_res (   self)
protected

Definition at line 100 of file _pede.py.

◆ _write_pede_steering_file()

_write_pede_steering_file (   self)
protected

Definition at line 33 of file _pede.py.

◆ cleanup()

cleanup (   self)
post-run de-initialization

Reimplemented from Component.

Definition at line 128 of file _pede.py.

◆ cmd_args()

cmd_args (   self)

Return the command arguments of this component.

Reimplemented from Component.

Definition at line 118 of file _pede.py.

◆ optional_parameters()

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()

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()

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()

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
protected

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: