Skip to content
Snippets Groups Projects
Commit 3d89e885 authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

Sts Reco: Temporarily disable GPU version.

parent bce49b46
No related branches found
No related tags found
1 merge request!1070Move STS Gpu Hitfinder into algo namespace.
Pipeline #22215 failed
...@@ -491,6 +491,14 @@ void CbmRecoSts::InitParams() ...@@ -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 ------------------ // ----- 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) std::pair<Double_t, Double_t> CbmRecoSts::LorentzShift(const CbmStsParSensorCond& conditions, Double_t dZ, Double_t bY)
......
...@@ -118,8 +118,7 @@ public: ...@@ -118,8 +118,7 @@ public:
**/ **/
void SetMode(ECbmRecoMode mode) { fMode = mode; } void SetMode(ECbmRecoMode mode) { fMode = mode; }
void SetUseGpuReco(bool useGpu) { fUseGpuReco = useGpu; } void SetUseGpuReco(bool useGPU);
/** @brief Define the needed parameter containers **/ /** @brief Define the needed parameter containers **/
virtual void SetParContainers(); virtual void SetParContainers();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment