]>
Commit | Line | Data |
---|---|---|
10d100d4 | 1 | #ifndef ALITOFPIDRESPONSE_H |
2 | #define ALITOFPIDRESPONSE_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 | #include "AliPID.h" | |
14 | ||
15 | class AliTOFPIDResponse : public TObject { | |
16 | public: | |
17 | AliTOFPIDResponse(); | |
18 | AliTOFPIDResponse(Double_t *param); | |
19 | ~AliTOFPIDResponse(){} | |
20 | ||
21 | void SetTimeResolution(Float_t res) { fSigma = res; } | |
22 | void SetTimeZero(Double_t t0) { fTime0=t0; } | |
23 | Double_t GetTimeZero() const { return fTime0; } | |
24 | ||
25 | void SetMaxMismatchProbability(Double_t p) {fPmax=p;} | |
26 | Double_t GetMaxMismatchProbability() const {return fPmax;} | |
27 | ||
28 | Double_t GetExpectedSigma(Float_t mom, Float_t tof, Float_t mass) const; | |
29 | ||
30 | ||
31 | Double_t GetMismatchProbability(Double_t p,Double_t mass) const; | |
32 | ||
33 | private: | |
34 | Double_t fSigma; // intrinsic TOF resolution | |
35 | Double_t fPmax; // "maximal" probability of mismathing (at ~0.5 GeV/c) | |
36 | Double_t fTime0; // time zero | |
37 | ||
38 | ClassDef(AliTOFPIDResponse,1) // TOF PID class | |
39 | }; | |
40 | ||
41 | #endif |