@@ -803,7 +803,7 @@ struct TaskPi0FlowEMC {
803803 if (mesonConfig.enableTanThetadPhi .value ) {
804804 float dTheta = photon1.Theta () - photon3.Theta ();
805805 float dPhi = photon1.Phi () - photon3.Phi ();
806- if (mesonConfig.enableTanThetadPhi . value && mesonConfig. minTanThetadPhi <= std::fabs (getAngleDegree (std::atan (dTheta / dPhi)))) {
806+ if (mesonConfig.minTanThetadPhi <= std::fabs (getAngleDegree (std::atan (dTheta / dPhi)))) {
807807 continue ;
808808 }
809809 }
@@ -825,7 +825,7 @@ struct TaskPi0FlowEMC {
825825 if (mesonConfig.enableTanThetadPhi .value ) {
826826 float dTheta = photon2.Theta () - photon3.Theta ();
827827 float dPhi = photon2.Phi () - photon3.Phi ();
828- if (mesonConfig.enableTanThetadPhi . value && mesonConfig. minTanThetadPhi <= std::fabs (getAngleDegree (std::atan (dTheta / dPhi)))) {
828+ if (mesonConfig.minTanThetadPhi <= std::fabs (getAngleDegree (std::atan (dTheta / dPhi)))) {
829829 continue ;
830830 }
831831 }
@@ -909,7 +909,7 @@ struct TaskPi0FlowEMC {
909909 if (mesonConfig.enableTanThetadPhi .value ) {
910910 float dTheta = photonPCM.Theta () - photon3.Theta ();
911911 float dPhi = photonPCM.Phi () - photon3.Phi ();
912- if (mesonConfig.enableTanThetadPhi . value && mesonConfig. minTanThetadPhi <= std::fabs (getAngleDegree (std::atan (dTheta / dPhi)))) {
912+ if (mesonConfig.minTanThetadPhi <= std::fabs (getAngleDegree (std::atan (dTheta / dPhi)))) {
913913 continue ;
914914 }
915915 }
@@ -941,7 +941,7 @@ struct TaskPi0FlowEMC {
941941 if (mesonConfig.enableTanThetadPhi .value ) {
942942 float dTheta = photonEMC.Theta () - photon3.Theta ();
943943 float dPhi = photonEMC.Phi () - photon3.Phi ();
944- if (mesonConfig.enableTanThetadPhi . value && mesonConfig. minTanThetadPhi <= std::fabs (getAngleDegree (std::atan (dTheta / dPhi)))) {
944+ if (mesonConfig.minTanThetadPhi <= std::fabs (getAngleDegree (std::atan (dTheta / dPhi)))) {
945945 continue ;
946946 }
947947 }
0 commit comments