Skip to content

Commit d807931

Browse files
committed
Add PID histogram
1 parent cc7c4ee commit d807931

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

PWGLF/Tasks/Resonances/doublephimeson.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -755,9 +755,9 @@ struct doublephimeson {
755755
const double kpluspt = std::hypot(t.phid1Px(), t.phid1Py());
756756
const double kminuspt = std::hypot(t.phid2Px(), t.phid2Py());
757757
// PID QA before
758-
histos.fill(HIST("hnsigmaTPCTOFKaonBefore"), t.phid1TPC(), t.phid1TOF(), kplus1pt);
759-
histos.fill(HIST("hnsigmaTPCKaonPlusBefore"), t.phid1TPC(), kplus1pt);
760-
histos.fill(HIST("hnsigmaTPCKaonMinusBefore"), t.phid2TPC(), kminus1pt);
758+
histos.fill(HIST("hnsigmaTPCTOFKaonBefore"), t.phid1TPC(), t.phid1TOF(), kpluspt);
759+
histos.fill(HIST("hnsigmaTPCKaonPlusBefore"), t.phid1TPC(), kpluspt);
760+
histos.fill(HIST("hnsigmaTPCKaonMinusBefore"), t.phid2TPC(), kminuspt);
761761
if (t.phiMass() < minPhiMass1 || t.phiMass() > maxPhiMass1)
762762
continue;
763763
if (kpluspt > maxKaonPt || kminuspt > maxKaonPt)
@@ -767,10 +767,10 @@ struct doublephimeson {
767767
if (!selectionPID(t.phid2TPC(), t.phid2TOF(), t.phid2TOFHit(), strategyPID2, kminuspt))
768768
continue;
769769
// PID QA after
770-
histos.fill(HIST("hnsigmaTPCTOFKaon"), t1.phid1TPC(), t1.phid1TOF(), kplus1pt);
771-
histos.fill(HIST("hnsigmaTPCKaonPlus"), t1.phid1TPC(), kplus1pt);
772-
histos.fill(HIST("hnsigmaTPCKaonMinus"), t1.phid2TPC(), kminus1pt);
773-
histos.fill(HIST("hPhiMass"), phi1.M(), phi1.Pt());
770+
histos.fill(HIST("hnsigmaTPCTOFKaon"), t.phid1TPC(), t.phid1TOF(), kpluspt);
771+
histos.fill(HIST("hnsigmaTPCKaonPlus"), t.phid1TPC(), kpluspt);
772+
histos.fill(HIST("hnsigmaTPCKaonMinus"), t.phid2TPC(), kminuspt);
773+
774774
++phimult;
775775
}
776776
if (phimult < 2)
@@ -845,7 +845,7 @@ struct doublephimeson {
845845
continue;
846846

847847
const auto id1 = t1.index();
848-
848+
histos.fill(HIST("hPhiMass"), phi1.M(), phi1.Pt());
849849
for (auto const& t2 : phitracks) {
850850
const auto id2 = t2.index();
851851
if (id2 <= id1)

0 commit comments

Comments
 (0)