@@ -51,6 +51,8 @@ struct doublephimeson {
5151 Configurable<float > daughterDeltaR{" daughterDeltaR" , 0.0 , " delta R of daughter" };
5252 Configurable<float > minPhiMass1{" minPhiMass1" , 1.01 , " Minimum phi mass1" };
5353 Configurable<float > maxPhiMass1{" maxPhiMass1" , 1.03 , " Maximum phi mass1" };
54+ Configurable<float > minPhiPt{" minPhiPt" , 0 , " Minimum phi Pt" };
55+ Configurable<float > maxPhiPt{" maxPhiPt" , 100 , " Maximum phi Pt" };
5456 Configurable<float > minPhiMass2{" minPhiMass2" , 1.01 , " Minimum phi mass2" };
5557 Configurable<float > maxPhiMass2{" maxPhiMass2" , 1.03 , " Maximum phi mass2" };
5658 Configurable<float > minExoticMass{" minExoticMass" , 2.0 , " Minimum Exotic mass" };
@@ -68,6 +70,7 @@ struct doublephimeson {
6870 ConfigurableAxis CfgMultBins{" CfgMultBins" , {VARIABLE_WIDTH, 0.0 , 20.0 , 40.0 , 60.0 , 80.0 , 500.0 }, " Mixing bins - number of contributor" };
6971
7072 // THnsparse bining
73+ ConfigurableAxis configThnAxisPtCorr{" configThnAxisPtCorr" , {1000 , 0.0 , 100 }, " #it{M} (GeV/#it{c}^{2})" };
7174 ConfigurableAxis configThnAxisInvMass{" configThnAxisInvMass" , {1500 , 2.0 , 3.5 }, " #it{M} (GeV/#it{c}^{2})" };
7275 ConfigurableAxis configThnAxisInvMassPhi{" configThnAxisInvMassPhi" , {20 , 1.01 , 1.03 }, " #it{M} (GeV/#it{c}^{2})" };
7376 ConfigurableAxis configThnAxisInvMassDeltaPhi{" configThnAxisInvMassDeltaPhi" , {80 , 0.0 , 0.08 }, " #it{M} (GeV/#it{c}^{2})" };
@@ -96,7 +99,7 @@ struct doublephimeson {
9699 histos.add (" hkMinusDeltaetaDeltaPhi" , " hkMinusDeltaetaDeltaPhi" , kTH2F , {{400 , -2.0 , 2.0 }, {640 , -2.0 * TMath::Pi (), 2.0 * TMath::Pi ()}});
97100 histos.add (" hDeltaRkaonplus" , " hDeltaRkaonplus" , kTH1F , {{800 , 0.0 , 8.0 }});
98101 histos.add (" hDeltaRkaonminus" , " hDeltaRkaonminus" , kTH1F , {{800 , 0.0 , 8.0 }});
99-
102+ histos. add ( " hPtCorrelation " , " hPtCorrelation " , kTH2F , {{ 400 , 0.0 , 40.0 }, { 5000 , 0.0 , 100.0 }});
100103 const AxisSpec thnAxisdeltapt{configThnAxisDeltaPt, " Delta pt" };
101104 const AxisSpec thnAxisInvMass{configThnAxisInvMass, " #it{M} (GeV/#it{c}^{2})" };
102105 const AxisSpec thnAxisPt{configThnAxisPt, " #it{p}_{T} (GeV/#it{c})" };
@@ -105,8 +108,9 @@ struct doublephimeson {
105108 const AxisSpec thnAxisDeltaR{configThnAxisDeltaR, " #Delta R)" };
106109 const AxisSpec thnAxisCosTheta{configThnAxisCosTheta, " cos #theta" };
107110 const AxisSpec thnAxisNumPhi{configThnAxisNumPhi, " Number of phi meson" };
111+ const AxisSpec thnAxisPtCorr{configThnAxisPtCorr, " Pt Corr var" };
108112
109- histos.add (" SEMassUnlike" , " SEMassUnlike" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisDeltaR, thnAxisPt, thnAxisDeltaR, thnAxisInvMassDeltaPhi, thnAxisNumPhi });
113+ histos.add (" SEMassUnlike" , " SEMassUnlike" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisDeltaR, thnAxisPt, thnAxisDeltaR, thnAxisInvMassDeltaPhi, thnAxisPtCorr });
110114 // histos.add("SEMassLike", "SEMassLike", HistType::kTHnSparseF, {thnAxisInvMass, thnAxisPt, thnAxisDeltaR, thnAxisInvMassPhi, thnAxisInvMassPhi, thnAxisNumPhi});
111115 histos.add (" MEMassUnlike" , " MEMassUnlike" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisDeltaR, thnAxisInvMassDeltaPhi});
112116 }
@@ -831,7 +835,8 @@ struct doublephimeson {
831835 // φ mass windows
832836 if (t1.phiMass () < minPhiMass1 || t1.phiMass () > maxPhiMass1)
833837 continue ;
834-
838+ if (phi1.Pt () < minPhiPt || phi1.Pt () > maxPhiPt)
839+ continue ;
835840 // PID QA after
836841 histos.fill (HIST (" hnsigmaTPCTOFKaon" ), t1.phid1TPC (), t1.phid1TOF (), kplus1pt);
837842 histos.fill (HIST (" hnsigmaTPCKaonPlus" ), t1.phid1TPC (), kplus1pt);
@@ -864,7 +869,8 @@ struct doublephimeson {
864869 k2m.SetXYZM (t2.phid2Px (), t2.phid2Py (), t2.phid2Pz (), 0.493 );
865870 if (t2.phiMass () < minPhiMass2 || t2.phiMass () > maxPhiMass2)
866871 continue ;
867-
872+ if (phi1.Pt () < minPhiPt || phi1.Pt () > maxPhiPt)
873+ continue ;
868874 // Δm cut (configurable)
869875 const double dM = deltaMPhi (phi1.M (), phi2.M ());
870876 if (dM > maxDeltaMPhi)
@@ -907,15 +913,16 @@ struct doublephimeson {
907913 const double M = pair.M ();
908914 const double dR = deltaR (p1.Phi (), p1.Eta (), p2.Phi (), p2.Eta ());
909915 const double minDR = minDRV[i];
910-
916+ double ptcorr = p1.Pt () / (pair.Pt () - p1.Pt ());
917+ histos.fill (HIST (" hPtCorrelation" ), pair.Pt (), ptcorr);
911918 // NOTE: second axis is now minΔR(all kaons), ΔpT/pT has been removed
912919 histos.fill (HIST (" SEMassUnlike" ),
913920 M,
914921 minDR,
915922 pair.Pt (),
916923 dR,
917924 dM,
918- pairV. size () );
925+ ptcorr );
919926 }
920927 }
921928 PROCESS_SWITCH (doublephimeson, processopti3, " Process Optimized same event" , false );
0 commit comments