We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b39df2 commit 85fae98Copy full SHA for 85fae98
PWGHF/HFL/Tasks/taskElectronWeakBoson.cxx
@@ -206,8 +206,8 @@ struct HfTaskElectronWeakBoson {
206
// LOG(info) << "tr phi1 = " << track.phi();
207
// LOG(info) << "emc phi = " << phiEmc;
208
if (nMatch == 0) {
209
- double dEta = match.track_as<TrackEle>().eta() - etaEmc;
210
- double dPhi = match.track_as<TrackEle>().phi() - phiEmc;
+ double dEta = match.track_as<TrackEle>().trackEtaEmcal() - etaEmc;
+ double dPhi = match.track_as<TrackEle>().trackPhiEmcal() - phiEmc;
211
dPhi = RecoDecay::constrainAngle(dPhi, -o2::constants::math::PI);
212
213
registry.fill(HIST("hMatchPhi"), phiEmc, match.track_as<TrackEle>().phi());
0 commit comments