@@ -804,11 +804,11 @@ struct phipbpb {
804804 auto cosPhistarminuspsi = GetPhiInRange (fourVecDauCM.Phi () - psiFT0C);
805805 auto SA = TMath::Cos (2.0 * cosPhistarminuspsi);
806806 // auto cosThetaStarOP = TMath::Abs(eventplaneVecNorm.Dot(threeVecDauCM) / std::sqrt(threeVecDauCM.Mag2()) / std::sqrt(eventplaneVecNorm.Mag2()));
807+ auto cosThetaStarIP = eventplaneVec.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (eventplaneVec.Mag2 ());
807808 auto cosThetaStarOP = eventplaneVecNorm.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (eventplaneVecNorm.Mag2 ());
808809 auto cosThetaStarOPbeam = beamvector.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (beamvector.Mag2 ());
809810 auto SA_A0 = 1 - (cosThetaStarOP * cosThetaStarOP);
810811 // auto cosThetaStarIP = TMath::Abs(eventplaneVec.Dot(threeVecDauCM) / std::sqrt(threeVecDauCM.Mag2()) / std::sqrt(eventplaneVec.Mag2()));
811- auto cosThetaStarIP = eventplaneVec.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (eventplaneVec.Mag2 ());
812812 auto phiminuspsi = GetPhiInRange (PhiMesonMother.Phi () - psiFT0C);
813813 auto v2 = TMath::Cos (2.0 * phiminuspsi);
814814 if (!fillRapidity) {
@@ -880,10 +880,10 @@ struct phipbpb {
880880 eventplaneVecNorm = ROOT::Math::XYZVector (std::sin (2.0 * psiFT0C), -std::cos (2.0 * psiFT0C), 0 );
881881 auto cosPhistarminuspsi = GetPhiInRange (fourVecDauCM.Phi () - psiFT0C);
882882 auto SA = TMath::Cos (2.0 * cosPhistarminuspsi);
883- auto cosThetaStarOP = TMath::Abs (eventplaneVecNorm.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (eventplaneVecNorm.Mag2 ()));
884- auto cosThetaStarOPbeam = TMath::Abs (beamvector.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (beamvector.Mag2 ()));
883+ auto cosThetaStarIP = eventplaneVec.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (eventplaneVec.Mag2 ());
884+ auto cosThetaStarOP = eventplaneVecNorm.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (eventplaneVecNorm.Mag2 ());
885+ auto cosThetaStarOPbeam = beamvector.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (beamvector.Mag2 ());
885886 auto SA_A0 = 1 - (cosThetaStarOP * cosThetaStarOP);
886- auto cosThetaStarIP = TMath::Abs (eventplaneVec.Dot (threeVecDauCM) / std::sqrt (threeVecDauCM.Mag2 ()) / std::sqrt (eventplaneVec.Mag2 ()));
887887 auto phiminuspsi = GetPhiInRange (PhiMesonMother.Phi () - psiFT0C);
888888 auto v2 = TMath::Cos (2.0 * phiminuspsi);
889889 if (!fillRapidity) {
0 commit comments