Using the new ZDC-related methods
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Nov 2007 16:18:24 +0000 (16:18 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Nov 2007 16:18:24 +0000 (16:18 +0000)
PWG0/base/AliAnalysisTaskESDfilter.cxx

index 95985bb..0a83e00 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);