Skip to content

Commit a085068

Browse files
authored
Update in formating
1 parent ebe8388 commit a085068

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

PWGLF/Tasks/GlobalEventProperties/dndeta-mft-pp.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ using namespace o2::aod::track;
5151
AxisSpec PtAxis = {1001, -0.005, 10.005};
5252
AxisSpec DeltaZAxis = {61, -6.1, 6.1};
5353
AxisSpec ZAxis = {301, -30.1, 30.1};
54-
AxisSpec PhiAxis = {629, 0, 2 * M_PI, "Rad", "phi axis"};
54+
AxisSpec PhiAxis = {629, 0, 2 * o2::constants::math::PI, "Rad", "phi axis"};
5555
// AxisSpec EtaAxis = {18, -4.6, -1.};
5656
AxisSpec DCAxyAxis = {100, -1, 10};
5757
AxisSpec CentAxis = {{0, 10, 20, 30, 40, 50, 60, 70, 80, 100}};
@@ -530,10 +530,10 @@ struct PseudorapidityDensityMFT {
530530

531531
if (usePhiCut) {
532532
if ((phi < cfgPhiCut) ||
533-
((phi > M_PI - cfgPhiCut) && (phi < M_PI + cfgPhiCut)) ||
534-
(phi > 2. * M_PI - cfgPhiCut) ||
535-
((phi > ((M_PI / 2. - 0.1) * M_PI) - cfgPhiCut) &&
536-
(phi < ((M_PI / 2. - 0.1) * M_PI) + cfgPhiCut)))
533+
((phi > o2::constants::math::PI - cfgPhiCut) && (phi < o2::constants::math::PI + cfgPhiCut)) ||
534+
(phi > 2. * o2::constants::math::PI - cfgPhiCut) ||
535+
((phi > ((o2::constants::math::PI / 2. - 0.1) * o2::constants::math::PI) - cfgPhiCut) &&
536+
(phi < ((o2::constants::math::PI / 2. - 0.1) * o2::constants::math::PI) + cfgPhiCut)))
537537
continue;
538538
}
539539

@@ -770,10 +770,10 @@ struct PseudorapidityDensityMFT {
770770

771771
if (usePhiCut) {
772772
if ((phi < cfgPhiCut) ||
773-
((phi > M_PI - cfgPhiCut) && (phi < M_PI + cfgPhiCut)) ||
774-
(phi > 2. * M_PI - cfgPhiCut) ||
775-
((phi > ((M_PI / 2. - 0.1) * M_PI) - cfgPhiCut) &&
776-
(phi < ((M_PI / 2. - 0.1) * M_PI) + cfgPhiCut)))
773+
((phi > o2::constants::math::PI - cfgPhiCut) && (phi < o2::constants::math::PI + cfgPhiCut)) ||
774+
(phi > 2. * o2::constants::math::PI - cfgPhiCut) ||
775+
((phi > ((o2::constants::math::PI / 2. - 0.1) * o2::constants::math::PI) - cfgPhiCut) &&
776+
(phi < ((o2::constants::math::PI / 2. - 0.1) * o2::constants::math::PI) + cfgPhiCut)))
777777
continue;
778778
}
779779

0 commit comments

Comments
 (0)