Skip to content

Commit

Permalink
[PWGLF] NucleiTask - ITS cut fix
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannimalfattore committed Jan 10, 2025
1 parent a6ac2a5 commit b5e4525
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2147,6 +2147,8 @@ struct LFNucleiBATask {
}

float nITSTr, nITSHe;
nITSTr = track.itsNSigmaTr();
nITSHe = track.itsNSigmaHe();

heP = track.p();
antiheP = track.p();
Expand Down Expand Up @@ -2313,8 +2315,8 @@ struct LFNucleiBATask {
isHe = isHelium && track.sign() > 0;
isAntiHe = isHelium && track.sign() < 0;
} else {
isHe = isHelium && track.sign() > 0 && std::abs(track.itsNSigmaTr()) > nsigmaITSvar.nsigmaITSTr;
isAntiHe = isHelium && track.sign() < 0 && std::abs(track.itsNSigmaTr()) > nsigmaITSvar.nsigmaITSTr;
isHe = isHelium && track.sign() > 0 && std::abs(nITSTr) > nsigmaITSvar.nsigmaITSTr;
isAntiHe = isHelium && track.sign() < 0 && std::abs(nITSTr) > nsigmaITSvar.nsigmaITSTr;
}

isDeWoDCAxy = isDe && passDCAzCutDe;
Expand Down Expand Up @@ -3469,9 +3471,6 @@ struct LFNucleiBATask {
continue;
}

nITSTr = track.itsNSigmaTr();
nITSHe = track.itsNSigmaHe();

if (outFlagOptions.makeDCAAfterCutPlots) {

if (isHeWTPCpid) {
Expand Down

0 comments on commit b5e4525

Please sign in to comment.