File tree Expand file tree Collapse file tree
PWGCF/TwoParticleCorrelations/Tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1538,9 +1538,9 @@ struct LambdaSpinPolarization {
15381538 part_pair == kLambdaSBSBLambda ||
15391539 part_pair == kAntiLambdaSBSBAntiLambda );
15401540
1541- constexpr int Idx = IsSigSB ? ( int ) part_pair - 4
1542- : IsSBSB ? ( int ) part_pair - 8
1543- : ( int ) part_pair;
1541+ constexpr int Idx = IsSigSB ? static_cast < int >( part_pair) - 4
1542+ : IsSBSB ? static_cast < int >( part_pair) - 8
1543+ : static_cast < int >( part_pair) ;
15441544
15451545 float drap = p1.rap () - p2.rap ();
15461546 float dphi = RecoDecay::constrainAngle (p1.phi () - p2.phi (), -PI);
@@ -1634,9 +1634,9 @@ struct LambdaSpinPolarization {
16341634 part_pair == kLambdaSBSBLambda ||
16351635 part_pair == kAntiLambdaSBSBAntiLambda );
16361636
1637- constexpr int Idx = IsSigSB ? ( int ) part_pair - 4
1638- : IsSBSB ? ( int ) part_pair - 8
1639- : ( int ) part_pair;
1637+ constexpr int Idx = IsSigSB ? static_cast < int >( part_pair) - 4
1638+ : IsSBSB ? static_cast < int >( part_pair) - 8
1639+ : static_cast < int >( part_pair) ;
16401640
16411641 float drap = p1.rap () - p2.rap ();
16421642 float dphi = RecoDecay::constrainAngle (p1.phi () - p2.phi (), -PI);
You can’t perform that action at this time.
0 commit comments