Skip to content

Commit 6387d0a

Browse files
committed
fix linter error
1 parent 57aa415 commit 6387d0a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ using namespace o2::aod::rctsel;
9090

9191
auto static constexpr CminCharge = 3.f;
9292
auto static constexpr CintZero = 0;
93+
auto static constexpr CintOne = 1;
94+
auto static constexpr CintTwo = 2;
9395
auto static constexpr Czero = 0.f;
9496
auto static constexpr Cninety = 90.f;
9597
auto static constexpr ConeHeighty = 180.f;
@@ -4969,9 +4971,9 @@ struct DndetaMFTPbPb {
49694971

49704972
if (gConf.cfgDCAtype == 0) {
49714973
dcaInfo[0] = dcaInfOrig[0];
4972-
} else if (gConf.cfgDCAtype == 1) {
4974+
} else if (gConf.cfgDCAtype == CintOne) {
49734975
dcaInfo[0] = dcaInfOrig[1];
4974-
} else if (gConf.cfgDCAtype == 2) {
4976+
} else if (gConf.cfgDCAtype == CintTwo) {
49754977
dcaInfo[0] = std::sqrt(dcaInfOrig[0] * dcaInfOrig[0] + dcaInfOrig[1] * dcaInfOrig[1]);
49764978
}
49774979
dcaInfo[1] = dcaInfOrig[2];

0 commit comments

Comments
 (0)