From 89dfdca5a3fc254b65d8255dae06b9b6e588b5ee Mon Sep 17 00:00:00 2001 From: Virginia Bailey Date: Tue, 9 Jan 2024 11:29:48 -0600 Subject: [PATCH] add benchmarks/ecal_backwards --- .gitlab-ci.yml | 1 + benchmarks/backwards_ecal/config.yml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 benchmarks/backwards_ecal/config.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66f794e0..cc849993 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -137,6 +137,7 @@ include: - local: 'benchmarks/timing/config.yml' - local: 'benchmarks/b0_tracker/config.yml' - local: 'benchmarks/others/config.yml' + - local: 'benchmarks/backwards_ecal/config.yml' deploy_results: stage: deploy diff --git a/benchmarks/backwards_ecal/config.yml b/benchmarks/backwards_ecal/config.yml new file mode 100644 index 00000000..40de704b --- /dev/null +++ b/benchmarks/backwards_ecal/config.yml @@ -0,0 +1,21 @@ +sim:ecal_backwards_electron: + extends: .det_benchmark + stage: simulate + script: + - echo "I will be simulating some electron events here!" + - echo "0.511 MeV" >> $LOCAL_DATA_PATH/electron_mass + +sim:ecal_backwards_photon: + extends: .det_benchmark + stage: simulate + script: + - echo "I will be simulating some photon events here!" + +bench:ecal_backwards_resolution: + extends: .det_benchmark + stage: benchmarks + needs: + - ["sim:ecal_backwards_electron", "sim:ecal_backwards_photon"] + script: + - echo "I will be analyzing events here!" + - echo "Our intelligence reports that the electron mass is $(cat $LOCAL_DATA_PATH/electron_mass)"