@@ -53,7 +53,7 @@ struct doublephimeson {
5353 Configurable<float > cutNsigmaTPC{" cutNsigmaTPC" , 3.0 , " nsigma cut TPC" };
5454 Configurable<float > cutNsigmaTOF{" cutNsigmaTOF" , 3.0 , " nsigma cut TOF" };
5555 Configurable<float > momTOFCut{" momTOFCut" , 1.8 , " minimum pT cut for madnatory TOF" };
56- Configurable<float > maxKaonPt{" maxKaonPt" , 4 .0 , " maximum kaon pt cut" };
56+ Configurable<float > maxKaonPt{" maxKaonPt" , 100 .0 , " maximum kaon pt cut" };
5757 // Event Mixing
5858 Configurable<int > nEvtMixing{" nEvtMixing" , 1 , " Number of events to mix" };
5959 ConfigurableAxis CfgVtxBins{" CfgVtxBins" , {10 , -10 , 10 }, " Mixing bins - z-vertex" };
@@ -88,9 +88,9 @@ struct doublephimeson {
8888 const AxisSpec thnAxisCosTheta{configThnAxisCosTheta, " cos #theta" };
8989 const AxisSpec thnAxisNumPhi{configThnAxisNumPhi, " Number of phi meson" };
9090
91- histos.add (" SEMassUnlike" , " SEMassUnlike" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisDeltaR, thnAxisCosTheta, thnAxisInvMassDeltaPhi , thnAxisNumPhi});
92- histos.add (" SEMassLike" , " SEMassLike" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisDeltaR, thnAxisCosTheta, thnAxisInvMassDeltaPhi , thnAxisNumPhi});
93- histos.add (" MEMassUnlike" , " MEMassUnlike" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisDeltaR, thnAxisCosTheta, thnAxisInvMassDeltaPhi });
91+ histos.add (" SEMassUnlike" , " SEMassUnlike" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisDeltaR, thnAxisInvMassPhi, thnAxisInvMassPhi , thnAxisNumPhi});
92+ // histos.add("SEMassLike", "SEMassLike", HistType::kTHnSparseF, {thnAxisInvMass, thnAxisPt, thnAxisDeltaR, thnAxisInvMassPhi, thnAxisInvMassPhi , thnAxisNumPhi});
93+ histos.add (" MEMassUnlike" , " MEMassUnlike" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisDeltaR, thnAxisInvMassPhi, thnAxisInvMassPhi });
9494 }
9595
9696 // get kstar
@@ -164,57 +164,71 @@ struct doublephimeson {
164164
165165 bool selectionPID (float nsigmaTPC, float nsigmaTOF, int TOFHit, int PIDStrategy, float ptcand)
166166 {
167+ // optimized TPC TOF
167168 if (PIDStrategy == 0 ) {
168- if (ptcand < 0.5 ) {
169- if (nsigmaTPC > cutMinNsigmaTPC && nsigmaTPC < cutNsigmaTPC ) {
169+ if (ptcand < 0.4 ) {
170+ if (nsigmaTPC > - 3.0 && nsigmaTPC < 3.0 ) {
170171 return true ;
171172 }
172- }
173- if (ptcand >= 0.5 ) {
174- if (TOFHit != 1 ) {
175- if (ptcand >= 0.5 && ptcand < 0.6 && nsigmaTPC > -1.5 && nsigmaTPC < cutNsigmaTPC) {
176- return true ;
177- }
178- if (ptcand >= 0.6 && ptcand < 0.7 && nsigmaTPC > -1.0 && nsigmaTPC < cutNsigmaTPC) {
179- return true ;
180- }
181- if (ptcand >= 0.7 && ptcand < 0.8 && nsigmaTPC > -0.4 && nsigmaTPC < cutNsigmaTPC) {
182- return true ;
183- }
184- if (ptcand >= 0.8 && ptcand < 1.0 && nsigmaTPC > -0.0 && nsigmaTPC < cutNsigmaTPC) {
185- return true ;
186- }
187- if (ptcand >= 1.0 && ptcand < 1.8 && nsigmaTPC > -2.0 && nsigmaTPC < 2.0 ) {
188- return true ;
189- }
190- if (ptcand >= 1.8 && ptcand < 2.0 && nsigmaTPC > -2.0 && nsigmaTPC < 1.5 ) {
191- return true ;
192- }
193- if (ptcand >= 2.0 && nsigmaTPC > -2.0 && nsigmaTPC < 1.0 ) {
194- return true ;
195- }
173+ } else if (ptcand >= 0.4 && ptcand < 0.5 ) {
174+ if (nsigmaTPC > -2.0 && nsigmaTPC < 3.0 ) {
175+ return true ;
196176 }
197- if (TOFHit == 1 ) {
198- if (TMath::Sqrt ((nsigmaTPC * nsigmaTPC + nsigmaTOF * nsigmaTOF) / 2.0 ) < cutNsigmaTOF) {
199- return true ;
200- }
177+ } else if (ptcand >= 0.5 && ptcand < 5.0 && TOFHit == 1 ) {
178+ if (ptcand < 2.0 && TMath::Sqrt (nsigmaTOF * nsigmaTOF + nsigmaTPC * nsigmaTPC) < 2.5 ) {
179+ return true ;
180+ }
181+ if (ptcand >= 2.0 && TMath::Sqrt (nsigmaTOF * nsigmaTOF + nsigmaTPC * nsigmaTPC) < 2.0 ) {
182+ return true ;
183+ }
184+ } else if (ptcand >= 0.5 && ptcand < 5.0 && TOFHit != 1 ) {
185+ if (ptcand >= 0.5 && ptcand < 0.6 && nsigmaTPC > -1.5 && nsigmaTPC < 2.0 ) {
186+ return true ;
201187 }
188+ if (ptcand >= 0.6 && ptcand < 0.7 && nsigmaTPC > -1.0 && nsigmaTPC < 2.0 ) {
189+ return true ;
190+ }
191+ if (ptcand >= 0.7 && ptcand < 0.8 && nsigmaTPC > -0.4 && nsigmaTPC < 2.0 ) {
192+ return true ;
193+ }
194+ if (ptcand >= 0.8 && ptcand < 1.0 && nsigmaTPC > -0.0 && nsigmaTPC < 2.0 ) {
195+ return true ;
196+ }
197+ if (ptcand >= 1.0 && ptcand < 1.8 && nsigmaTPC > -2.0 && nsigmaTPC < 2.0 ) {
198+ return true ;
199+ }
200+ if (ptcand >= 1.8 && ptcand < 2.0 && nsigmaTPC > -2.0 && nsigmaTPC < 1.5 ) {
201+ return true ;
202+ }
203+ if (ptcand >= 2.0 && nsigmaTPC > -2.0 && nsigmaTPC < 1.0 ) {
204+ return true ;
205+ }
206+ } else if (ptcand >= 5.0 && nsigmaTPC > -2.0 && nsigmaTPC < 2.0 ) {
207+ return true ;
202208 }
203209 }
210+ // optimized TPC TOF combined
204211 if (PIDStrategy == 1 ) {
205- if (ptcand < 0.5 ) {
212+ if (ptcand < 0.4 ) {
206213 if (nsigmaTPC > cutMinNsigmaTPC && nsigmaTPC < cutNsigmaTPC) {
207214 return true ;
208215 }
209- }
210- if (ptcand >= 0.5 ) {
211- if (TOFHit == 1 ) {
212- if (nsigmaTPC > cutMinNsigmaTPC && nsigmaTPC < cutNsigmaTPC && TMath::Abs (nsigmaTOF) < cutNsigmaTOF) {
213- return true ;
214- }
216+ } else if (ptcand >= 0.4 && ptcand < 0.5 ) {
217+ if (nsigmaTPC > -2.0 && nsigmaTPC < cutNsigmaTPC) {
218+ return true ;
219+ }
220+ } else if (ptcand >= 0.5 && ptcand < 5.0 && TOFHit == 1 ) {
221+ if (ptcand < 2.0 && TMath::Sqrt (nsigmaTOF * nsigmaTOF + nsigmaTPC * nsigmaTPC) < 2.5 ) {
222+ return true ;
223+ }
224+ if (ptcand >= 2.0 && TMath::Sqrt (nsigmaTOF * nsigmaTOF + nsigmaTPC * nsigmaTPC) < 2.0 ) {
225+ return true ;
215226 }
227+ } else if (ptcand >= 5.0 && nsigmaTPC > -2.0 && nsigmaTPC < 2.0 ) {
228+ return true ;
216229 }
217230 }
231+
218232 if (PIDStrategy == 2 ) {
219233 if (ptcand < 0.5 ) {
220234 if (nsigmaTPC > cutMinNsigmaTPC && nsigmaTPC < cutNsigmaTPC) {
@@ -275,7 +289,7 @@ struct doublephimeson {
275289 }
276290
277291 TLorentzVector exotic, Phid1, Phid2;
278- TLorentzVector exoticlike, Phi1kaonplus, Phi1kaonminus, Phi2kaonplus, Phi2kaonminus, Phid1like, Phid2like;
292+ // TLorentzVector exoticlike, Phi1kaonplus, Phi1kaonminus, Phi2kaonplus, Phi2kaonminus, Phid1like, Phid2like;
279293 // TLorentzVector exoticRot, Phid1Rot;
280294
281295 void processSE (aod::RedPhiEvents::iterator const & collision, aod::PhiTracks const & phitracks)
@@ -325,8 +339,8 @@ struct doublephimeson {
325339 histos.fill (HIST (" hPhiMass" ), Phid1.M (), Phid1.Pt ());
326340 auto phid1id = phitrackd1.index ();
327341 Phid1.SetXYZM (phitrackd1.phiPx (), phitrackd1.phiPy (), phitrackd1.phiPz (), phitrackd1.phiMass ());
328- Phi1kaonplus.SetXYZM (phitrackd1.phid1Px (), phitrackd1.phid1Py (), phitrackd1.phid1Pz (), 0.493 );
329- Phi1kaonminus.SetXYZM (phitrackd1.phid2Px (), phitrackd1.phid2Py (), phitrackd1.phid2Pz (), 0.493 );
342+ // Phi1kaonplus.SetXYZM(phitrackd1.phid1Px(), phitrackd1.phid1Py(), phitrackd1.phid1Pz(), 0.493);
343+ // Phi1kaonminus.SetXYZM(phitrackd1.phid2Px(), phitrackd1.phid2Py(), phitrackd1.phid2Pz(), 0.493);
330344 for (auto phitrackd2 : phitracks) {
331345 auto phid2id = phitrackd2.index ();
332346 if (phid2id <= phid1id) {
@@ -353,23 +367,24 @@ struct doublephimeson {
353367 continue ;
354368 }
355369 Phid2.SetXYZM (phitrackd2.phiPx (), phitrackd2.phiPy (), phitrackd2.phiPz (), phitrackd2.phiMass ());
356- Phi2kaonplus.SetXYZM (phitrackd2.phid1Px (), phitrackd2.phid1Py (), phitrackd2.phid1Pz (), 0.493 );
357- Phi2kaonminus.SetXYZM (phitrackd2.phid2Px (), phitrackd2.phid2Py (), phitrackd2.phid2Pz (), 0.493 );
358-
359- // Like
360- Phid1like = Phi1kaonplus + Phi2kaonplus;
361- Phid2like = Phi1kaonminus + Phi2kaonminus;
362- exoticlike = Phid1like + Phid2like;
363- auto deltaRlike = TMath::Sqrt (TMath::Power (Phid1like.Phi () - Phid2like.Phi (), 2.0 ) + TMath::Power (Phid1like.Eta () - Phid2like.Eta (), 2.0 ));
364- auto costhetalike = (Phid1like.Px () * Phid2like.Px () + Phid1like.Py () * Phid2like.Py () + Phid1like.Pz () * Phid2like.Pz ()) / (Phid1like.P () * Phid2like.P ());
365- auto deltamlike = TMath::Sqrt (TMath::Power (Phid1like.M () - 1.0192 , 2.0 ) + TMath::Power (Phid2like.M () - 1.0192 , 2.0 ));
366- if (!isDeep) {
367- histos.fill (HIST (" SEMassLike" ), exoticlike.M (), exoticlike.Pt (), deltaRlike, costhetalike, deltamlike, phimult);
368- }
369- if (isDeep) {
370- histos.fill (HIST (" SEMassLike" ), exoticlike.M (), exoticlike.Pt (), deltaRlike, deepangle (Phid1like, Phid2like), deltamlike, phimult);
371- }
370+ // Phi2kaonplus.SetXYZM(phitrackd2.phid1Px(), phitrackd2.phid1Py(), phitrackd2.phid1Pz(), 0.493);
371+ // Phi2kaonminus.SetXYZM(phitrackd2.phid2Px(), phitrackd2.phid2Py(), phitrackd2.phid2Pz(), 0.493);
372372
373+ /*
374+ // Like
375+ Phid1like = Phi1kaonplus + Phi2kaonplus;
376+ Phid2like = Phi1kaonminus + Phi2kaonminus;
377+ exoticlike = Phid1like + Phid2like;
378+ auto deltaRlike = TMath::Sqrt(TMath::Power(Phid1like.Phi() - Phid2like.Phi(), 2.0) + TMath::Power(Phid1like.Eta() - Phid2like.Eta(), 2.0));
379+ auto costhetalike = (Phid1like.Px() * Phid2like.Px() + Phid1like.Py() * Phid2like.Py() + Phid1like.Pz() * Phid2like.Pz()) / (Phid1like.P() * Phid2like.P());
380+ auto deltamlike = TMath::Sqrt(TMath::Power(Phid1like.M() - 1.0192, 2.0) + TMath::Power(Phid2like.M() - 1.0192, 2.0));
381+ if (!isDeep) {
382+ histos.fill(HIST("SEMassLike"), exoticlike.M(), exoticlike.Pt(), deltaRlike, costhetalike, deltamlike, phimult);
383+ }
384+ if (isDeep) {
385+ histos.fill(HIST("SEMassLike"), exoticlike.M(), exoticlike.Pt(), deltaRlike, deepangle(Phid1like, Phid2like), deltamlike, phimult);
386+ }
387+ */
373388 // Unlike
374389 if (phitrackd2.phiMass () < minPhiMass || phitrackd2.phiMass () > maxPhiMass) {
375390 continue ;
@@ -384,14 +399,14 @@ struct doublephimeson {
384399 // auto cosThetaStar = getCosTheta(exotic, Phid1);
385400 // auto kstar = getkstar(Phid1, Phid2);
386401 auto deltaR = TMath::Sqrt (TMath::Power (Phid1.Phi () - Phid2.Phi (), 2.0 ) + TMath::Power (Phid1.Eta () - Phid2.Eta (), 2.0 ));
387- auto costheta = (Phid1.Px () * Phid2.Px () + Phid1.Py () * Phid2.Py () + Phid1.Pz () * Phid2.Pz ()) / (Phid1.P () * Phid2.P ());
388- auto deltam = TMath::Sqrt (TMath::Power (Phid1.M () - 1.0192 , 2.0 ) + TMath::Power (Phid2.M () - 1.0192 , 2.0 ));
402+ // auto costheta = (Phid1.Px() * Phid2.Px() + Phid1.Py() * Phid2.Py() + Phid1.Pz() * Phid2.Pz()) / (Phid1.P() * Phid2.P());
403+ // auto deltam = TMath::Sqrt(TMath::Power(Phid1.M() - 1.0192, 2.0) + TMath::Power(Phid2.M() - 1.0192, 2.0));
389404 histos.fill (HIST (" hPhiMass2" ), Phid1.M (), Phid2.M ());
390405 if (!isDeep) {
391- histos.fill (HIST (" SEMassUnlike" ), exotic.M (), exotic.Pt (), deltaR, costheta, deltam , phimult);
406+ histos.fill (HIST (" SEMassUnlike" ), exotic.M (), exotic.Pt (), deltaR, Phid1. M (), Phid2. M () , phimult);
392407 }
393408 if (isDeep) {
394- histos.fill (HIST (" SEMassUnlike" ), exotic.M (), exotic.Pt (), deltaR, deepangle ( Phid1, Phid2), deltam , phimult);
409+ histos.fill (HIST (" SEMassUnlike" ), exotic.M (), exotic.Pt (), deltaR, Phid1. M () , Phid2. M () , phimult);
395410 }
396411 }
397412 }
@@ -450,8 +465,8 @@ struct doublephimeson {
450465 histos.fill (HIST (" hPhiMass" ), Phid1.M (), Phid1.Pt ());
451466 auto phid1id = phitrackd1.index ();
452467 Phid1.SetXYZM (phitrackd1.phiPx (), phitrackd1.phiPy (), phitrackd1.phiPz (), phitrackd1.phiMass ());
453- Phi1kaonplus.SetXYZM (phitrackd1.phid1Px (), phitrackd1.phid1Py (), phitrackd1.phid1Pz (), 0.493 );
454- Phi1kaonminus.SetXYZM (phitrackd1.phid2Px (), phitrackd1.phid2Py (), phitrackd1.phid2Pz (), 0.493 );
468+ // Phi1kaonplus.SetXYZM(phitrackd1.phid1Px(), phitrackd1.phid1Py(), phitrackd1.phid1Pz(), 0.493);
469+ // Phi1kaonminus.SetXYZM(phitrackd1.phid2Px(), phitrackd1.phid2Py(), phitrackd1.phid2Pz(), 0.493);
455470 for (auto phitrackd2 : phitracks) {
456471 auto phid2id = phitrackd2.index ();
457472 if (phid2id <= phid1id) {
@@ -475,23 +490,23 @@ struct doublephimeson {
475490 continue ;
476491 }
477492 Phid2.SetXYZM (phitrackd2.phiPx (), phitrackd2.phiPy (), phitrackd2.phiPz (), phitrackd2.phiMass ());
478- Phi2kaonplus.SetXYZM (phitrackd2.phid1Px (), phitrackd2.phid1Py (), phitrackd2.phid1Pz (), 0.493 );
479- Phi2kaonminus.SetXYZM (phitrackd2.phid2Px (), phitrackd2.phid2Py (), phitrackd2.phid2Pz (), 0.493 );
480-
481- // Like
482- Phid1like = Phi1kaonplus + Phi2kaonplus;
483- Phid2like = Phi1kaonminus + Phi2kaonminus;
484- exoticlike = Phid1like + Phid2like;
485- auto deltaRlike = TMath::Sqrt (TMath::Power (Phid1like.Phi () - Phid2like.Phi (), 2.0 ) + TMath::Power (Phid1like.Eta () - Phid2like.Eta (), 2.0 ));
486- auto costhetalike = (Phid1like.Px () * Phid2like.Px () + Phid1like.Py () * Phid2like.Py () + Phid1like.Pz () * Phid2like.Pz ()) / (Phid1like.P () * Phid2like.P ());
487- auto deltamlike = TMath::Sqrt (TMath::Power (Phid1like.M () - 1.0192 , 2.0 ) + TMath::Power (Phid2like.M () - 1.0192 , 2.0 ));
488- if (!isDeep) {
489- histos.fill (HIST (" SEMassLike" ), exoticlike.M (), exoticlike.Pt (), deltaRlike, costhetalike, deltamlike, phimult);
490- }
491- if (isDeep) {
492- histos.fill (HIST (" SEMassLike" ), exoticlike.M (), exoticlike.Pt (), deltaRlike, deepangle (Phid1like, Phid2like), deltamlike, phimult);
493- }
494-
493+ // Phi2kaonplus.SetXYZM(phitrackd2.phid1Px(), phitrackd2.phid1Py(), phitrackd2.phid1Pz(), 0.493);
494+ // Phi2kaonminus.SetXYZM(phitrackd2.phid2Px(), phitrackd2.phid2Py(), phitrackd2.phid2Pz(), 0.493);
495+ /*
496+ // Like
497+ Phid1like = Phi1kaonplus + Phi2kaonplus;
498+ Phid2like = Phi1kaonminus + Phi2kaonminus;
499+ exoticlike = Phid1like + Phid2like;
500+ auto deltaRlike = TMath::Sqrt(TMath::Power(Phid1like.Phi() - Phid2like.Phi(), 2.0) + TMath::Power(Phid1like.Eta() - Phid2like.Eta(), 2.0));
501+ auto costhetalike = (Phid1like.Px() * Phid2like.Px() + Phid1like.Py() * Phid2like.Py() + Phid1like.Pz() * Phid2like.Pz()) / (Phid1like.P() * Phid2like.P());
502+ auto deltamlike = TMath::Sqrt(TMath::Power(Phid1like.M() - 1.0192, 2.0) + TMath::Power(Phid2like.M() - 1.0192, 2.0));
503+ if (!isDeep) {
504+ histos.fill(HIST("SEMassLike"), exoticlike.M(), exoticlike.Pt(), deltaRlike, costhetalike, deltamlike, phimult);
505+ }
506+ if (isDeep) {
507+ histos.fill(HIST("SEMassLike"), exoticlike.M(), exoticlike.Pt(), deltaRlike, deepangle(Phid1like, Phid2like), deltamlike, phimult);
508+ }
509+ */
495510 // unlike
496511 if (phitrackd1.phiMass () < minPhiMass || phitrackd1.phiMass () > maxPhiMass) {
497512 continue ;
@@ -542,14 +557,14 @@ struct doublephimeson {
542557 (d4trackid.at (i5) == d3trackid.at (i6) || d4trackid.at (i5) == d4trackid.at (i6))) {
543558 // LOGF(info, "Find Pair %f %f", deltam2, deltam1);
544559 if (deltam2 < deltam1) {
545- histos.fill (HIST (" SEMassUnlike" ), exotic2.M (), exotic2.Pt (), deltaR2, deepangle2 ( exotic2phi1, exotic2phi2 ), deltam2, exoticresonance. size () );
560+ histos.fill (HIST (" SEMassUnlike" ), exotic2.M (), exotic2.Pt (), deltaR2, exotic2phi1. M ( ), exotic2phi2. M (), phimult );
546561 // LOGF(info, "Fill exotic Id %d which is pair of Id %d", i6, i5);
547562 } else {
548- histos.fill (HIST (" SEMassUnlike" ), exotic1.M (), exotic1.Pt (), deltaR1, deepangle2 ( exotic1phi1, exotic1phi2 ), deltam1, exoticresonance. size () );
563+ histos.fill (HIST (" SEMassUnlike" ), exotic1.M (), exotic1.Pt (), deltaR1, exotic1phi1. M ( ), exotic1phi2. M (), phimult );
549564 // LOGF(info, "Fill exotic Id %d which is pair of Id %d", i6, i5);
550565 }
551566 } else {
552- histos.fill (HIST (" SEMassUnlike" ), exotic1.M (), exotic1.Pt (), deltaR1, deepangle2 ( exotic1phi1, exotic1phi2 ), deltam1, exoticresonance. size () );
567+ histos.fill (HIST (" SEMassUnlike" ), exotic1.M (), exotic1.Pt (), deltaR1, exotic1phi1. M ( ), exotic1phi2. M (), phimult );
553568 }
554569 }
555570 }
@@ -559,9 +574,9 @@ struct doublephimeson {
559574 auto exotic1phi1 = phiresonanced1.at (i5);
560575 auto exotic1phi2 = phiresonanced2.at (i5);
561576 auto exotic1 = exoticresonance.at (i5);
562- auto deltam1 = TMath::Sqrt (TMath::Power (exotic1phi1.M () - 1.0192 , 2.0 ) + TMath::Power (exotic1phi2.M () - 1.0192 , 2.0 ));
577+ // auto deltam1 = TMath::Sqrt(TMath::Power(exotic1phi1.M() - 1.0192, 2.0) + TMath::Power(exotic1phi2.M() - 1.0192, 2.0));
563578 auto deltaR1 = TMath::Sqrt (TMath::Power (exotic1phi1.Phi () - exotic1phi2.Phi (), 2.0 ) + TMath::Power (exotic1phi1.Eta () - exotic1phi2.Eta (), 2.0 ));
564- histos.fill (HIST (" SEMassUnlike" ), exotic1.M (), exotic1.Pt (), deltaR1, deepangle2 ( exotic1phi1, exotic1phi2 ), deltam1, exoticresonance. size () );
579+ histos.fill (HIST (" SEMassUnlike" ), exotic1.M (), exotic1.Pt (), deltaR1, exotic1phi1. M ( ), exotic1phi2. M (), phimult );
565580 }
566581 }
567582 }
@@ -618,13 +633,13 @@ struct doublephimeson {
618633 Phid2.SetXYZM (phitrackd2.phiPx (), phitrackd2.phiPy (), phitrackd2.phiPz (), phitrackd2.phiMass ());
619634 exotic = Phid1 + Phid2;
620635 auto deltaR = TMath::Sqrt (TMath::Power (Phid1.Phi () - Phid2.Phi (), 2.0 ) + TMath::Power (Phid1.Eta () - Phid2.Eta (), 2.0 ));
621- auto costheta = (Phid1.Px () * Phid2.Px () + Phid1.Py () * Phid2.Py () + Phid1.Pz () * Phid2.Pz ()) / (Phid1.P () * Phid2.P ());
622- auto deltam = TMath::Sqrt (TMath::Power (Phid1.M () - 1.0192 , 2.0 ) + TMath::Power (Phid2.M () - 1.0192 , 2.0 ));
636+ // auto costheta = (Phid1.Px() * Phid2.Px() + Phid1.Py() * Phid2.Py() + Phid1.Pz() * Phid2.Pz()) / (Phid1.P() * Phid2.P());
637+ // auto deltam = TMath::Sqrt(TMath::Power(Phid1.M() - 1.0192, 2.0) + TMath::Power(Phid2.M() - 1.0192, 2.0));
623638 if (!isDeep) {
624- histos.fill (HIST (" MEMassUnlike" ), exotic.M (), exotic.Pt (), deltaR, costheta, deltam );
639+ histos.fill (HIST (" MEMassUnlike" ), exotic.M (), exotic.Pt (), deltaR, Phid1. M (), Phid2. M () );
625640 }
626641 if (isDeep) {
627- histos.fill (HIST (" MEMassUnlike" ), exotic.M (), exotic.Pt (), deltaR, deepangle ( Phid1, Phid2), deltam );
642+ histos.fill (HIST (" MEMassUnlike" ), exotic.M (), exotic.Pt (), deltaR, Phid1. M () , Phid2. M () );
628643 }
629644 }
630645 }
0 commit comments