Skip to content

Commit 45efcbf

Browse files
authored
[PWGLF] Add additional systematic uncertainty configurations (#18276)
1 parent 8018361 commit 45efcbf

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -932,12 +932,6 @@ struct lambdaspincorrderived {
932932
if (candidate.lambdaPt() > ptMax) {
933933
return false;
934934
}
935-
if (v0Configurations.useK0sRejection) {
936-
const double mK0s = getK0sCompetingMass(candidate);
937-
if (std::abs(mK0s - o2::constants::physics::MassK0Short) < v0Configurations.confK0sMassWindow) {
938-
return false;
939-
}
940-
}
941935

942936
if (v0Configurations.useAdditionalCut) {
943937
// additional cuts
@@ -959,6 +953,12 @@ struct lambdaspincorrderived {
959953
if (candidate.ctau() > v0Configurations.maxCtau) {
960954
return false;
961955
}
956+
957+
if (v0Configurations.useK0sRejection) {
958+
if (std::abs(candidate.mK0Short() - o2::constants::physics::MassK0Short) < v0Configurations.confK0sMassWindow) {
959+
return false;
960+
}
961+
}
962962
}
963963

964964
return true;

0 commit comments

Comments
 (0)