Run the hpstr analysis tool. More...
Public Member Functions | |
__init__ (self, cfg=None, is_data=0, year=None, tracking=None, **kwargs) | |
setup (self) | |
Setup HPSTR component. | |
required_parameters (self) | |
Return list of required parameters. | |
optional_parameters (self) | |
Return list of optional parameters. | |
required_config (self) | |
Return list of required configs. | |
cmd_args (self) | |
Setup command arguments. | |
output_files (self) | |
Adjust names of output files. | |
execute (self, log_out, log_err) | |
Execute HPSTR component. | |
![]() | |
cmd_line_str (self) | |
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. | |
cleanup (self) | |
Perform post-job cleanup such as deleting temporary files. | |
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. | |
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 | |
cfg | |
configuration | |
is_data | |
run mode | |
year | |
year | |
tracking | |
tracking option (KF, GBL, BOTH) | |
hpstr_install_dir | |
hpstr_base | |
env_script | |
config_files | |
cfg_path | |
append_tok | |
nevents | |
name | |
![]() | |
name | |
command | |
nevents | |
seed | |
inputs | |
outputs | |
append_tok | |
output_ext | |
ignore_job_params | |
hpsmc_dir | |
logger | |
Additional Inherited Members | |
![]() | |
_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. | |
Run the hpstr analysis tool.
Required parameters are: config_files
Optional parameters are: year, is_data, nevents
Required configs are: hpstr_install_dir, hpstr_base
__init__ | ( | self, | |
cfg = None , |
|||
is_data = 0 , |
|||
year = None , |
|||
tracking = None , |
|||
** | kwargs | ||
) |
cmd_args | ( | self | ) |
execute | ( | self, | |
log_out, | |||
log_err | |||
) |
optional_parameters | ( | self | ) |
output_files | ( | self | ) |
required_config | ( | self | ) |
required_parameters | ( | self | ) |
setup | ( | self | ) |