/* 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 AliESDEvent;
-class AliESD;
+class AliITSpidESD : public TObject {
-class AliITSpidESD {
public:
- AliITSpidESD(Double_t *param);
+ AliITSpidESD();
virtual ~AliITSpidESD() {}
- Int_t MakePID(AliESD *event);
- static Double_t Bethe(Double_t bg);
+ virtual Int_t MakePID(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
};