Using the new ZDC-related methods
[u/mrichter/AliRoot.git] / PWG0 / base / AliAnalysisTaskESDfilter.cxx
index 95985bb6258be3677f3ffff39065e9808ae5a8c7..0a83e00fc0ab9e1dec92200431f35f21c1ed20ef 100644 (file)
@@ -152,7 +152,7 @@ void AliAnalysisTaskESDfilter::Exec(Option_t */*option*/)
     header->SetZDCP1Energy(fESD->GetZDCP1Energy());
     header->SetZDCN2Energy(fESD->GetZDCN2Energy());
     header->SetZDCP2Energy(fESD->GetZDCP2Energy());
-    header->SetZDCEMEnergy(fESD->GetZDCEMEnergy());
+    header->SetZDCEMEnergy(fESD->GetZDCEMEnergy(0),fESD->GetZDCEMEnergy(1));
     header->SetRefMultiplicity(nTracks);
     header->SetRefMultiplicityPos(nPosTracks);
     header->SetRefMultiplicityNeg(nTracks - nPosTracks);