Skip to content

Commit 3336ec0

Browse files
committed
fix code checker
1 parent 20a28e3 commit 3336ec0

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

PWGCF/JCorran/Tasks/jEPFlowAnalysis.cxx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
#include <RtypesCore.h>
5353

5454
#include <algorithm>
55+
#include <array>
5556
#include <chrono>
5657
#include <cmath>
5758
#include <cstddef>
5859
#include <cstdint>
5960
#include <iterator>
6061
#include <string>
6162
#include <vector>
62-
#include <array>
6363

6464
using namespace o2;
6565
using namespace o2::framework;
@@ -236,15 +236,11 @@ struct JEPFlowAnalysis {
236236
return q2 > sel;
237237
}
238238

239-
if (!isHigh) {
240-
if (idx >= static_cast<int>(cfgMultq2low->size())) {
241-
idx = cfgMultq2low->size() - 1;
242-
}
243-
float sel = cfgMultq2low->at(idx);
244-
return q2 < sel;
239+
if (idx >= static_cast<int>(cfgMultq2low->size())) {
240+
idx = cfgMultq2low->size() - 1;
245241
}
246-
247-
return false;
242+
float sel = cfgMultq2low->at(idx);
243+
return q2 < sel;
248244
}
249245

250246
template <typename T>

0 commit comments

Comments
 (0)