]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSpidESD.h
Removing extra line, adding EINCLUDE
[u/mrichter/AliRoot.git] / ITS / AliITSpidESD.h
index 92bfc40a6b85990d6e5197897f5784db25a7d66b..4f83faf9c2ec6145e6c2748cf4c9de014fc91262 100644 (file)
@@ -3,24 +3,28 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
 //-------------------------------------------------------
 //                    ITS PID class
-// A very naive design... Should be made better by the detector experts...
-//   Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
+// Base class:
+// See the implementations AliITSpidESD1 and AliITSpidESD2
 //-------------------------------------------------------
-#include <Rtypes.h>
+//#include <Rtypes.h>
+#include <TObject.h>
 
-class AliESD;
+class TTree;
+class AliESDEvent;
 
-class AliITSpidESD {
+class AliITSpidESD : public TObject {
 public:
-  AliITSpidESD(Double_t *param);
-  Int_t MakePID(AliESD *event);
-  static Double_t Bethe(Double_t bg);
+  AliITSpidESD();
+  virtual ~AliITSpidESD() {}
+  virtual Int_t MakePID(AliESDEvent *event) = 0;
+  // This method is here because of the AliITSpidESD2 class...
+  virtual Int_t MakePID(TTree *clustersTree, AliESDEvent *event) = 0;
+  static Double_t Bethe(Double_t p,Double_t mass);
 private:
-  Double_t fMIP;          // dEdx for MIP
-  Double_t fRes;          // relative dEdx resolution
-  Double_t fRange;        // one particle type PID range (in sigmas)
   ClassDef(AliITSpidESD,1)   // ITS PID class
 };