Skip to content

Commit 0ca6b4a

Browse files
committed
Fix unused variable
1 parent 23a71b6 commit 0ca6b4a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ struct DndetaMFTPbPb {
999999
if (fillHis) {
10001000
float phi = track.phi();
10011001
o2::math_utils::bringTo02Pi(phi);
1002-
if (phi < 0.f || TwoPI < phi) {
1002+
if (phi < kZero || TwoPI < phi) {
10031003
continue;
10041004
}
10051005
if constexpr (has_reco_cent<C>) {
@@ -1042,7 +1042,7 @@ struct DndetaMFTPbPb {
10421042
if (fillHis) {
10431043
float phi = itrack.phi();
10441044
o2::math_utils::bringTo02Pi(phi);
1045-
if (phi < 0.f || TwoPI < phi) {
1045+
if (phi < kZero || TwoPI < phi) {
10461046
continue;
10471047
}
10481048
if constexpr (has_reco_cent<C>) {
@@ -1072,7 +1072,7 @@ struct DndetaMFTPbPb {
10721072
registry.fill(HIST("Tracks/hBestTrkSel"), trkBestSelNumReassoc);
10731073
float phi = itrack.phi();
10741074
o2::math_utils::bringTo02Pi(phi);
1075-
if (phi < 0.f || TwoPI < phi) {
1075+
if (phi < kZero || TwoPI < phi) {
10761076
continue;
10771077
}
10781078
if constexpr (has_reco_cent<C>) {
@@ -1100,7 +1100,7 @@ struct DndetaMFTPbPb {
11001100
if (fillHis) {
11011101
float phi = track.phi();
11021102
o2::math_utils::bringTo02Pi(phi);
1103-
if (phi < 0.f || TwoPI < phi) {
1103+
if (phi < kZero || TwoPI < phi) {
11041104
continue;
11051105
}
11061106
if constexpr (has_reco_cent<C>) {
@@ -1322,7 +1322,7 @@ struct DndetaMFTPbPb {
13221322

13231323
float phi = particle.phi();
13241324
o2::math_utils::bringTo02Pi(phi);
1325-
if (phi < 0.f || TwoPI < phi) {
1325+
if (phi < kZero || TwoPI < phi) {
13261326
continue;
13271327
}
13281328
if constexpr (isCent) {
@@ -1338,7 +1338,7 @@ struct DndetaMFTPbPb {
13381338
if (gtZeroColl) {
13391339
float phi = particle.phi();
13401340
o2::math_utils::bringTo02Pi(phi);
1341-
if (phi < 0.f || TwoPI < phi) {
1341+
if (phi < kZero || TwoPI < phi) {
13421342
continue;
13431343
}
13441344
if constexpr (isCent) {

0 commit comments

Comments
 (0)