Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Harris committed Jun 7, 2024
1 parent 15612c9 commit b8712b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ endif()
if(ACTS_BUILD_PLUGIN_GEOMODEL)
if(ACTS_USE_SYSTEM_GEOMODEL)
message(STATUS "Using system installation of GeoModel")
find_package(GeoModelIO ${_acts_geomodel_version} COMPONENTS GeoModelDBManager GeoModelRead REQUIRED CONFIG)
find_package(GeoModelCore ${_acts_geomodel_version} COMPONENTS GeoModelKernel REQUIRED CONFIG)
else()
add_subdirectory(thirdparty/GeoModel)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Acts {

struct GeoModelTree {
std::shared_ptr<GeoModelIO::ReadGeoModel> geoReader = nullptr;
GeoVPhysVol* worldVolume = nullptr;
const GeoVPhysVol* worldVolume = nullptr;
std::string worldVolumeName = "World";
};
} // namespace Acts
2 changes: 1 addition & 1 deletion Plugins/GeoModel/src/GeoModelToDetVol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "Acts/Plugins/GeoModel/GeoModelToDetVol.hpp"

#include "Acts/Detector/PortalGenerators.hpp"
#include "Acts/Navigation/SurfaceCandidatesUpdaters.hpp"
#include "Acts/Navigation/InternalNavigation.hpp"

#include <GeoModelKernel/GeoBox.h>
#include <GeoModelKernel/GeoPcon.h>
Expand Down

0 comments on commit b8712b4

Please sign in to comment.