Skip to content

Commit 68a54cc

Browse files
committed
Fix megalinter
1 parent c381201 commit 68a54cc

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

PWGLF/Tasks/Resonances/lambda1405analysis.cxx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ struct lambda1405analysis {
503503
if (isSigmaMinus) {
504504
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 0); // All
505505
} else {
506-
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 0); // All
506+
rSelections.fill(HIST("hRecalcSigmaPlusMom"), 0); // All
507507
}
508508
// Sigma- -> n + pi- (charged daughter = pion, neutral daughter = neutron)
509509
// Sigma+ -> p + pi0 (charged daughter = proton, neutral daughter = pi0)
@@ -519,7 +519,7 @@ struct lambda1405analysis {
519519
if (isSigmaMinus) {
520520
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 1); // Non-zero momentum
521521
} else {
522-
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 1); // Non-zero momentum
522+
rSelections.fill(HIST("hRecalcSigmaPlusMom"), 1); // Non-zero momentum
523523
}
524524

525525
double versorX = sigmaPx / pMother;
@@ -539,7 +539,7 @@ struct lambda1405analysis {
539539
if (isSigmaMinus) {
540540
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 2); // Non-zero A
541541
} else {
542-
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 2); // Non-zero A
542+
rSelections.fill(HIST("hRecalcSigmaPlusMom"), 2); // Non-zero A
543543
}
544544

545545
double D = B * B - 4.0 * A * C;
@@ -550,7 +550,7 @@ struct lambda1405analysis {
550550
if (isSigmaMinus) {
551551
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 3); // Positive D
552552
} else {
553-
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 3); // Positive D
553+
rSelections.fill(HIST("hRecalcSigmaPlusMom"), 3); // Positive D
554554
}
555555

556556
double sqrtD = std::sqrt(D);
@@ -563,7 +563,7 @@ struct lambda1405analysis {
563563
if (isSigmaMinus) {
564564
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 4); // Real solutions
565565
} else {
566-
rSelections.fill(HIST("hRecalcSigmaMinusMom"), 4); // Real solutions
566+
rSelections.fill(HIST("hRecalcSigmaPlusMom"), 4); // Real solutions
567567
}
568568

569569
success = true;
@@ -1060,11 +1060,6 @@ struct lambda1405analysis {
10601060
}
10611061
rSelections.fill(HIST("hSelectionsL1405"), 4); // Pt correlations
10621062

1063-
if (lambda1405Cand.pt() < cutMinPtL1405) {
1064-
continue;
1065-
}
1066-
rSelections.fill(HIST("hSelectionsL1405"), 4); // Pt correlations
1067-
10681063
if (lambda1405Cand.pt() < cutMinPtL1405) {
10691064
continue;
10701065
}

0 commit comments

Comments
 (0)