From bd83546423d9ccf9a298cbca756f8bb40a39052b Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Mon, 13 Jul 2026 12:24:59 -0500 Subject: [PATCH 1/2] sbncode/OpDet: don't declare PDMapAlgSimple in header so link library works correctly --- sbncode/OpDet/CMakeLists.txt | 1 + sbncode/OpDet/PDMapAlg.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sbncode/OpDet/CMakeLists.txt b/sbncode/OpDet/CMakeLists.txt index 445995f0e..645763143 100644 --- a/sbncode/OpDet/CMakeLists.txt +++ b/sbncode/OpDet/CMakeLists.txt @@ -8,6 +8,7 @@ cet_make_library( cet_build_plugin(PDMapAlgSimple art::tool LIBRARIES PRIVATE art::Utilities + sbncode::OpDet_PDMapAlg ) install_headers() diff --git a/sbncode/OpDet/PDMapAlg.h b/sbncode/OpDet/PDMapAlg.h index d9a9f687e..f759c7b18 100644 --- a/sbncode/OpDet/PDMapAlg.h +++ b/sbncode/OpDet/PDMapAlg.h @@ -13,7 +13,6 @@ #define SBN_OpDet_PDMapAlg_H //#include "fhiclcpp/ParameterSet.h" -//#include "art/Utilities/ToolMacros.h" #include @@ -55,7 +54,6 @@ namespace opdet { }; - DEFINE_ART_CLASS_TOOL(PDMapAlgSimple) */ } // namespace From 1297226d78f9e2d947668031a49fb051a019949d Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Tue, 14 Jul 2026 16:23:48 -0500 Subject: [PATCH 2/2] Use geant4reweight cmake targets --- sbncode/SBNEventWeight/Calculators/Geant4/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbncode/SBNEventWeight/Calculators/Geant4/CMakeLists.txt b/sbncode/SBNEventWeight/Calculators/Geant4/CMakeLists.txt index b064daff0..34af4fb42 100644 --- a/sbncode/SBNEventWeight/Calculators/Geant4/CMakeLists.txt +++ b/sbncode/SBNEventWeight/Calculators/Geant4/CMakeLists.txt @@ -14,8 +14,8 @@ art_make_library( larcore::Geometry_Geometry_service cetlib_except::cetlib_except Geant4::G4ptl - ReweightBaseLib - PropBaseLib + geant4reweight::ReweightBaseLib + geant4reweight::PropBaseLib ROOT::Tree )