Skip to content
Snippets Groups Projects

Use material maps for canyonlands

Merged Sylvester Joosten requested to merge sly2j-master-patch-57177 into master
1 file
+ 8
6
Compare changes
  • Side-by-side
  • Inline
@@ -26,13 +26,15 @@ n_events = str(os.environ["JUGGLER_N_EVENTS"])
@@ -26,13 +26,15 @@ n_events = str(os.environ["JUGGLER_N_EVENTS"])
## these names are somewhat inconsistent, and should probably all be renamed to 'material-map.XXX'
## these names are somewhat inconsistent, and should probably all be renamed to 'material-map.XXX'
## FIXME
## FIXME
if detector_version == 'acadia':
if detector_version == 'acadia':
geo_service = GeoSvc("GeoSvc", detectors=["{}/{}.xml".format(detector_path,detector_name)],
geo_service = GeoSvc("GeoSvc",
materials="config/material-maps.json",
detectors=["{}/{}.xml".format(detector_path,detector_name)],
OutputLevel=WARNING)
materials="config/material-maps.json",
 
OutputLevel=WARNING)
else:
else:
geo_service = GeoSvc("GeoSvc", detectors=["{}/{}.xml".format(detector_path,detector_name)],
geo_service = GeoSvc("GeoSvc",
materials="{}/calibrations/materials-map.cbor".format(DETECTOR_PATH),
detectors=["{}/{}.xml".format(detector_path,detector_name)],
OutputLevel=WARNING)
materials="{}/calibrations/materials-map.cbor".format(DETECTOR_PATH),
 
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
Loading