Skip to content

Commit 0558894

Browse files
authored
Add DeltaEta and Deltaphi from Emcal correction table
Add DeltaEta and Deltaphi from Emcal correction table
1 parent 323c6f0 commit 0558894

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGHF/HFL/TableProducer/electronSelectionWithTpcEmcal.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ struct HfElectronSelectionWithTpcEmcal {
468468
timeEmcCluster = emcCluster.time();
469469
cellEmcCluster = emcCluster.nCells();
470470

471-
deltaPhiMatch = matchTrack.trackPhiEmcal() - phiMatchEmcCluster;
472-
deltaEtaMatch = matchTrack.trackEtaEmcal() - etaMatchEmcCluster;
471+
deltaPhiMatch = ematchTrack.deltaPhi();
472+
deltaEtaMatch = ematchTrack.deltaEta();
473473

474474
// Track and EMCal cluster Matching
475475
if (std::abs(timeEmcCluster) > timeEmcClusterMax) {

0 commit comments

Comments
 (0)