Skip to content

Commit

Permalink
[PWGHF] PID inclusion for associated particles in Lc correlation
Browse files Browse the repository at this point in the history
  • Loading branch information
1994ra authored Dec 10, 2024
1 parent 5bfffa9 commit 79917be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions PWGHF/HFC/Utils/utilsCorrelations.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ enum PairSign {
template <typename T>
Region getRegion(T const deltaPhi)
{
constexpr double PITwoThird = 2. * o2::constants::math::PIThird;
constexpr double PIFourThird = 4. * o2::constants::math::PIThird;

constexpr double PITwoThird = o2::constants::math::TwoPI / 3.;

Check warning on line 44 in PWGHF/HFC/Utils/utilsCorrelations.h

View workflow job for this annotation

GitHub Actions / O2 linter

[pi-multiple-fraction]

Consider using multiples/fractions of PI defined in o2::constants::math.
constexpr double PIFourThird = 4. * o2::constants::math::PIThird;

Check failure on line 45 in PWGHF/HFC/Utils/utilsCorrelations.h

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
if (std::abs(deltaPhi) < o2::constants::math::PIThird) {
return Toward;
} else if (deltaPhi > PITwoThird && deltaPhi < PIFourThird) {
Expand Down

0 comments on commit 79917be

Please sign in to comment.