Skip to content

Commit 167dade

Browse files
authored
Fix o2 linter error
1 parent 8b60896 commit 167dade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGCF/TwoParticleCorrelations/Tasks/longrangeCorrelation.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ enum KindOfCorrType {
9090

9191
static constexpr std::string_view kCorrType[] = {"Ft0aGlobal/", "Ft0cGlobal/", "MftGlobal/", "Ft0aMft/", "Ft0aFt0c/"};
9292
static constexpr std::string_view kEvntType[] = {"SE/", "ME/"};
93-
93+
auto static constexpr kMinFt0cCell = 96;
9494
AxisSpec axisEvent{10, 0.5, 9.5, "#Event", "EventAxis"};
9595

9696
struct LongrangeCorrelation {
@@ -274,7 +274,7 @@ struct LongrangeCorrelation {
274274
auto x = chPos.X() + (*offsetFT0)[i].getX();
275275
auto y = chPos.Y() + (*offsetFT0)[i].getY();
276276
auto z = chPos.Z() + (*offsetFT0)[i].getZ();
277-
if (chno >= 96)
277+
if (chno >= kMinFt0cCell)
278278
z = -z;
279279
auto r = std::sqrt(x * x + y * y);
280280
auto theta = std::atan2(r, z);

0 commit comments

Comments
 (0)