@@ -240,8 +240,8 @@ struct TaskPi0FlowEMC {
240240 struct : ConfigurableGroup {
241241 std::string prefix = " correctionConfig" ;
242242 Configurable<std::string> cfgSpresoPath{" cfgSpresoPath" , " Users/m/mhemmer/EM/Flow/Resolution" , " Path to SP resolution file" };
243- Configurable<bool > cfgApplySPresolution{" cfgApplySPresolution" , 0 , " Apply resolution correction" };
244- Configurable<bool > doEMCalCalib{" doEMCalCalib" , 0 , " Produce output for EMCal calibration" };
243+ Configurable<bool > cfgApplySPresolution{" cfgApplySPresolution" , false , " Apply resolution correction" };
244+ Configurable<bool > doEMCalCalib{" doEMCalCalib" , false , " Produce output for EMCal calibration" };
245245 Configurable<bool > cfgEnableNonLin{" cfgEnableNonLin" , false , " flag to turn extra non linear energy calibration on/off" };
246246 } correctionConfig;
247247
@@ -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