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

Add energy scan at process stage

parent 5f90a58f
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.
...@@ -59,7 +59,7 @@ common:detector: ...@@ -59,7 +59,7 @@ common:detector:
- ln -s "${LOCAL_DATA_PATH}/datasets/data" data - ln -s "${LOCAL_DATA_PATH}/datasets/data" data
- ls -lrtha - ls -lrtha
- curl -sL https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/artifacts/master/raw/results/emcal_barrel_calibration.json?job=collect_results:barrel_ecal --output config/emcal_barrel_calibration.json - curl -sL https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/artifacts/master/raw/results/emcal_barrel_calibration.json?job=collect_results:barrel_ecal --output config/emcal_barrel_calibration.json
# - ls -lhtR sim_output/ - ls -lhtR sim_output/
interruptible: true interruptible: true
include: include:
......
...@@ -30,8 +30,8 @@ imaging_ecal_energy_scan: ...@@ -30,8 +30,8 @@ imaging_ecal_energy_scan:
extends: .rec_benchmark extends: .rec_benchmark
stage: run stage: run
timeout: 24 hours timeout: 24 hours
rules: # rules:
- if: '$RUN_EXTENDED_RECO_BENCHMARK == "true"' # - if: '$RUN_EXTENDED_RECO_BENCHMARK == "true"'
script: script:
- bash benchmarks/imaging_ecal/run_emcal_barrel.sh -t emcal_barrel_${PARTICLE}_${ENERGY} -n 100 -p "${PARTICLE}" -e "${ENERGY}" - bash benchmarks/imaging_ecal/run_emcal_barrel.sh -t emcal_barrel_${PARTICLE}_${ENERGY} -n 100 -p "${PARTICLE}" -e "${ENERGY}"
parallel: parallel:
...@@ -39,18 +39,18 @@ imaging_ecal_energy_scan: ...@@ -39,18 +39,18 @@ imaging_ecal_energy_scan:
- ENERGY: ["1", "2", "5"] - ENERGY: ["1", "2", "5"]
PARTICLE: [electron, photon] PARTICLE: [electron, photon]
# imaging_ecal_energy_scan_analysis: imaging_ecal_energy_scan_analysis:
# extends: .rec_benchmark extends: .rec_benchmark
# stage: process stage: process
# timeout: 24 hours timeout: 24 hours
# # rules: # rules:
# # - if: '$RUN_EXTENDED_RECO_BENCHMARK == "true"' # - if: '$RUN_EXTENDED_RECO_BENCHMARK == "true"'
# needs: needs:
# - ["imaging_ecal_energy_scan"] - ["imaging_ecal_energy_scan"]
# script: script:
# - ls -lhtR sim_output/ - ls -lhtR sim_output/
# - rootls -t sim_output/rec_emcal_barrel_photon_5.root - rootls -t sim_output/rec_emcal_barrel_photon_5.root
# # - root -b -q 'benchmarks/imaging_ecal/scripts/energy_scan_analysis.cxx+' - root -b -q 'benchmarks/imaging_ecal/scripts/energy_scan_analysis.cxx+'
imaging_ecal:results: imaging_ecal:results:
......
...@@ -163,4 +163,4 @@ if [[ "${CB_EMCAL_NUMEV}" -lt "500" ]] ; then ...@@ -163,4 +163,4 @@ if [[ "${CB_EMCAL_NUMEV}" -lt "500" ]] ; then
cp ${CB_EMCAL_REC_FILE} results/. cp ${CB_EMCAL_REC_FILE} results/.
fi fi
fi fi
# cp ${CB_EMCAL_REC_FILE} sim_output/. cp ${CB_EMCAL_REC_FILE} sim_output/.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment