|
| | __init__ (self, **kwargs) |
| |
| | cmd_args (self) |
| |
| | scan_root_file (self, filename) |
| |
| | scan_input_files (self, log_out) |
| |
| | scan_output_file (self, log_out) |
| |
| | validate_merge (self, log_out) |
| |
| | print_summary (self, log_out) |
| |
| | execute (self, log_out, log_err) |
| |
| | output_files (self) |
| |
| | required_config (self) |
| |
| | 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.
|
| |
| | setup (self) |
| | Perform any necessary setup for this component to run such as making symlinks to required directories.
|
| |
| | 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.
|
| |
| | required_parameters (self) |
| | Return a list of required parameters.
|
| |
| | optional_parameters (self) |
| | Return a list of optional 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.
|
| |
Merge ROOT files using hadd with event count validation.
This component uses ROOT's hadd utility to merge multiple ROOT files
into a single output file, and validates that all events are preserved.
Definition at line 1676 of file tools.py.
| __init__ |
( |
|
self, |
|
|
** |
kwargs |
|
) |
| |
Initialize MergeROOT component.
Parameters
----------
inputs : list
List of input ROOT files to merge
outputs : list
List containing the output merged ROOT file name
force : bool, optional
Force overwrite of output file (default: True)
compression : int, optional
Compression level for output file (0-9, default: None uses hadd default)
validate : bool, optional
Validate event counts after merge (default: True)
Reimplemented from Component.
Definition at line 1684 of file tools.py.