File indexing completed on 2025-01-18 10:18:37
0001
0002 source strict-mode.sh
0003
0004 source benchmarks/your_benchmark/setup.config $*
0005
0006 OUTPUT_PLOTS_DIR=sim_output/nocampaign
0007 mkdir -p ${OUTPUT_PLOTS_DIR}
0008
0009 command time -v \
0010 root -l -b -q "benchmarks/your_benchmark/analysis/uchannelrho.cxx+(\"${REC_FILE}\",\"${OUTPUT_PLOTS_DIR}/plots.root\")"
0011 if [[ "$?" -ne "0" ]] ; then
0012 echo "ERROR analysis failed"
0013 exit 1
0014 fi
0015
0016 if [ ! -d "${OUTPUT_PLOTS_DIR}/plots_figures" ]; then
0017 mkdir "${OUTPUT_PLOTS_DIR}/plots_figures"
0018 echo "${OUTPUT_PLOTS_DIR}/plots_figures directory created successfully."
0019 else
0020 echo "${OUTPUT_PLOTS_DIR}/plots_figures directory already exists."
0021 fi
0022 root -l -b -q "benchmarks/your_benchmark/macros/plot_rho_physics_benchmark.C(\"${OUTPUT_PLOTS_DIR}/plots.root\")"
0023 cat benchmark_output/*.json