diff --git a/PWGDQ/Tasks/dqEfficiency_withAssoc.cxx b/PWGDQ/Tasks/dqEfficiency_withAssoc.cxx index 6ae0c0ce844..6d553fa69c6 100644 --- a/PWGDQ/Tasks/dqEfficiency_withAssoc.cxx +++ b/PWGDQ/Tasks/dqEfficiency_withAssoc.cxx @@ -4049,11 +4049,10 @@ struct AnalysisDileptonTrack { // compute needed quantities VarManager::FillDileptonHadron(dilepton, track, fValuesHadron); VarManager::FillDileptonTrackVertexing(event, lepton1, lepton2, track, fValuesHadron); - - + auto trackMC = track.reducedMCTrack(); - // for the energy correlator analysis + // for the energy correlator analysis auto motherParticle = lepton1MC.template mothers_first_as(); VarManager::FillEnergyCorrelator(dilepton, track, fValuesHadron, fConfigApplyMassEC); VarManager::FillEnergyCorrelatorsMCUnfolding(dilepton, track, motherParticle, trackMC, fValuesHadron);