]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFpidESD.h
set as default configuration the geometry with PHOS holes
[u/mrichter/AliRoot.git] / TOF / AliTOFpidESD.h
1 #ifndef ALITOFPIDESD_H
2 #define ALITOFPIDESD_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 //-------------------------------------------------------
8 //                    TOF PID class
9 //   Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
10 //-------------------------------------------------------
11
12 #include "TObject.h"
13
14 class AliESDEvent;
15
16 class AliTOFGeometry;
17
18 class AliTOFpidESD : public TObject {
19 enum {kMaxCluster=77777}; //maximal number of the TOF clusters
20 public:
21  AliTOFpidESD();
22  AliTOFpidESD(Double_t *param);
23  ~AliTOFpidESD(){}
24
25   Int_t MakePID(AliESDEvent *event);
26   Int_t MakePID(AliESDEvent *event, Double_t timeZero);
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