Variables | |
| description | |
| input_list = list(job.input_files.keys()) | |
| output_file = list(job.output_files.keys())[0] | |
| force_overwrite = job.params.get('force', True) | |
| compression_level = job.params.get('compression', None) | |
| validate_merge = job.params.get('validate', True) | |
| merge | |
Merge ROOT files job script for hps-mc
This job merges multiple ROOT files into a single output file using hadd.
Example JSON parameters:
{
"job_id": 1,
"input_files": {
"input1.root": "/path/to/input1.root",
"input2.root": "/path/to/input2.root",
"input3.root": "/path/to/input3.root"
},
"output_files": {
"merged.root": "merged_output.root"
},
"output_dir": "output",
"force": true,
"compression": 6,
"validate": true
}
| compression_level = job.params.get('compression', None) |
Definition at line 42 of file root_merge_job.py.
| description |
Definition at line 30 of file root_merge_job.py.
| force_overwrite = job.params.get('force', True) |
Definition at line 41 of file root_merge_job.py.
| input_list = list(job.input_files.keys()) |
Definition at line 34 of file root_merge_job.py.
| merge |
Definition at line 46 of file root_merge_job.py.
| output_file = list(job.output_files.keys())[0] |
Definition at line 38 of file root_merge_job.py.
| validate_merge = job.params.get('validate', True) |
Definition at line 43 of file root_merge_job.py.