Skip to content
Snippets Groups Projects
Commit 0b6aecc5 authored by Maria Zurek's avatar Maria Zurek
Browse files

merge all outputs together

parent 5d7fc4fe
No related branches found
No related tags found
1 merge request!153Draft: Resolve "Add energy scan for Barrel Ecal"
...@@ -37,6 +37,13 @@ imaging_ecal_energy_scan: ...@@ -37,6 +37,13 @@ imaging_ecal_energy_scan:
parallel: parallel:
matrix: matrix:
- ENERGY: ["1", "2", "5"] - ENERGY: ["1", "2", "5"]
PARTICLE: ["electron", "photon"] PARTICLE: [electron, photon]
imaging_ecal:results:
extends: .rec_benchmark
stage: collect
needs: [imaging_ecal_energy_scan, imaging_ecal_pion0, imaging_ecal_pions, imaging_ecal_photons, imaging_ecal_electrons]
script:
- ls -lrth
...@@ -134,14 +134,14 @@ for iev in "${ADDR[@]}"; do ...@@ -134,14 +134,14 @@ for iev in "${ADDR[@]}"; do
fi fi
python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster_layers.py \ python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster_layers.py \
${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=1.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle} ${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=1.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${nametag}
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running analysis script: draw_cluster_layers" echo "ERROR running analysis script: draw_cluster_layers"
exit 1 exit 1
fi fi
python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster.py \ python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster.py \
${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=2.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle} ${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=2.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${nametag}
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running analysis script: draw_cluster" echo "ERROR running analysis script: draw_cluster"
exit 1 exit 1
...@@ -149,8 +149,8 @@ for iev in "${ADDR[@]}"; do ...@@ -149,8 +149,8 @@ for iev in "${ADDR[@]}"; do
done done
python ${CB_EMCAL_SCRIPT_DIR}/energy_profile.py \ python ${CB_EMCAL_SCRIPT_DIR}/energy_profile.py \
${CB_EMCAL_REC_FILE} --type=EM --energy=${CB_EMCAL_ENERGY} -o results/${particle} \ ${CB_EMCAL_REC_FILE} --type=EM --energy=${CB_EMCAL_ENERGY} -o results/${nametag} \
--save=results/profile.csv --color=royalblue --save=results/${nametag}/profile.csv --color=royalblue
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running analysis script: energy_profile" echo "ERROR running analysis script: energy_profile"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment