1 #ifndef ALITOFPIDRESPONSE_H
2 #define ALITOFPIDRESPONSE_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //-------------------------------------------------------
9 // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
10 //-------------------------------------------------------
15 class AliTOFPIDResponse : public TObject {
18 AliTOFPIDResponse(Double_t *param);
19 ~AliTOFPIDResponse(){}
21 void SetTimeResolution(Float_t res) { fSigma = res; }
22 void SetTimeZero(Double_t t0) { fTime0=t0; }
23 Double_t GetTimeZero() const { return fTime0; }
25 void SetMaxMismatchProbability(Double_t p) {fPmax=p;}
26 Double_t GetMaxMismatchProbability() const {return fPmax;}
28 Double_t GetExpectedSigma(Float_t mom, Float_t tof, Float_t mass) const;
31 Double_t GetMismatchProbability(Double_t p,Double_t mass) const;
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
38 ClassDef(AliTOFPIDResponse,1) // TOF PID class