@@ -2215,25 +2215,25 @@ struct doublephimeson {
22152215 if (dM > maxDeltaMPhi)
22162216 continue ;
22172217
2218- TLorentzVector pair = phi1 + phi2;
2219- if (pair .M () < minExoticMass || pair .M () > maxExoticMass)
2218+ TLorentzVector pairPhiPhi = phi1 + phi2;
2219+ if (pairPhiPhi .M () < minExoticMass || pairPhiPhi .M () > maxExoticMass)
22202220 continue ;
22212221
22222222 const double minDR = minKaonDeltaR (c1.kplus , c2.kplus , c1.kminus , c2.kminus );
22232223 const double dR = deltaR (phi1.Phi (), phi1.Eta (), phi2.Phi (), phi2.Eta ());
22242224
22252225 // same definition as SE
2226- const double ptcorr = (pair .Pt () - phi1.Pt () != 0 .)
2227- ? phi1.Pt () / (pair .Pt () - phi1.Pt ())
2226+ const double ptcorr = (pairPhiPhi .Pt () - phi1.Pt () != 0 .)
2227+ ? phi1.Pt () / (pairPhiPhi .Pt () - phi1.Pt ())
22282228 : 0 .;
22292229
22302230 histos.fill (HIST (" MEMassUnlike" ),
2231- pair .M (), // M(phi-phi)
2232- minDR, // min ΔR among all kaon pairs
2233- pair .Pt (), // pT(phi-phi)
2234- dR, // ΔR(phi1, phi2)
2235- dM, // Δm(phi)
2236- ptcorr); // pT correlation
2231+ pairPhiPhi .M (), // M(phi-phi)
2232+ minDR, // min ΔR among all kaon pairs
2233+ pairPhiPhi .Pt (), // pT(phi-phi)
2234+ dR, // ΔR(phi1, phi2)
2235+ dM, // Δm(phi)
2236+ ptcorr); // pT correlation
22372237
22382238 // --- NEW: compute z and A from phi candidates (no cuts) ---
22392239 const double pt1 = phi1.Pt ();
@@ -2244,7 +2244,7 @@ struct doublephimeson {
22442244 const double z = pt1 / ptsum;
22452245 const double A = std::abs (pt1 - pt2) / ptsum;
22462246 // --- Fill NEW THnSparse (no cuts) ---
2247- histos.fill (HIST (" MEMassUnlike_DeltaRZA" ), pair .M (), pair .Pt (), pair .Pt () * dR, z, A, dM);
2247+ histos.fill (HIST (" MEMassUnlike_DeltaRZA" ), pairPhiPhi .M (), pairPhiPhi .Pt (), pairPhiPhi .Pt () * dR, z, A, dM);
22482248 }
22492249 }
22502250 }
0 commit comments