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

Add energy scan to rec_benchmark:run stage

parent e0a3cd35
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !153. Comments created here will be created in the context of that merge request.
...@@ -26,3 +26,17 @@ imaging_ecal_pion0: ...@@ -26,3 +26,17 @@ imaging_ecal_pion0:
script: script:
- bash benchmarks/imaging_ecal/run_imcal_pion0.sh -t imcal_barrel_pion0 -p "pion0" -n 100 - bash benchmarks/imaging_ecal/run_imcal_pion0.sh -t imcal_barrel_pion0 -p "pion0" -n 100
imaging_ecal_energy_scan:
extends: .rec_benchmark
stage: run
timeout: 24 hours
# rules:
# - if: '$RUN_EXTENDED_RECO_BENCHMARK == true'
script:
- bash benchmarks/imaging_ecal/run_emcal_barrel.sh -t emcal_barrel_${PARTICLE}_${ENERGY} -n 100 -p "${PARTICLE}" -e "${ENERGY}"
parallel:
matrix:
- ENERGY: ["1", "2", "5"]
PARTICLE: ["electron", "photon"]
...@@ -7,6 +7,7 @@ function print_the_help { ...@@ -7,6 +7,7 @@ function print_the_help {
echo " OPTIONS: " echo " OPTIONS: "
echo " -n,--nevents Number of events" echo " -n,--nevents Number of events"
echo " -t,--nametag name tag" echo " -t,--nametag name tag"
echo " -e,--nametag energy in GeV"
echo " -p,--particle particle type" echo " -p,--particle particle type"
echo " allowed types: pion0, pion+, pion-, kaon0, kaon+, kaon-, proton, neutron, electron, positron, photon" echo " allowed types: pion0, pion+, pion-, kaon0, kaon+, kaon-, proton, neutron, electron, positron, photon"
exit exit
...@@ -32,6 +33,11 @@ do ...@@ -32,6 +33,11 @@ do
shift # past argument shift # past argument
shift # past value shift # past value
;; ;;
-e|--energy)
export CB_EMCAL_ENERGY="$2"
shift # past argument
shift # past value
;;
-n|--nevents) -n|--nevents)
export CB_EMCAL_NUMEV="$2" export CB_EMCAL_NUMEV="$2"
shift # past argument shift # past argument
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment