]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFpidESD.h
Track reconstruction code for TOF: updating
[u/mrichter/AliRoot.git] / TOF / AliTOFpidESD.h
1 #ifndef ALITOFPIDESD_H
2 #define ALITOFPIDESD_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //-------------------------------------------------------
7 //                    TOF PID class
8 //   Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
9 //-------------------------------------------------------
10
11 #include <TObject.h>
12 #include <TMath.h>
13
14 class AliTOFGeometry;
15 class AliESD;
16 class TFile;
17 class TTree;
18
19 class AliTOFpidESD : public TObject {
20 enum {kMaxCluster=77777}; //maximal number of the TOF clusters
21 public:
22   AliTOFpidESD(){fN=0; fEventN=0;}
23   AliTOFpidESD(Double_t *param);
24   ~AliTOFpidESD(){}
25
26   Int_t MakePID(AliESD *event);
27   void  SetEventNumber(Int_t n) {fEventN=n;}
28   Int_t GetEventNumber() const {return fEventN;}
29
30 private:
31  
32   Int_t fN;               // number of the TOF clusters
33   Int_t fEventN;          // event number
34   Double_t fSigma;        // intrinsic TOF resolution
35   Double_t fRange;        // one particle type PID range (in sigmas)
36
37   ClassDef(AliTOFpidESD,1)   // TOF PID class
38 };
39
40 #endif
41
42