From 3d89e885bc56dfe40a7baa8a060d39152a024fbc Mon Sep 17 00:00:00 2001 From: Felix Weiglhofer <weiglhofer@fias.uni-frankfurt.de> Date: Thu, 11 May 2023 13:32:48 +0000 Subject: [PATCH] Sts Reco: Temporarily disable GPU version. --- reco/detectors/sts/CbmRecoSts.cxx | 8 ++++++++ reco/detectors/sts/CbmRecoSts.h | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/reco/detectors/sts/CbmRecoSts.cxx b/reco/detectors/sts/CbmRecoSts.cxx index 287a833164..4b716c4660 100644 --- a/reco/detectors/sts/CbmRecoSts.cxx +++ b/reco/detectors/sts/CbmRecoSts.cxx @@ -491,6 +491,14 @@ void CbmRecoSts::InitParams() } // ------------------------------------------------------------------------- +// ------------------------------------------------------------------------- +void CbmRecoSts::SetUseGpuReco(bool useGpu) +{ + LOG_IF(warn, useGpu) << "CbmRecoSts: GPU STS reconstruction temporarily disabled! Will use CPU reco instead."; + fUseGpuReco = false; +} +// ------------------------------------------------------------------------- + // ----- Calculate the mean Lorentz shift in a sensor ------------------ std::pair<Double_t, Double_t> CbmRecoSts::LorentzShift(const CbmStsParSensorCond& conditions, Double_t dZ, Double_t bY) diff --git a/reco/detectors/sts/CbmRecoSts.h b/reco/detectors/sts/CbmRecoSts.h index c6f4f0755c..bc4e84e85d 100644 --- a/reco/detectors/sts/CbmRecoSts.h +++ b/reco/detectors/sts/CbmRecoSts.h @@ -118,8 +118,7 @@ public: **/ void SetMode(ECbmRecoMode mode) { fMode = mode; } - void SetUseGpuReco(bool useGpu) { fUseGpuReco = useGpu; } - + void SetUseGpuReco(bool useGPU); /** @brief Define the needed parameter containers **/ virtual void SetParContainers(); -- GitLab