9 args= argparse.ArgumentParser()
10 args.add_argument(
'--filesInput', required=
True)
11 args.add_argument(
'--outputFile', required=
True)
12 return args.parse_args()
19 for path
in args.filesInput.split(
','):
20 inputs += glob.glob(path)
23 cmd_1 = [
'hadd', args.outputFile] + inputs
24 print(f
"Running: {' '.join(cmd_1)}")
25 subprocess.run(cmd_1, check=
True)
27 cmd_2 = [
'postProcessIDPVMHistos', args.outputFile]
28 print(f
"Running: {' '.join(cmd_2)}")
29 subprocess.run(cmd_2, check=
True)
32 if __name__ ==
'__main__':