Skip to content

Commit

Permalink
ITS: TrackerTraits mark getEmptyBinsRect as inline consteval
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Schlepper <[email protected]>
  • Loading branch information
f3sch committed Oct 5, 2024
1 parent 9ef345f commit 1d9e4c5
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1d9e4c5

Please sign in to comment.