@@ -762,7 +762,7 @@ struct Phik0shortanalysis {
762762 isCountedPhi = true ;
763763 }
764764
765- dataPhiHist.fill (HIST (" h3PhipurInvMass" ), multiplicity, recPhi.M ());
765+ dataPhiHist.fill (HIST (" h3PhipurInvMass" ), multiplicity, recPhi.Pt (), recPhi. M ());
766766
767767 std::array<bool , 3 > isCountedK0S{false , false , false };
768768
@@ -791,19 +791,19 @@ struct Phik0shortanalysis {
791791 if (std::abs (v0.yK0Short ()) > cfgYAcceptance)
792792 continue ;
793793 if (!isCountedK0S.at (0 )) {
794- dataPhiHist.fill (HIST (" h3PhipurK0SInvMassInc" ), multiplicity, v0. pt (), recPhi.M ());
794+ dataPhiHist.fill (HIST (" h3PhipurK0SInvMassInc" ), multiplicity, recPhi. Pt (), recPhi.M ());
795795 isCountedK0S.at (0 ) = true ;
796796 }
797797 if (std::abs (v0.yK0Short () - recPhi.Rapidity ()) > cfgFCutOnDeltaY)
798798 continue ;
799799 if (!isCountedK0S.at (1 )) {
800- dataPhiHist.fill (HIST (" h3PhipurK0SInvMassFCut" ), multiplicity, v0. pt (), recPhi.M ());
800+ dataPhiHist.fill (HIST (" h3PhipurK0SInvMassFCut" ), multiplicity, recPhi. Pt (), recPhi.M ());
801801 isCountedK0S.at (1 ) = true ;
802802 }
803803 if (std::abs (v0.yK0Short () - recPhi.Rapidity ()) > cfgSCutOnDeltaY)
804804 continue ;
805805 if (!isCountedK0S.at (2 )) {
806- dataPhiHist.fill (HIST (" h3PhipurK0SInvMassSCut" ), multiplicity, v0. pt (), recPhi.M ());
806+ dataPhiHist.fill (HIST (" h3PhipurK0SInvMassSCut" ), multiplicity, recPhi. Pt (), recPhi.M ());
807807 isCountedK0S.at (2 ) = true ;
808808 }
809809 }
@@ -820,19 +820,19 @@ struct Phik0shortanalysis {
820820 if (std::abs (track.rapidity (massPi)) > cfgYAcceptance)
821821 continue ;
822822 if (!isCountedPi.at (0 )) {
823- dataPhiHist.fill (HIST (" h3PhipurPiInvMassInc" ), multiplicity, track. pt (), recPhi.M ());
823+ dataPhiHist.fill (HIST (" h3PhipurPiInvMassInc" ), multiplicity, recPhi. Pt (), recPhi.M ());
824824 isCountedPi.at (0 ) = true ;
825825 }
826826 if (std::abs (track.rapidity (massPi) - recPhi.Rapidity ()) > cfgFCutOnDeltaY)
827827 continue ;
828828 if (!isCountedPi.at (1 )) {
829- dataPhiHist.fill (HIST (" h3PhipurPiInvMassFCut" ), multiplicity, track. pt (), recPhi.M ());
829+ dataPhiHist.fill (HIST (" h3PhipurPiInvMassFCut" ), multiplicity, recPhi. Pt (), recPhi.M ());
830830 isCountedPi.at (1 ) = true ;
831831 }
832832 if (std::abs (track.rapidity (massPi) - recPhi.Rapidity ()) > cfgSCutOnDeltaY)
833833 continue ;
834834 if (!isCountedPi.at (2 )) {
835- dataPhiHist.fill (HIST (" h3PhipurPiInvMassSCut" ), multiplicity, track. pt (), recPhi.M ());
835+ dataPhiHist.fill (HIST (" h3PhipurPiInvMassSCut" ), multiplicity, recPhi. Pt (), recPhi.M ());
836836 isCountedPi.at (2 ) = true ;
837837 }
838838 }
@@ -1368,7 +1368,7 @@ struct Phik0shortanalysis {
13681368 isCountedPhi = true ;
13691369 }
13701370
1371- closureMCPhiHist.fill (HIST (" h3MCPhipurInvMass" ), genmultiplicity, recPhi.M ());
1371+ closureMCPhiHist.fill (HIST (" h3MCPhipurInvMass" ), genmultiplicity, recPhi.Pt (), recPhi. M ());
13721372
13731373 std::array<bool , 3 > isCountedK0S{false , false , false };
13741374
@@ -1394,19 +1394,19 @@ struct Phik0shortanalysis {
13941394 continue ;
13951395
13961396 if (!isCountedK0S.at (0 )) {
1397- closureMCPhiHist.fill (HIST (" h3MCPhipurK0SInvMassInc" ), genmultiplicity, v0. pt (), recPhi.M ());
1397+ closureMCPhiHist.fill (HIST (" h3MCPhipurK0SInvMassInc" ), genmultiplicity, recPhi. Pt (), recPhi.M ());
13981398 isCountedK0S.at (0 ) = true ;
13991399 }
14001400 if (std::abs (v0.yK0Short () - recPhi.Rapidity ()) > cfgFCutOnDeltaY)
14011401 continue ;
14021402 if (!isCountedK0S.at (1 )) {
1403- closureMCPhiHist.fill (HIST (" h3MCPhipurK0SInvMassFCut" ), genmultiplicity, v0. pt (), recPhi.M ());
1403+ closureMCPhiHist.fill (HIST (" h3MCPhipurK0SInvMassFCut" ), genmultiplicity, recPhi. Pt (), recPhi.M ());
14041404 isCountedK0S.at (1 ) = true ;
14051405 }
14061406 if (std::abs (v0.yK0Short () - recPhi.Rapidity ()) > cfgSCutOnDeltaY)
14071407 continue ;
14081408 if (!isCountedK0S.at (2 )) {
1409- closureMCPhiHist.fill (HIST (" h3MCPhipurK0SInvMassSCut" ), genmultiplicity, v0. pt (), recPhi.M ());
1409+ closureMCPhiHist.fill (HIST (" h3MCPhipurK0SInvMassSCut" ), genmultiplicity, recPhi. Pt (), recPhi.M ());
14101410 isCountedK0S.at (2 ) = true ;
14111411 }
14121412 }
@@ -1430,19 +1430,19 @@ struct Phik0shortanalysis {
14301430 continue ;
14311431
14321432 if (!isCountedPi.at (0 )) {
1433- closureMCPhiHist.fill (HIST (" h3MCPhipurPiInvMassInc" ), genmultiplicity, track. pt (), recPhi.M ());
1433+ closureMCPhiHist.fill (HIST (" h3MCPhipurPiInvMassInc" ), genmultiplicity, recPhi. Pt (), recPhi.M ());
14341434 isCountedPi.at (0 ) = true ;
14351435 }
14361436 if (std::abs (track.rapidity (massPi) - recPhi.Rapidity ()) > cfgFCutOnDeltaY)
14371437 continue ;
14381438 if (!isCountedPi.at (1 )) {
1439- closureMCPhiHist.fill (HIST (" h3MCPhipurPiInvMassFCut" ), genmultiplicity, track. pt (), recPhi.M ());
1439+ closureMCPhiHist.fill (HIST (" h3MCPhipurPiInvMassFCut" ), genmultiplicity, recPhi. Pt (), recPhi.M ());
14401440 isCountedPi.at (1 ) = true ;
14411441 }
14421442 if (std::abs (track.rapidity (massPi) - recPhi.Rapidity ()) > cfgSCutOnDeltaY)
14431443 continue ;
14441444 if (!isCountedPi.at (2 )) {
1445- closureMCPhiHist.fill (HIST (" h3MCPhipurPiInvMassSCut" ), genmultiplicity, track. pt (), recPhi.M ());
1445+ closureMCPhiHist.fill (HIST (" h3MCPhipurPiInvMassSCut" ), genmultiplicity, recPhi. Pt (), recPhi.M ());
14461446 isCountedPi.at (2 ) = true ;
14471447 }
14481448 }
0 commit comments