AliESDCentrality replaced by AliCentrality
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jan 2011 16:32:24 +0000 (16:32 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jan 2011 16:32:24 +0000 (16:32 +0000)
PWG3/hfe/AliAnalysisTaskHFE.cxx

index ceda151..1e7dd71 100644 (file)
@@ -50,7 +50,7 @@
 #include "AliESDInputHandler.h"
 #include "AliESDpid.h"
 #include "AliESDtrack.h"
-#include "AliESDCentrality.h"
+#include "AliCentrality.h"
 #include "AliLog.h"
 #include "AliAnalysisManager.h"
 #include "AliMCEvent.h"
@@ -1355,7 +1355,7 @@ void AliAnalysisTaskHFE::ReadCentrality() {
        return;
    }
    // Centrality
-   AliESDCentrality *esdCentrality = fESD->GetCentrality();
+   AliCentrality *esdCentrality = fESD->GetCentrality();
    Float_t fCentralityF_temp = esdCentrality->GetCentralityPercentile("V0M");
 
    if( fCentralityF_temp >=  0. && fCentralityF_temp <   5.) fCentralityF =  0;