Variables | |
| description | |
| input_list = list(job.input_files.keys()) | |
| output_file = None | |
| force_overwrite = job.params.get('force', True) | |
| compression_level = job.params.get('compression', None) | |
| validate_merge = job.params.get('validate', True) | |
| write_stats = job.params.get('write_stats', True) | |
| job_id = job.params.get('job_id', None) | |
| 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",
"merged_stats.json": "merged_stats.json"
},
"output_dir": "output",
"force": true,
"compression": 6,
"validate": true,
"write_stats": true
}
| compression_level = job.params.get('compression', None) |
Definition at line 49 of file root_merge_job.py.
| description |
Definition at line 32 of file root_merge_job.py.
| force_overwrite = job.params.get('force', True) |
Definition at line 48 of file root_merge_job.py.
| input_list = list(job.input_files.keys()) |
Definition at line 36 of file root_merge_job.py.
| job_id = job.params.get('job_id', None) |
Definition at line 52 of file root_merge_job.py.
| merge |
Definition at line 55 of file root_merge_job.py.
| output_file = None |
Definition at line 39 of file root_merge_job.py.
| validate_merge = job.params.get('validate', True) |
Definition at line 50 of file root_merge_job.py.
| write_stats = job.params.get('write_stats', True) |
Definition at line 51 of file root_merge_job.py.