@@ -886,7 +886,9 @@ struct PhotonChargedTriggerCorrelation
886886 return doEffCorrectionPipm ? getH1ValueAt (h1PtInvEffPipm, value) : 1 ;
887887 } else if constexpr (T == ParticleType::PhotonPCM) {
888888 return doEffCorrectionPhotonPCM ? getH1ValueAt (h1PtInvEffPhotonPCM, value) : 1 ;
889- } else return 1 ;
889+ } else {
890+ return 1 ;
891+ }
890892 }
891893
892894
@@ -1258,8 +1260,8 @@ struct PhotonChargedTriggerCorrelation
12581260 associated.pt (), associated.mgg (), collision.posZ (), collision.multNTracksGlobal (),
12591261 getInvEff<ParticleType::Trigger>(trigger.pt ()));
12601262
1261- // pi0 mass range
12621263 if (associated.mgg () > pi0PCMMassRange.value [0 ] && associated.mgg () < pi0PCMMassRange.value [1 ]) {
1264+ // pi0 mass range
12631265 histos.fill (HIST (" reco/corr/h3_ptPhiEta_assoc_pi0PCM" ),
12641266 associated.pt (), associated.phi (), associated.eta (),
12651267 getInvEff<ParticleType::Trigger>(trigger.pt ()));
@@ -1268,9 +1270,8 @@ struct PhotonChargedTriggerCorrelation
12681270 trigger.eta () - associated.eta (),
12691271 trigger.pt (), associated.pt (), collision.posZ (), collision.multNTracksGlobal (),
12701272 getInvEff<ParticleType::Trigger>(trigger.pt ()));
1271- }
1272- // pi0 mass side range
1273- else if (associated.mgg () > pi0PCMSideMassRange.value [0 ] && associated.mgg () < pi0PCMSideMassRange.value [1 ]) {
1273+ } else if (associated.mgg () > pi0PCMSideMassRange.value [0 ] && associated.mgg () < pi0PCMSideMassRange.value [1 ]) {
1274+ // pi0 mass side range
12741275 histos.fill (HIST (" reco/corr/h6_corr_pi0PCMSide" ),
12751276 getDeltaPhi (trigger.phi (), associated.phi ()),
12761277 trigger.eta () - associated.eta (),
0 commit comments