AliESDCentrality replaced by AliCentrality
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jan 2011 16:04:03 +0000 (16:04 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jan 2011 16:04:03 +0000 (16:04 +0000)
TRD/AliTRDCalibTask.cxx

index 39962c3..737e9f2 100644 (file)
@@ -53,7 +53,7 @@ using namespace std;
 #include "AliESDVertex.h"
 #include "AliESDEvent.h"
 #include "AliESDfriend.h"
-#include "AliESDCentrality.h"
+#include "AliCentrality.h"
 #include "AliESDInputHandler.h"
 #include "AliESDtrack.h"
 #include "AliESDfriendTrack.h"
@@ -538,7 +538,7 @@ void AliTRDCalibTask::UserExec(Option_t *)
   }
   if(fDebug > 0)  {
     // Centrality
-    AliESDCentrality *esdCentrality = fESD->GetCentrality();
+    AliCentrality *esdCentrality = fESD->GetCentrality();
     Float_t centrality = esdCentrality->GetCentralityPercentile("V0M");
     //Float_t centralityb = esdCentrality->GetCentralityPercentile("CL1");
     fNbGoodTracks->Fill(nGoodParticles,centrality);