#include "AliVVertex.h"
#include "AliVEvent.h"
#include "AliESDEvent.h"
-#include "AliESDCentrality.h"
+#include "AliCentrality.h"
#include "AliESDVZERO.h"
#include "AliMultiplicity.h"
#include "AliMCEvent.h"
AliESDEvent* esdevent = dynamic_cast<AliESDEvent*>(event);
if (fCutCentralityPercentile&&esdevent)
{
- AliESDCentrality* centr = esdevent->GetCentrality();
+ AliCentrality* centr = esdevent->GetCentrality();
if (!centr->IsEventInCentralityClass( fCentralityPercentileMin,
fCentralityPercentileMax,
CentrMethName(fCentralityPercentileMethod) ))
//-----------------------------------------------------------------------
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)
{