Skip to content

Commit 5dc155d

Browse files
authored
Fixing O2 linter: Define minimum constituents for jet in jetLundPlane
1 parent 5acb1fe commit 5dc155d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGJE/Tasks/jetLundPlane.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ namespace
9898
constexpr float kTiny = 1e-12f;
9999
constexpr uint64_t collisionKeyShift = 1ULL;
100100
constexpr uint64_t partCollisionKeyTag = 1ULL;
101+
constexpr size_t MinConstituentsForJet = 2;
101102

102103
struct JetLevel {
103104
enum Type : uint8_t {
@@ -418,7 +419,7 @@ struct JetLundPlaneUnfolding {
418419
std::vector<SplittingObs> getPrimarySplittings(JetRowT const& jet, ConstituentTableT const&)
419420
{
420421
auto fjInputs = buildFastJetInputs(jet.template tracks_as<ConstituentTableT>(), trackPtMin.value);
421-
if (fjInputs.size() < 2) {
422+
if (fjInputs.size() < MinConstituentsForJet) {
422423
return {};
423424
}
424425

0 commit comments

Comments
 (0)