AliESDCentrality replaced by AliCentrality
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jan 2011 18:24:18 +0000 (18:24 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jan 2011 18:24:18 +0000 (18:24 +0000)
PWG3/dielectron/AliDielectronVarManager.h
PWG3/muon/AliAnalysisTaskMuonAODfromGeneral.cxx
PWG4/CaloCalib/AliAnalysisTaskCaloFilter.cxx

index 4d9be70..552a15c 100644 (file)
@@ -42,7 +42,7 @@
 
 #include <AliExternalTrackParam.h>
 #include <AliESDpid.h>
-#include <AliESDCentrality.h>
+#include <AliCentrality.h>
 #include <AliAODpidUtil.h>
 #include <AliPID.h>
 
@@ -614,7 +614,7 @@ inline void AliDielectronVarManager::FillVarESDEvent(const AliESDEvent *event, D
   FillVarVEvent(event, values);
 
   Double_t centralityF=-1;
-  AliESDCentrality *esdCentrality = const_cast<AliESDEvent*>(event)->GetCentrality();
+  AliCentrality *esdCentrality = const_cast<AliESDEvent*>(event)->GetCentrality();
   if (esdCentrality) centralityF = esdCentrality->GetCentralityPercentile("V0M");
   
   // Fill AliESDEvent interface specific information
index 9686194..780fd7e 100644 (file)
@@ -131,7 +131,7 @@ void AliAnalysisTaskMuonAODfromGeneral::Exec(Option_t *) {
   header->SetRefMultiplicityPos(nPosTracks);
   header->SetRefMultiplicityNeg(nTracks - nPosTracks);
   header->SetMuonMagFieldScale(-999.); // FIXME
-  header->SetCentrality(-999.);        // FIXME
+  header->SetCentrality(0);            // FIXME
 
   Int_t nVertices = 0;
   const AliAODVertex *vtx = fOrgAOD->GetPrimaryVertex();
index ea90e38..49b84d4 100644 (file)
@@ -156,7 +156,7 @@ void AliAnalysisTaskCaloFilter::UserExec(Option_t */*option*/)
   header->SetEventType(event->GetEventType());
   header->SetMuonMagFieldScale(-999.); // FIXME
   //printf("Track Multiplicity for eta < %f: %d \n",fTrackMultEtaCut,trackMult);
-  header->SetCentrality((Double_t)trackMult);        // FIXME
+  header->SetCentrality(0);        // FIXME
   //printf("Centrality %f\n",header->GetCentrality());
   
   header->SetTriggerMask(event->GetTriggerMask());