Skip to content

Commit

Permalink
ACTSGeo_service.cc: rename geom const materials-map -> material-map
Browse files Browse the repository at this point in the history
The eic/epic#494 is not merged at this time. Let's update that one to provide both constants, but going forward use proper meaning one.
  • Loading branch information
veprbl authored and wdconinc committed Sep 19, 2023
1 parent 926b672 commit 1b0c682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/geometry/acts/ACTSGeo_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ std::shared_ptr<const ActsGeometryProvider> ACTSGeo_service::actsGeoProvider() {
// Get material map from user parameter
std::string material_map_file;
try {
material_map_file = m_dd4hepGeo->constant<std::string>("materials-map");
material_map_file = m_dd4hepGeo->constant<std::string>("material-map");
} catch (const std::runtime_error& e) {
material_map_file = "calibrations/materials-map.cbor";
}
Expand Down

0 comments on commit 1b0c682

Please sign in to comment.