Skip to content
Snippets Groups Projects
Commit 154f80f7 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Use compile_analyses for all tracking benchmarks

parent 83d143ab
No related branches found
No related tags found
1 merge request!242EDM4hep: mcparticles -> MCParticles
track_finding:compile:
extends: .compile_benchmark
stage: compile
script:
- compile_analyses.py --dir scripts track_finding
track_finding:multiple_tracks: track_finding:multiple_tracks:
extends: .rec_benchmark extends: .rec_benchmark
needs:
- ["track_finding:compile"]
stage: run stage: run
timeout: 24 hours timeout: 24 hours
script: script:
......
...@@ -55,7 +55,7 @@ echo "JUGGLER_N_EVENTS = ${JUGGLER_N_EVENTS}" ...@@ -55,7 +55,7 @@ echo "JUGGLER_N_EVENTS = ${JUGGLER_N_EVENTS}"
echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}" echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}"
## generate the input events ## generate the input events
root -b -q "benchmarks/track_finding/scripts/gen_multiple_tracks.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")" root -b -q "benchmarks/track_finding/scripts/gen_multiple_tracks.cxx+(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running script" echo "ERROR running script"
exit 1 exit 1
...@@ -92,7 +92,7 @@ rootls -t ${JUGGLER_REC_FILE} ...@@ -92,7 +92,7 @@ rootls -t ${JUGGLER_REC_FILE}
mkdir -p results/track_finding mkdir -p results/track_finding
root -b -q "benchmarks/track_finding/scripts/rec_multiple_tracks.cxx(\"${JUGGLER_REC_FILE}\")" root -b -q "benchmarks/track_finding/scripts/rec_multiple_tracks.cxx+(\"${JUGGLER_REC_FILE}\")"
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running root script" echo "ERROR running root script"
exit 1 exit 1
......
track_fitting:compile:
extends: .compile_benchmark
stage: compile
script:
- compile_analyses.py --dir scripts track_fitting
track_fitting:single_tracks: track_fitting:single_tracks:
extends: .rec_benchmark extends: .rec_benchmark
stage: run stage: run
needs:
- ["track_fitting:compile"]
script: script:
- bash benchmarks/track_fitting/single_tracks.sh - bash benchmarks/track_fitting/single_tracks.sh
......
...@@ -58,7 +58,7 @@ echo "JUGGLER_N_EVENTS = ${JUGGLER_N_EVENTS}" ...@@ -58,7 +58,7 @@ echo "JUGGLER_N_EVENTS = ${JUGGLER_N_EVENTS}"
echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}" echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}"
## generate the input events ## generate the input events
root -b -q "benchmarks/track_fitting/scripts/gen_single_tracks.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")" root -b -q "benchmarks/track_fitting/scripts/gen_single_tracks.cxx+(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running script" echo "ERROR running script"
exit 1 exit 1
...@@ -96,7 +96,7 @@ rootls -t ${JUGGLER_REC_FILE} ...@@ -96,7 +96,7 @@ rootls -t ${JUGGLER_REC_FILE}
mkdir -p results/track_fitting mkdir -p results/track_fitting
root -b -q "benchmarks/track_fitting/scripts/rec_single_tracks.cxx(\"${JUGGLER_REC_FILE}\")" root -b -q "benchmarks/track_fitting/scripts/rec_single_tracks.cxx+(\"${JUGGLER_REC_FILE}\")"
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running root script" echo "ERROR running root script"
exit 1 exit 1
......
...@@ -7,36 +7,39 @@ tracking_compile: ...@@ -7,36 +7,39 @@ tracking_compile:
tracking_central_electrons: tracking_central_electrons:
extends: .rec_benchmark extends: .rec_benchmark
stage: run stage: run
timeout: 24 hours needs:
- ["tracking_compile"]
script: script:
- bash benchmarks/tracking/central_electrons.sh - bash benchmarks/tracking/central_electrons.sh
#allow_failure: true
multiple_tracks: multiple_tracks:
extends: .rec_benchmark extends: .rec_benchmark
stage: run stage: run
timeout: 24 hours needs:
- ["tracking_compile"]
script: script:
- bash benchmarks/tracking/multiple_tracks.sh - bash benchmarks/tracking/multiple_tracks.sh
tracking_central_pions: tracking_central_pions:
extends: .rec_benchmark extends: .rec_benchmark
stage: run stage: run
timeout: 24 hours needs:
- ["tracking_compile"]
script: script:
- bash benchmarks/tracking/central_pions.sh - bash benchmarks/tracking/central_pions.sh
#allow_failure: true
tracking_truth_init_electrons: tracking_truth_init_electrons:
extends: .rec_benchmark extends: .rec_benchmark
stage: run stage: run
timeout: 24 hours needs:
- ["tracking_compile"]
script: script:
- python benchmarks/tracking/run_tracking_benchmarks.py --nametag=truth_electron --particle=electron --etamin=-4 --etamax=4 -n 150 - python benchmarks/tracking/run_tracking_benchmarks.py --nametag=truth_electron --particle=electron --etamin=-4 --etamax=4 -n 150
tracking_truth_init_pions: tracking_truth_init_pions:
extends: .rec_benchmark extends: .rec_benchmark
stage: run stage: run
timeout: 24 hours needs:
- ["tracking_compile"]
script: script:
- python benchmarks/tracking/run_tracking_benchmarks.py --nametag=truth_pion --particle=pion+ --etamin=-4 --etamax=4 -n 150 - python benchmarks/tracking/run_tracking_benchmarks.py --nametag=truth_pion --particle=pion+ --etamin=-4 --etamax=4 -n 150
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