Skip to content

Commit 436a078

Browse files
committed
haromic type unsigned int
1 parent 511d8f4 commit 436a078

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGDQ/Core/VarManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,9 +1355,9 @@ class VarManager : public TObject
13551355
return (1.0 / harm) * TMath::ATan2(qnya, qnxa);
13561356
};
13571357

1358-
static float getDeltaPsiInRange(float psi1, float psi2, float harmonic)
1358+
static float getDeltaPsiInRange(float psi1, float psi2, unsigned int harmonic)
13591359
{
1360-
return RecoDecay::constrainAngle(psi1 - psi2, -o2::constants::math::PI / harmonic, static_cast<unsigned int>(harmonic));
1360+
return RecoDecay::constrainAngle(psi1 - psi2, -o2::constants::math::PI / harmonic, harmonic);
13611361
}
13621362
template <typename T, typename T1>
13631363
static o2::dataformats::VertexBase RecalculatePrimaryVertex(T const& track0, T const& track1, const T1& collision);

0 commit comments

Comments
 (0)