diff --git a/benchmarks/tracking/options/track_reconstruction.py b/benchmarks/tracking/options/track_reconstruction.py index 36e28c5c577de3e211f5fc0f5888dcc2e954e83a..a79ccdf70e94363f0d7c179da450d97b3c0b62b8 100644 --- a/benchmarks/tracking/options/track_reconstruction.py +++ b/benchmarks/tracking/options/track_reconstruction.py @@ -22,17 +22,19 @@ 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"]) -## only have material maps for acadia right now +## note: old version of material map is called material-maps.XXX, new version is materials-map.XXX +## these names are somewhat inconsistent, and should probably all be renamed to 'material-map.XXX' +## FIXME if detector_version == 'acadia': - geo_service = GeoSvc("GeoSvc", - detectors=["{}/{}.xml".format(detector_path,detector_name)], - materials="config/material-maps.json", - OutputLevel=WARNING) + geo_service = GeoSvc("GeoSvc", + detectors=["{}/{}.xml".format(detector_path,detector_name)], + materials="config/material-maps.json", + OutputLevel=WARNING) else: - geo_service = GeoSvc("GeoSvc", - detectors=["{}/{}.xml".format(detector_path,detector_name)], - #materials="config/material-maps.json", - OutputLevel=WARNING) + geo_service = GeoSvc("GeoSvc", + detectors=["{}/{}.xml".format(detector_path,detector_name)], + materials="calibrations/materials-map.cbor", + OutputLevel=WARNING) podioevent = EICDataSvc("EventDataSvc", inputs=[input_sim_file], OutputLevel=WARNING) from Configurables import PodioInput