Skip to content
Snippets Groups Projects
Commit 7a672a4a authored by Chao Peng's avatar Chao Peng
Browse files

update barrel emcal benchmark

parent 22b07fd9
No related branches found
No related tags found
1 merge request!82update script according to juggler change
......@@ -8,7 +8,7 @@ sampling_ecal_electrons:
- results/
stage: run
script:
- bash benchmarks/sampling_ecal/run_emcal_barrel.sh -n emcal_barrel_electrons -p "electron"
- bash benchmarks/sampling_ecal/run_emcal_barrel.sh -t emcal_barrel_electrons -p "electron" -n 1000
allow_failure: true
sampling_ecal_photons:
......@@ -21,7 +21,7 @@ sampling_ecal_photons:
- results/
stage: run
script:
- bash benchmarks/sampling_ecal/run_emcal_barrel.sh -n emcal_barrel_photons -p "photon"
- bash benchmarks/sampling_ecal/run_emcal_barrel.sh -t emcal_barrel_photons -p "photon" -n 1000
allow_failure: true
sampling_ecal_pions:
......@@ -34,6 +34,6 @@ sampling_ecal_pions:
- results/
stage: run
script:
- bash benchmarks/sampling_ecal/run_emcal_barrel.sh -n emcal_barrel_pions -p "pion-"
- bash benchmarks/sampling_ecal/run_emcal_barrel.sh -t emcal_barrel_pions -p "pion-" -n 1000
allow_failure: true
#!/bin/bash
while getopts n:p:f: flag
while getopts t:p:n: flag
do
case "${flag}" in
n) nametag=${OPTARG};;
t) nametag=${OPTARG};;
p) particle=${OPTARG};;
n) export CB_EMCAL_NUMEV=${OPTARG};;
esac
done
......@@ -69,8 +70,8 @@ CB_EMCAL_OPTION_DIR=benchmarks/sampling_ecal/options
CB_EMCAL_SCRIPT_DIR=benchmarks/sampling_ecal/scripts
# Run Juggler
# xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv gaudirun.py ${CB_EMCAL_OPTION_DIR}/sampling_cluster3d.py
gaudirun.py ${CB_EMCAL_OPTION_DIR}/sampling_cluster3d.py
xenv -x ${JUGGLER_INSTALL_PREFIX}/Juggler.xenv gaudirun.py ${CB_EMCAL_OPTION_DIR}/sampling_cluster3d.py
# gaudirun.py ${CB_EMCAL_OPTION_DIR}/sampling_cluster3d.py
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running juggler"
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