]>
Commit | Line | Data |
---|---|---|
c630aafd | 1 | #ifndef ALITOFPIDESD_H |
2 | #define ALITOFPIDESD_H | |
0e46b9ae | 3 | |
c630aafd | 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 | |
c630aafd | 9 | // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch |
10 | //------------------------------------------------------- | |
11 | ||
0e46b9ae | 12 | #include "TObject.h" |
c630aafd | 13 | |
14 | class AliESD; | |
c630aafd | 15 | |
0e46b9ae | 16 | class AliTOFGeometry; |
17 | ||
c630aafd | 18 | class AliTOFpidESD : public TObject { |
3f83f224 | 19 | enum {kMaxCluster=77777}; //maximal number of the TOF clusters |
c630aafd | 20 | public: |
655e379f | 21 | AliTOFpidESD(); |
22 | AliTOFpidESD(Double_t *param); | |
23 | ~AliTOFpidESD(){} | |
c630aafd | 24 | |
25 | Int_t MakePID(AliESD *event); | |
bc9f08da | 26 | Int_t MakePID(AliESD *event, Double_t timeZero); |
74ea065c | 27 | void SetEventNumber(Int_t n) {fEventN=n;} |
c630aafd | 28 | Int_t GetEventNumber() const {return fEventN;} |
29 | ||
c630aafd | 30 | private: |
74ea065c | 31 | |
32 | Int_t fN; // number of the TOF clusters | |
33 | Int_t fEventN; // event number | |
c630aafd | 34 | Double_t fSigma; // intrinsic TOF resolution |
35 | Double_t fRange; // one particle type PID range (in sigmas) | |
36 | ||
c630aafd | 37 | ClassDef(AliTOFpidESD,1) // TOF PID class |
38 | }; | |
39 | ||
40 | #endif |