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