]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
AliESDCentrality replaced by AliCentrality
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jan 2011 16:31:47 +0000 (16:31 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jan 2011 16:31:47 +0000 (16:31 +0000)
PWG2/FLOW/AliFlowTasks/AliFlowEventCuts.cxx

index 701badb97e707ffe5446ff05fbb9db697a3ce0d1..c464f17d8f3a7dbb175cc40b697257a7f74fc9c2 100644 (file)
@@ -27,7 +27,7 @@
 #include "AliVVertex.h"
 #include "AliVEvent.h"
 #include "AliESDEvent.h"
-#include "AliESDCentrality.h"
+#include "AliCentrality.h"
 #include "AliESDVZERO.h"
 #include "AliMultiplicity.h"
 #include "AliMCEvent.h"
@@ -212,7 +212,7 @@ Bool_t AliFlowEventCuts::PassesCuts(AliVEvent *event)
   AliESDEvent* esdevent = dynamic_cast<AliESDEvent*>(event);
   if (fCutCentralityPercentile&&esdevent)
   {
-    AliESDCentrality* centr = esdevent->GetCentrality();
+    AliCentrality* centr = esdevent->GetCentrality();
     if (!centr->IsEventInCentralityClass( fCentralityPercentileMin,
                                           fCentralityPercentileMax,
                                           CentrMethName(fCentralityPercentileMethod) ))
@@ -303,7 +303,7 @@ Bool_t AliFlowEventCuts::PassesCuts(AliVEvent *event)
 //----------------------------------------------------------------------- 
 const char* AliFlowEventCuts::CentrMethName(refMultMethod method) const
 {
-  //get the string for refmultmethod, for use with AliESDCentrality in
+  //get the string for refmultmethod, for use with AliCentrality in
   //the cut on centrality percentile
   switch (method)
   {