From 6ff1d8e4dcd6b63d89c21dc5084910362b9916e3 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wouter.deconinck@umanitoba.ca> Date: Fri, 15 Oct 2021 06:14:17 +0000 Subject: [PATCH] Pull Acts materials map as calibration into tracking benchmarks --- benchmarks/tracking/options/track_reconstruction.py | 5 ++++- bin/get_calibrations | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/benchmarks/tracking/options/track_reconstruction.py b/benchmarks/tracking/options/track_reconstruction.py index 27430cf3..f00989d4 100644 --- a/benchmarks/tracking/options/track_reconstruction.py +++ b/benchmarks/tracking/options/track_reconstruction.py @@ -16,7 +16,10 @@ input_sim_file = str(os.environ["JUGGLER_SIM_FILE"]) output_rec_file = str(os.environ["JUGGLER_REC_FILE"]) n_events = str(os.environ["JUGGLER_N_EVENTS"]) -geo_service = GeoSvc("GeoSvc", detectors=["{}/{}.xml".format(detector_path,detector_name)], OutputLevel=WARNING) +geo_service = GeoSvc("GeoSvc", + detectors=["{}/{}.xml".format(detector_path,detector_name)], + materials="config/material-maps.json", + OutputLevel=WARNING) podioevent = EICDataSvc("EventDataSvc", inputs=[input_sim_file], OutputLevel=WARNING) from Configurables import PodioInput diff --git a/bin/get_calibrations b/bin/get_calibrations index dbbe73d8..e23d6194 100755 --- a/bin/get_calibrations +++ b/bin/get_calibrations @@ -4,7 +4,7 @@ branch=${1:-master} detector_benchmarks=https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/artifacts/${branch}/raw/ mkdir -p config -for i in results/emcal_barrel_calibration.json ; do +for i in results/emcal_barrel_calibration.json results/material-maps.json ; do curl --fail -sL ${detector_benchmarks}/${i}?job=deploy_results --output config/$(basename ${i}) if [[ "$?" -ne "0" ]] ; then if find ${DETECTOR_PATH} -name $(basename $i) ; then -- GitLab