Corrected getters after renaming
authormfloris <michele.floris@cern.ch>
Fri, 18 Jul 2014 20:19:55 +0000 (22:19 +0200)
committerhristov <Peter.Hristov@cern.ch>
Mon, 27 Oct 2014 12:44:01 +0000 (13:44 +0100)
PWGCF/Correlations/DPhi/AliAnalysisTaskPhiCorrelations.cxx
PWGLF/STRANGENESS/Hypernuclei/AliAnalysisTaskNucleiv2SP.cxx

index 6a5b810..7761f70 100644 (file)
@@ -1588,7 +1588,7 @@ Bool_t AliAnalysisTaskPhiCorrelations::IsMuEvent(){
   
   if(!fAOD)
     AliFatal("Muon selection only implemented on AOD");//FIXME to be implemented also for ESDs as in AliAnalyseLeadingTrackUE::GetAcceptedPArticles
-  for (Int_t iTrack = 0; iTrack < fAOD->GetNTracks(); iTrack++) {
+  for (Int_t iTrack = 0; iTrack < fAOD->GetNumberOfTracks(); iTrack++) {
     AliAODTrack* track = fAOD->GetTrack(iTrack);
     if (!track->IsMuonTrack()) continue;
     //Float_t dca    = track->DCA();
index 863e095..f0bac1d 100644 (file)
@@ -479,7 +479,7 @@ void AliAnalysisTaskNucleiv2SP::UserExec(Option_t *)
   
   fHistEventMultiplicity->Fill(2); // analyzed events with PV
   
-  if(TMath::Abs(vtx->GetZv())>10) return;
+  if(TMath::Abs(vtx->GetZ())>10) return;
   fHistEventMultiplicity->Fill(3);
 
   Bool_t isSelectedCentral     = (((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kCentral);