@@ -82,13 +82,18 @@ struct doublephimeson {
8282 void init (o2::framework::InitContext&)
8383 {
8484 // register histograms
85+ histos.add (" hnsigmaTPCKaonPlusBefore" , " hnsigmaTPCKaonPlusBefore" , kTH2F , {{1000 , -3.0 , 3 .0f }, {100 , 0 .0f , 10 .0f }});
86+ histos.add (" hnsigmaTPCKaonMinusBefore" , " hnsigmaTPCKaonMinusBefore" , kTH2F , {{1000 , -3.0 , 3 .0f }, {100 , 0 .0f , 10 .0f }});
87+ histos.add (" hnsigmaTPCTOFKaonBefore" , " hnsigmaTPCTOFKaonBefore" , kTH3F , {{500 , -3.0 , 3 .0f }, {500 , -3.0 , 3 .0f }, {100 , 0 .0f , 10 .0f }});
8588 histos.add (" hnsigmaTPCKaonPlus" , " hnsigmaTPCKaonPlus" , kTH2F , {{1000 , -3.0 , 3 .0f }, {100 , 0 .0f , 10 .0f }});
8689 histos.add (" hnsigmaTPCKaonMinus" , " hnsigmaTPCKaonMinus" , kTH2F , {{1000 , -3.0 , 3 .0f }, {100 , 0 .0f , 10 .0f }});
8790 histos.add (" hnsigmaTPCTOFKaon" , " hnsigmaTPCTOFKaon" , kTH3F , {{500 , -3.0 , 3 .0f }, {500 , -3.0 , 3 .0f }, {100 , 0 .0f , 10 .0f }});
8891 histos.add (" hPhiMass" , " hPhiMass" , kTH2F , {{40 , 1.0 , 1 .04f }, {100 , 0 .0f , 10 .0f }});
8992 histos.add (" hPhiMass2" , " hPhiMass2" , kTH2F , {{40 , 1.0 , 1 .04f }, {40 , 1 .0f , 1 .04f }});
9093 histos.add (" hkPlusDeltaetaDeltaPhi" , " hkPlusDeltaetaDeltaPhi" , kTH2F , {{400 , -2.0 , 2.0 }, {640 , -2.0 * TMath::Pi (), 2.0 * TMath::Pi ()}});
9194 histos.add (" hkMinusDeltaetaDeltaPhi" , " hkMinusDeltaetaDeltaPhi" , kTH2F , {{400 , -2.0 , 2.0 }, {640 , -2.0 * TMath::Pi (), 2.0 * TMath::Pi ()}});
95+ histos.add (" hDeltaRkaonplus" , " hDeltaRkaonplus" , kTH1F , {{800 , 0.0 , 8.0 }});
96+ histos.add (" hDeltaRkaonminus" , " hDeltaRkaonminus" , kTH1F , {{800 , 0.0 , 8.0 }});
9297
9398 const AxisSpec thnAxisInvMass{configThnAxisInvMass, " #it{M} (GeV/#it{c}^{2})" };
9499 const AxisSpec thnAxisInvMassPhi{configThnAxisInvMassPhi, " #it{M} (GeV/#it{c}^{2})" };
@@ -467,6 +472,11 @@ struct doublephimeson {
467472 for (auto phitrackd1 : phitracks) {
468473 auto kaonplusd1pt = TMath::Sqrt (phitrackd1.phid1Px () * phitrackd1.phid1Px () + phitrackd1.phid1Py () * phitrackd1.phid1Py ());
469474 auto kaonminusd1pt = TMath::Sqrt (phitrackd1.phid2Px () * phitrackd1.phid2Px () + phitrackd1.phid2Py () * phitrackd1.phid2Py ());
475+
476+ histos.fill (HIST (" hnsigmaTPCTOFKaonBefore" ), phitrackd1.phid1TPC (), phitrackd1.phid1TOF (), kaonplusd1pt);
477+ histos.fill (HIST (" hnsigmaTPCKaonPlusBefore" ), phitrackd1.phid1TPC (), kaonplusd1pt);
478+ histos.fill (HIST (" hnsigmaTPCKaonMinusBefore" ), phitrackd1.phid2TPC (), kaonminusd1pt);
479+
470480 if (kaonplusd1pt > maxKaonPt) {
471481 continue ;
472482 }
@@ -564,6 +574,8 @@ struct doublephimeson {
564574 auto exotic1kaonminus2 = kaonminus2.at (i5);
565575 auto deltaRkaonplus1 = TMath::Sqrt (TMath::Power (exotic1kaonplus1.Phi () - exotic1kaonplus2.Phi (), 2.0 ) + TMath::Power (exotic1kaonplus1.Eta () - exotic1kaonplus2.Eta (), 2.0 ));
566576 auto deltaRkaonminus1 = TMath::Sqrt (TMath::Power (exotic1kaonminus1.Phi () - exotic1kaonminus2.Phi (), 2.0 ) + TMath::Power (exotic1kaonminus1.Eta () - exotic1kaonminus2.Eta (), 2.0 ));
577+ histos.fill (HIST (" hDeltaRkaonplus" ), deltaRkaonplus1);
578+ histos.fill (HIST (" hDeltaRkaonminus" ), deltaRkaonminus1);
567579
568580 auto deltam1 = TMath::Sqrt (TMath::Power (exotic1phi1.M () - 1.0192 , 2.0 ) + TMath::Power (exotic1phi2.M () - 1.0192 , 2.0 ));
569581 auto deltaR1 = TMath::Sqrt (TMath::Power (exotic1phi1.Phi () - exotic1phi2.Phi (), 2.0 ) + TMath::Power (exotic1phi1.Eta () - exotic1phi2.Eta (), 2.0 ));
@@ -623,6 +635,9 @@ struct doublephimeson {
623635 auto deltam1 = TMath::Sqrt (TMath::Power (exotic1phi1.M () - 1.0192 , 2.0 ) + TMath::Power (exotic1phi2.M () - 1.0192 , 2.0 ));
624636 auto deltaR1 = TMath::Sqrt (TMath::Power (exotic1phi1.Phi () - exotic1phi2.Phi (), 2.0 ) + TMath::Power (exotic1phi1.Eta () - exotic1phi2.Eta (), 2.0 ));
625637
638+ histos.fill (HIST (" hDeltaRkaonplus" ), deltaRkaonplus1);
639+ histos.fill (HIST (" hDeltaRkaonminus" ), deltaRkaonminus1);
640+
626641 if (deltaRkaonplus1 < daughterDeltaR) {
627642 continue ;
628643 }
@@ -667,6 +682,8 @@ struct doublephimeson {
667682 const ROOT::Math::PtEtaPhiMVector& kminusB) {
668683 const double dRkplus = deltaR (kplusA.Phi (), kplusA.Eta (), kplusB.Phi (), kplusB.Eta ());
669684 const double dRkminus = deltaR (kminusA.Phi (), kminusA.Eta (), kminusB.Phi (), kminusB.Eta ());
685+ histos.fill (HIST (" hDeltaRkaonplus" ), dRkplus);
686+ histos.fill (HIST (" hDeltaRkaonminus" ), dRkminus);
670687 return (dRkplus > daughterDeltaR) && (dRkminus > daughterDeltaR);
671688 // If later needed, make pT-aware:
672689 // const double thr = std::max(0.01, daughterDeltaR - 0.002 * std::min(10.0, exoticPt));
@@ -712,6 +729,11 @@ struct doublephimeson {
712729 // Per-φ selection for the first φ
713730 const double kplus1pt = std::hypot (t1.phid1Px (), t1.phid1Py ());
714731 const double kminus1pt = std::hypot (t1.phid2Px (), t1.phid2Py ());
732+
733+ histos.fill (HIST (" hnsigmaTPCTOFKaonBefore" ), t1.phid1TPC (), t1.phid1TOF (), kplus1pt);
734+ histos.fill (HIST (" hnsigmaTPCKaonPlusBefore" ), t1.phid1TPC (), kplus1pt);
735+ histos.fill (HIST (" hnsigmaTPCKaonMinusBefore" ), t1.phid2TPC (), kminus1pt);
736+
715737 if (kplus1pt > maxKaonPt)
716738 continue ;
717739 if (kminus1pt > maxKaonPt)
0 commit comments