Remove explicit dependency on ITS
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Dec 2003 08:21:29 +0000 (08:21 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Dec 2003 08:21:29 +0000 (08:21 +0000)
TPC/AliTPCPid.cxx
TPC/AliTPCPid.h

index 912a406..d32390c 100644 (file)
@@ -21,6 +21,7 @@
 #include <TF1.h>
 #include <TClonesArray.h>
 //#include "AliITSIOTrack.h"
+#include "AliKalmanTrack.h"
 #include "Riostream.h"
 ClassImp(AliTPCPid)
 // Correction 13.01.2003 Z.S.,Dubna
@@ -201,7 +202,7 @@ Int_t   AliTPCPid::GetPcode(AliTPCtrack *track)
     return pcode?pcode:211;
     }
 //-----------------------------------------------------------
-Int_t   AliTPCPid::GetPcode(AliITStrackV2 *track)
+Int_t   AliTPCPid::GetPcode(AliKalmanTrack *track)
 {
   //
   // get particle code
index 14ea07d..48a4a7a 100644 (file)
@@ -12,7 +12,7 @@
 #include <TVector.h>
 #include "../TPC/AliTPCtrack.h"
 //#include "../ITS/AliITSIOTrack.h"
-#include "../ITS/AliITStrackV2.h"
+class AliKalmanTrack;
 #include <assert.h>
 
 class TF1;
@@ -37,7 +37,7 @@ public:
        Int_t   GetPcode(Float_t q,Float_t pm);
        Int_t   GetPcode(AliTPCtrack*track);
 //        Int_t   GetPcode(AliITSIOTrack*); 
-        Int_t   GetPcode(AliITStrackV2* track);
+        Int_t   GetPcode(AliKalmanTrack* track);
        void    SetCut(Int_t n, Float_t pm, Float_t pilo, Float_t pihi,
                            Float_t klo, Float_t khi, Float_t plo, 
                             Float_t phi);