@@ -79,9 +79,12 @@ class TrackerTraits
7979
8080 // Others
8181 GPUhd () static constexpr int4 getEmptyBinsRect () { return int4{0 , 0 , 0 , 0 }; }
82- const int4 getBinsRect (const Cluster&, int layer, float z1, float z2, float maxdeltaz, float maxdeltaphi);
83- const int4 getBinsRect (int layer, float phi, float maxdeltaphi, float z, float maxdeltaz);
84- const int4 getBinsRect (int layer, float phi, float maxdeltaphi, float z1, float z2, float maxdeltaz);
82+ const int4 getBinsRect (const Cluster&, int layer, float z1, float z2, float maxdeltaz, float maxdeltaphi) const ;
83+ const int4 getBinsRect (int layer, float phi, float maxdeltaphi, float z, float maxdeltaz) const ;
84+ const int4 getBinsRect (int layer, float phi, float maxdeltaphi, float z1, float z2, float maxdeltaz) const ;
85+ const int4 getBinsRect (const Cluster&, int layer, float z1, float z2, float maxdeltaz, float maxdeltaphi) const noexcept ;
86+ const int4 getBinsRect (int layer, float phi, float maxdeltaphi, float z, float maxdeltaz) const noexcept ;
87+ const int4 getBinsRect (int layer, float phi, float maxdeltaphi, float z1, float z2, float maxdeltaz) const noexcept ;
8588 void SetRecoChain (o2::gpu::GPUChainITS* chain) { mChain = chain; }
8689 void setSmoothing (bool v) { mApplySmoothing = v; }
8790 bool getSmoothing () const { return mApplySmoothing ; }
@@ -122,12 +125,12 @@ inline void TrackerTraits::UpdateTrackingParameters(const std::vector<TrackingPa
122125 mTrkParams = trkPars;
123126}
124127
125- inline const int4 TrackerTraits::getBinsRect (const int layerIndex, float phi, float maxdeltaphi, float z, float maxdeltaz)
128+ inline const int4 TrackerTraits::getBinsRect (const int layerIndex, float phi, float maxdeltaphi, float z, float maxdeltaz) const noexcept
126129{
127130 return getBinsRect (layerIndex, phi, maxdeltaphi, z, z, maxdeltaz);
128131}
129132
130- inline const int4 TrackerTraits::getBinsRect (const Cluster& currentCluster, int layerIndex, float z1, float z2, float maxdeltaz, float maxdeltaphi)
133+ inline const int4 TrackerTraits::getBinsRect (const Cluster& currentCluster, int layerIndex, float z1, float z2, float maxdeltaz, float maxdeltaphi) const noexcept
131134{
132135 return getBinsRect (layerIndex, currentCluster.phi , maxdeltaphi, z1, z2, maxdeltaz);
133136}
@@ -139,7 +142,7 @@ inline void TrackerTraits::initialiseTimeFrame(const int iteration)
139142}
140143
141144inline const int4 TrackerTraits::getBinsRect (const int layerIndex, float phi, float maxdeltaphi,
142- float z1, float z2, float maxdeltaz)
145+ float z1, float z2, float maxdeltaz) const noexcept
143146{
144147 const float zRangeMin = o2::gpu::GPUCommonMath::Min (z1, z2) - maxdeltaz;
145148 const float phiRangeMin = (maxdeltaphi > constants::math::Pi) ? 0 .f : phi - maxdeltaphi;
0 commit comments