From 76098d483d27a6bb306daa594290a93b2ebf6ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Fri, 3 Apr 2026 12:24:08 +0200 Subject: [PATCH] [ALICE3] Fix missing bool in ACTS integration - specify since --- .../reconstruction/include/TRKReconstruction/ClustererACTS.h | 4 ++++ .../Upgrades/ALICE3/TRK/reconstruction/src/ClustererACTS.cxx | 4 ++++ .../ALICE3/TRK/workflow/include/TRKWorkflow/ClustererSpec.h | 4 +--- .../ALICE3/TRK/workflow/include/TRKWorkflow/TrackerSpec.h | 3 +++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Detectors/Upgrades/ALICE3/TRK/reconstruction/include/TRKReconstruction/ClustererACTS.h b/Detectors/Upgrades/ALICE3/TRK/reconstruction/include/TRKReconstruction/ClustererACTS.h index 4111737d17a9f..37a148aa78afb 100644 --- a/Detectors/Upgrades/ALICE3/TRK/reconstruction/include/TRKReconstruction/ClustererACTS.h +++ b/Detectors/Upgrades/ALICE3/TRK/reconstruction/include/TRKReconstruction/ClustererACTS.h @@ -9,8 +9,12 @@ // granted to it by virtue of its status as an Intergovernmental Organization // or submit itself to any jurisdiction. +/// /// \file ClustererACTS.h /// \brief Definition of the TRK cluster finder +/// \author Nicolò Jacazio, Università del Piemonte Orientale (IT) +/// \since 2026-03-01 +/// #ifndef ALICEO2_TRK_CLUSTERERACTS_H #define ALICEO2_TRK_CLUSTERERACTS_H diff --git a/Detectors/Upgrades/ALICE3/TRK/reconstruction/src/ClustererACTS.cxx b/Detectors/Upgrades/ALICE3/TRK/reconstruction/src/ClustererACTS.cxx index 0cf7c26e0ea41..2dbf56ae610e3 100644 --- a/Detectors/Upgrades/ALICE3/TRK/reconstruction/src/ClustererACTS.cxx +++ b/Detectors/Upgrades/ALICE3/TRK/reconstruction/src/ClustererACTS.cxx @@ -9,8 +9,12 @@ // granted to it by virtue of its status as an Intergovernmental Organization // or submit itself to any jurisdiction. +/// /// \file ClustererACTS.cxx /// \brief Implementation of the TRK cluster finder with the ACTS +/// \author Nicolò Jacazio, Università del Piemonte Orientale (IT) +/// \since 2026-03-01 +/// #include "TRKReconstruction/ClustererACTS.h" #include "TRKBase/GeometryTGeo.h" diff --git a/Detectors/Upgrades/ALICE3/TRK/workflow/include/TRKWorkflow/ClustererSpec.h b/Detectors/Upgrades/ALICE3/TRK/workflow/include/TRKWorkflow/ClustererSpec.h index 9cfab104ecdf9..18cc6d245025a 100644 --- a/Detectors/Upgrades/ALICE3/TRK/workflow/include/TRKWorkflow/ClustererSpec.h +++ b/Detectors/Upgrades/ALICE3/TRK/workflow/include/TRKWorkflow/ClustererSpec.h @@ -32,11 +32,9 @@ class ClustererDPL : public o2::framework::Task private: bool mUseMC = true; int mNThreads = 1; -#ifdef O2_WITH_ACTS - bool mUseACTS = false; -#endif o2::trk::Clusterer mClusterer; #ifdef O2_WITH_ACTS + bool mUseACTS = false; o2::trk::ClustererACTS mClustererACTS; #endif }; diff --git a/Detectors/Upgrades/ALICE3/TRK/workflow/include/TRKWorkflow/TrackerSpec.h b/Detectors/Upgrades/ALICE3/TRK/workflow/include/TRKWorkflow/TrackerSpec.h index 33b25737bbc29..304b32041c2dc 100644 --- a/Detectors/Upgrades/ALICE3/TRK/workflow/include/TRKWorkflow/TrackerSpec.h +++ b/Detectors/Upgrades/ALICE3/TRK/workflow/include/TRKWorkflow/TrackerSpec.h @@ -58,6 +58,9 @@ class TrackerDPL : public framework::Task std::shared_ptr mTaskArena; nlohmann::json mHitRecoConfig; TStopwatch mTimer; +#ifdef O2_WITH_ACTS + bool mUseACTS = false; +#endif }; framework::DataProcessorSpec getTrackerSpec(bool useMC, const std::string& hitRecoConfig, gpu::gpudatatypes::DeviceType dType = gpu::gpudatatypes::DeviceType::CPU);