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

Pull Acts materials map as calibration into tracking benchmarks

parent a7856d01
Branches
No related tags found
1 merge request!216Pull Acts materials map as calibration into tracking benchmarks
...@@ -16,7 +16,10 @@ input_sim_file = str(os.environ["JUGGLER_SIM_FILE"]) ...@@ -16,7 +16,10 @@ input_sim_file = str(os.environ["JUGGLER_SIM_FILE"])
output_rec_file = str(os.environ["JUGGLER_REC_FILE"]) output_rec_file = str(os.environ["JUGGLER_REC_FILE"])
n_events = str(os.environ["JUGGLER_N_EVENTS"]) 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) podioevent = EICDataSvc("EventDataSvc", inputs=[input_sim_file], OutputLevel=WARNING)
from Configurables import PodioInput from Configurables import PodioInput
......
...@@ -4,7 +4,7 @@ branch=${1:-master} ...@@ -4,7 +4,7 @@ branch=${1:-master}
detector_benchmarks=https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/artifacts/${branch}/raw/ detector_benchmarks=https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks/-/jobs/artifacts/${branch}/raw/
mkdir -p config 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}) curl --fail -sL ${detector_benchmarks}/${i}?job=deploy_results --output config/$(basename ${i})
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
if find ${DETECTOR_PATH} -name $(basename $i) ; then if find ${DETECTOR_PATH} -name $(basename $i) ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment