Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGHF/HFC/Utils/utilsCorrelations.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
template <typename T>
Region getRegion(T const deltaPhi)
{
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;
constexpr double PIFourThird = 4. * o2::constants::math::PIThird;
if (std::abs(deltaPhi) < o2::constants::math::PIThird) {
return Toward;
} else if (deltaPhi > PITwoThird && deltaPhi < PIFourThird) {
Expand Down
Loading