Skip to content

Commit 0699052

Browse files
YazhenLinCape
andauthored
[PWGDQ] Fix some errors in dqEnergyCorrelator_direct.cxx (#16000)
Co-authored-by: Cape <cape@lindeMacBook-Pro.local>
1 parent b74729a commit 0699052

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGDQ/Tasks/dqEnergyCorrelator_direct.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,10 +527,10 @@ struct AnalysisEnergyCorrelator {
527527
float hadron_eta = hadron.eta();
528528
float hadron_phi = hadron.phi();
529529
float deltaphi = RecoDecay::constrainAngle(dilepton_phi - hadron_phi, -0.5 * o2::constants::math::PI);
530-
float Effweight_rec = GetSafeInterpolationWeight(hAcceptance_rec, dilepton_eta - hadron_eta, deltaphi);
531-
float Accweight_gen = GetSafeInterpolationWeight(hAcceptance_gen, dilepton_eta - hadron_eta, deltaphi);
530+
Effweight_rec = GetSafeInterpolationWeight(hAcceptance_rec, dilepton_eta - hadron_eta, deltaphi);
531+
Accweight_gen = GetSafeInterpolationWeight(hAcceptance_gen, dilepton_eta - hadron_eta, deltaphi);
532532
float Effdilepton = GetSafeInterpolationWeight(hEfficiency_dilepton, dilepton_rap, dilepton_pt);
533-
float Effhadron = GetSafeInterpolationWeight(hEfficiency_hadron, hadron.pt(), hadron_eta);
533+
float Effhadron = GetSafeInterpolationWeight(hEfficiency_hadron, hadron_eta, hadron.pt());
534534
float Masswindow = hMasswindow->Interpolate(dilepton_pt);
535535
Accweight_gen = Accweight_gen * Effdilepton * Effhadron;
536536
if (fConfigDileptonHadronOptions.fConfigApplyEfficiencyME) {

0 commit comments

Comments
 (0)