Shuttle debugging line removed.
[u/mrichter/AliRoot.git] / TOF / AliTOFpidESD.h
CommitLineData
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
af885e0f 14class AliESDEvent;
c630aafd 15
0e46b9ae 16class AliTOFGeometry;
17
c630aafd 18class AliTOFpidESD : public TObject {
19public:
7a8614f3 20 AliTOFpidESD();
21 AliTOFpidESD(Double_t *param);
655e379f 22 ~AliTOFpidESD(){}
7a8614f3 23
24 void SetMaxMismatchProbability(Double_t p) {fPmax=p;}
fa4a1bfb 25 Double_t GetMaxMismatchProbability() const {return fPmax;}
c630aafd 26
af885e0f 27 Int_t MakePID(AliESDEvent *event);
28 Int_t MakePID(AliESDEvent *event, Double_t timeZero);
c630aafd 29
c630aafd 30private:
7a8614f3 31 Double_t GetMismatchProbability(Double_t p,Double_t mass) const;
32
c630aafd 33 Double_t fSigma; // intrinsic TOF resolution
34 Double_t fRange; // one particle type PID range (in sigmas)
7a8614f3 35 Double_t fPmax; // "maximal" probability of mismathing (at ~0.5 GeV/c)
c630aafd 36
7a8614f3 37 ClassDef(AliTOFpidESD,2) // TOF PID class
c630aafd 38};
39
40#endif