Skip to content

Commit

Permalink
ITS: TrackerTraits move function for readability
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 1d9e4c5 commit 598fd34
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ class TrackerTraits
bool mIsGPU = false;
};

inline void TrackerTraits::initialiseTimeFrame(const int iteration)
{
mTimeFrame->initialise(iteration, mTrkParams[iteration], mTrkParams[iteration].NLayers);
setIsGPU(false);
}

inline float TrackerTraits::getBz() const
{
return mBz;
Expand All @@ -132,12 +138,6 @@ inline const int4 TrackerTraits::getBinsRect(const Cluster& currentCluster, int
return getBinsRect(layerIndex, currentCluster.phi, maxdeltaphi, z1, z2, maxdeltaz);
}

inline void TrackerTraits::initialiseTimeFrame(const int iteration)
{
mTimeFrame->initialise(iteration, mTrkParams[iteration], mTrkParams[iteration].NLayers);
setIsGPU(false);
}

inline const int4 TrackerTraits::getBinsRect(const int layerIndex, float phi, float maxdeltaphi,
float z1, float z2, float maxdeltaz) const noexcept
{
Expand Down

0 comments on commit 598fd34

Please sign in to comment.