From 1d9e4c550e3e3c3963719ff9bef7bb70817e0645 Mon Sep 17 00:00:00 2001 From: Felix Schlepper Date: Sat, 5 Oct 2024 09:42:44 +0200 Subject: [PATCH] ITS: TrackerTraits mark getEmptyBinsRect as inline consteval Signed-off-by: Felix Schlepper --- .../ITSMFT/ITS/tracking/include/ITStracking/TrackerTraits.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Detectors/ITSMFT/ITS/tracking/include/ITStracking/TrackerTraits.h b/Detectors/ITSMFT/ITS/tracking/include/ITStracking/TrackerTraits.h index 11a092c87ca8e..eff7746ef1181 100644 --- a/Detectors/ITSMFT/ITS/tracking/include/ITStracking/TrackerTraits.h +++ b/Detectors/ITSMFT/ITS/tracking/include/ITStracking/TrackerTraits.h @@ -78,10 +78,7 @@ class TrackerTraits bool isMatLUT() const; // Others - GPUhd() static constexpr int4 getEmptyBinsRect() { return int4{0, 0, 0, 0}; } - const int4 getBinsRect(const Cluster&, int layer, float z1, float z2, float maxdeltaz, float maxdeltaphi) const; - const int4 getBinsRect(int layer, float phi, float maxdeltaphi, float z, float maxdeltaz) const; - const int4 getBinsRect(int layer, float phi, float maxdeltaphi, float z1, float z2, float maxdeltaz) const; + GPUhd() static inline consteval int4 getEmptyBinsRect() { return int4{0, 0, 0, 0}; } const int4 getBinsRect(const Cluster&, int layer, float z1, float z2, float maxdeltaz, float maxdeltaphi) const noexcept; const int4 getBinsRect(int layer, float phi, float maxdeltaphi, float z, float maxdeltaz) const noexcept; const int4 getBinsRect(int layer, float phi, float maxdeltaphi, float z1, float z2, float maxdeltaz) const noexcept;