Loading src/core/geometry/GeometryManager.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ void GeometryManager::load(ConfigManager* conf_manager, RandomNumberGenerator& s // Loop over all defined detectors LOG(DEBUG) << "Loading detectors"; // Gets me a list of detector configurations. The sections for each detector in the geometry config file. for(auto& geometry_section : conf_manager->getDetectorConfigurations()) { // Read role of this section and default to "active" (i.e. detector) Loading Loading @@ -449,7 +450,8 @@ void GeometryManager::close_geometry() { // Add all non internal parameters to the config for a specialized model for(auto& [key, value] : config.getAll()) { // Skip all internal parameters if(key == "type" || key == "position" || key == "orientation_mode" || key == "orientation") { if(key == "type" || key == "position" || key == "orientation_mode" || key == "orientation" || key == "alignment_precision_position" || key == "alignment_precision_orientation" || key == "role") { continue; } // Add the extra parameter to the new overwritten config Loading Loading
src/core/geometry/GeometryManager.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ void GeometryManager::load(ConfigManager* conf_manager, RandomNumberGenerator& s // Loop over all defined detectors LOG(DEBUG) << "Loading detectors"; // Gets me a list of detector configurations. The sections for each detector in the geometry config file. for(auto& geometry_section : conf_manager->getDetectorConfigurations()) { // Read role of this section and default to "active" (i.e. detector) Loading Loading @@ -449,7 +450,8 @@ void GeometryManager::close_geometry() { // Add all non internal parameters to the config for a specialized model for(auto& [key, value] : config.getAll()) { // Skip all internal parameters if(key == "type" || key == "position" || key == "orientation_mode" || key == "orientation") { if(key == "type" || key == "position" || key == "orientation_mode" || key == "orientation" || key == "alignment_precision_position" || key == "alignment_precision_orientation" || key == "role") { continue; } // Add the extra parameter to the new overwritten config Loading