From 46493de51f37c0be11c4d3626d3a011a2ad0cc68 Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sjoosten@anl.gov>
Date: Thu, 28 Oct 2021 19:36:21 +0000
Subject: [PATCH] Use proper material map for canyonlands

---
 options/reconstruction.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/options/reconstruction.py b/options/reconstruction.py
index a20dce0b..1e9a2f09 100644
--- a/options/reconstruction.py
+++ b/options/reconstruction.py
@@ -52,13 +52,17 @@ services = []
 services.append(AuditorSvc("AuditorSvc", Auditors=['ChronoAuditor', 'MemStatAuditor']))
 # geometry service
 ## 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':
     services.append(GeoSvc("GeoSvc", detectors=["{}/{}.xml".format(detector_path,detector_name)],
                                      materials="config/material-maps.json",
                                      OutputLevel=WARNING))
 else:
     services.append(GeoSvc("GeoSvc", detectors=["{}/{}.xml".format(detector_path,detector_name)],
-                                    #materials="config/material-maps.json",
+                                    materials="calibrations/materials-map.cbor",
                                     OutputLevel=WARNING))
 # data service
 services.append(EICDataSvc("EventDataSvc", inputs=input_sims, OutputLevel=WARNING))
-- 
GitLab