Skip to content

Commit fde5173

Browse files
committed
fix
1 parent f5b5fae commit fde5173

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -516,19 +516,17 @@ struct HadronNucleiCorrelation {
516516
}
517517
}
518518
} else if (isQuadraticPID) {
519-
if (!doITSPID || isITSPID) {
520-
if (sign > 0) {
521-
if (track.sign() > 0) {
522-
isProton = true;
523-
} else if (track.sign() < 0) {
524-
isProton = false;
525-
}
526-
} else if (sign < 0) {
527-
if (track.sign() > 0) {
528-
isProton = false;
529-
} else if (track.sign() < 0) {
530-
isProton = true;
531-
}
519+
if (sign > 0) {
520+
if (track.sign() > 0) {
521+
isProton = true;
522+
} else if (track.sign() < 0) {
523+
isProton = false;
524+
}
525+
} else if (sign < 0) {
526+
if (track.sign() > 0) {
527+
isProton = false;
528+
} else if (track.sign() < 0) {
529+
isProton = true;
532530
}
533531
}
534532
}

0 commit comments

Comments
 (0)