AliEventplane introduced a dependence from ESD on STEERBase
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Apr 2011 13:10:09 +0000 (13:10 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Apr 2011 13:10:09 +0000 (13:10 +0000)
Solved now.
Michele Floris

STEER/AliEventplane.cxx
STEER/AliEventplane.h

index 8f616a73ebafde49f7a20f08d752af3cf345b698..f76116b02aee7524272d2c1fd643bed1e5581a18 100644 (file)
@@ -21,7 +21,7 @@
  
 #include "AliEventplane.h"
 #include "TVector2.h"
-#include "AliESDtrack.h"
+#include "AliVTrack.h"
 #include "TObjArray.h"
 #include "TArrayF.h"
 
@@ -143,12 +143,12 @@ Bool_t AliEventplane::IsEventInEventplaneClass(Double_t a, Double_t b, const cha
   else return kFALSE;
 }
 
-Double_t AliEventplane::GetQContributionX(AliESDtrack* track)
+Double_t AliEventplane::GetQContributionX(AliVTrack* track)
 { 
   return fQContributionX->GetAt(track->GetID());
 }
 
-Double_t AliEventplane::GetQContributionY(AliESDtrack* track)
+Double_t AliEventplane::GetQContributionY(AliVTrack* track)
 { 
   return fQContributionY->GetAt(track->GetID());
 }
index f3273dd2956e4967ccee3670c6bdaebed665c99a..fed67135c77e05f9389c977a46825cc14cb1fdfe 100644 (file)
@@ -12,7 +12,7 @@
 #include "TNamed.h"
 
 class TVector2;
-class AliESDtrack;
+class AliVTrack;
 class TObjArray;
 class TArrayF;
 
@@ -34,8 +34,8 @@ class AliEventplane : public TNamed
 
   /// get event plane result
   TVector2* GetQVector(); 
-  Double_t GetQContributionX(AliESDtrack* track);
-  Double_t GetQContributionY(AliESDtrack* track);
+  Double_t GetQContributionX(AliVTrack* track);
+  Double_t GetQContributionY(AliVTrack* track);
   TArrayF* GetQContributionXArray() { return fQContributionX; }
   TArrayF* GetQContributionYArray() { return fQContributionY; }
   Double_t GetEventplane(const char *method);