Skip to content

Commit 38a433c

Browse files
committed
Update
1 parent a60bcf6 commit 38a433c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

EventFiltering/PWGHF/H2fromLbFilter.cxx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ struct H2fromLbFilter {
9696
QAHistos.add("hDCAzVsPt", "DCAz #bar{d} vs p_{T}", {o2::framework::HistType::kTH2D, {pTAxis, DCAzAxis}});
9797
QAHistos.add("hnSigmaTPCVsPt", "n#sigma TPC vs p_{T} for #bar{d} hypothesis; p_{T} (GeV/c); n#sigma TPC", {o2::framework::HistType::kTH2D, {pTAxis, nSigmaAxis}});
9898
QAHistos.add("hnSigmaTOFVsPt", "n#sigma TOF vs p_{T} for #bar{d} hypothesis; p_{T} (GeV/c); n#sigma TOF", {o2::framework::HistType::kTH2D, {pTAxis, nSigmaAxis}});
99+
QAHistos.add("hnSigmaTOFVsPtRecalculated", "n#sigma TOF vs p_{T} for #bar{d} hypothesis; p_{T} (GeV/c); n#sigma TOF", {o2::framework::HistType::kTH2D, {pTAxis, nSigmaAxis}});
100+
QAHistos.add("RecalculatedVsNot", "n#sigma TOF vs p_{T} for #bar{d} hypothesis; p_{T} (GeV/c); n#sigma TOF", {o2::framework::HistType::kTH2D, {{1000, -100, 100}, {1000, -100, 100}}});
99101
QAHistos.add("hnSigmaITSVsPt", "n#sigma ITS vs p_{T} for #bar{d} hypothesis; p_{T} (GeV/c); n#sigma ITS", {o2::framework::HistType::kTH2D, {pTAxis, nSigmaAxis}});
100102
QAHistos.add("ptAntiDeuteron", "ptAntiDeuteron", {o2::framework::HistType::kTH1F, {ptAxis}});
101103
QAHistos.add("etaAntideuteron", "etaAntideuteron", {o2::framework::HistType::kTH1F, {{100, -1.0f, 1.0f, "eta #bar{d}"}}});
@@ -231,7 +233,7 @@ struct H2fromLbFilter {
231233
if (!passedSingleTrackSelection(track)) {
232234
continue;
233235
}
234-
float recalculatedNSigmaTOFDe = 0.f;
236+
float recalculatedNSigmaTOFDe = 99.f;
235237
if (track.collisionId() != collision.globalIndex()) {
236238
if (track.has_collision()) {
237239
const auto& trackCollision = collisions.iteratorAt(track.collisionId());
@@ -259,6 +261,8 @@ struct H2fromLbFilter {
259261
QAHistos.fill(HIST("hDCAzVsPt"), track.pt(), dca[1]);
260262
QAHistos.fill(HIST("hnSigmaTPCVsPt"), track.pt(), track.tpcNSigmaDe());
261263
QAHistos.fill(HIST("hnSigmaTOFVsPt"), track.pt(), track.tofNSigmaDe());
264+
QAHistos.fill(HIST("RecalculatedVsNot"), track.tofNSigmaDe(), recalculatedNSigmaTOFDe);
265+
QAHistos.fill(HIST("hnSigmaTOFVsPtRecalculated"), track.pt(), recalculatedNSigmaTOFDe);
262266
QAHistos.fill(HIST("hnSigmaITSVsPt"), track.pt(), track.itsNSigmaDe());
263267
}
264268
} else {
@@ -276,6 +280,8 @@ struct H2fromLbFilter {
276280
QAHistos.fill(HIST("hDCAzVsPt"), track.pt(), dca[1]);
277281
QAHistos.fill(HIST("hnSigmaTPCVsPt"), track.pt(), track.tpcNSigmaDe());
278282
QAHistos.fill(HIST("hnSigmaTOFVsPt"), track.pt(), track.tofNSigmaDe());
283+
QAHistos.fill(HIST("RecalculatedVsNot"), track.tofNSigmaDe(), recalculatedNSigmaTOFDe);
284+
QAHistos.fill(HIST("hnSigmaTOFVsPtRecalculated"), track.pt(), recalculatedNSigmaTOFDe);
279285
QAHistos.fill(HIST("hnSigmaITSVsPt"), track.pt(), track.itsNSigmaDe());
280286
}
281287
}

0 commit comments

Comments
 (0)