File indexing completed on 2025-01-17 09:03:00
0001
0002
0003
0004
0005 rec_file="out/rec.edm4hep.root"
0006 out_file="out/eval.root"
0007
0008
0009 function usage {
0010 echo """
0011 USAGE:
0012 $0 [OPTION]...
0013
0014 OPTIONS
0015 -i <reconstruction_output_file>
0016 ROOT file produced by reconstruction
0017 [ default = $rec_file ]
0018 -o <output_file>
0019 Evaluation output ROOT file
0020 [ default = $out_file ]
0021 """
0022 exit 2
0023 }
0024
0025
0026 while getopts "hi:o:" opt; do
0027 case $opt in
0028 h|\?) usage ;;
0029 i) rec_file=$OPTARG ;;
0030 o) out_file=$OPTARG ;;
0031 esac
0032 done
0033 echo """
0034 rec_file = $rec_file
0035 out_file = $out_file
0036 """
0037
0038
0039 root -b -q irt/scripts/evaluation.C'("'$rec_file'","'$out_file'")'