]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFpidESD.h
updates to comply with AliTOFGeometryV5 becoming AliTOFGeometry
[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 {
3f83f224 19enum {kMaxCluster=77777}; //maximal number of the TOF clusters
c630aafd 20public:
655e379f 21 AliTOFpidESD();
22 AliTOFpidESD(Double_t *param);
23 ~AliTOFpidESD(){}
c630aafd 24
af885e0f 25 Int_t MakePID(AliESDEvent *event);
26 Int_t MakePID(AliESDEvent *event, Double_t timeZero);
74ea065c 27 void SetEventNumber(Int_t n) {fEventN=n;}
c630aafd 28 Int_t GetEventNumber() const {return fEventN;}
29
c630aafd 30private:
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