Skip to content

Commit 85fcc3a

Browse files
committed
ITS: inline functions
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent b76f2af commit 85fcc3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/ITSMFT/ITS/tracking/src/TimeFrame.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ struct ClusterHelper {
3535
int ind;
3636
};
3737

38-
float MSangle(float mass, float p, float xX0)
38+
inline float MSangle(float mass, float p, float xX0)
3939
{
4040
float beta = p / o2::gpu::CAMath::Hypot(mass, p);
4141
return 0.0136f * o2::gpu::CAMath::Sqrt(xX0) * (1.f + 0.038f * o2::gpu::CAMath::Log(xX0)) / (beta * p);
4242
}
4343

44-
float Sq(float v)
44+
inline float Sq(float v)
4545
{
4646
return v * v;
4747
}

0 commit comments

Comments
 (0)