diff --git a/PWGJE/TableProducer/emcalClusterHadronicCorrectionTask.cxx b/PWGJE/TableProducer/emcalClusterHadronicCorrectionTask.cxx index 43542d28919..bc57db97205 100644 --- a/PWGJE/TableProducer/emcalClusterHadronicCorrectionTask.cxx +++ b/PWGJE/TableProducer/emcalClusterHadronicCorrectionTask.cxx @@ -193,8 +193,8 @@ struct EmcalClusterHadronicCorrectionTask { // c) If you want to do systematic studies -> perform the above two checks a) and b), and then subtract 70% energy instead of 100% // Perform dEta/dPhi matching - double dEta = match.track_as().eta() - cluster.eta(); - double dPhi = TVector2::Phi_mpi_pi(match.track_as().phi() - cluster.phi()); + double dEta = match.track_as().etaEmcal() - cluster.eta(); + double dPhi = TVector2::Phi_mpi_pi(match.track_as().phiEmcal() - cluster.phi()); // Apply the eta and phi matching thresholds // dEta and dPhi cut : ensures that the matched track is within the desired eta/phi window