1 // $Id: AliPhJPhoton.h,v 1.5 2008/05/08 15:19:52 djkim Exp $
3 ////////////////////////////////////////////////////
7 \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla)
9 \version $Revision: 1.5 $
10 \date $Date: 2008/05/08 15:19:52 $
12 ////////////////////////////////////////////////////
14 #ifndef ALIPHJPHOTON_H
15 #define ALIPHJPHOTON_H
28 #include "AliPhJBaseTrack.h"
32 class AliPhJPhoton : public AliPhJBaseTrack {
36 AliPhJPhoton(); //default constructor
37 AliPhJPhoton(const AliPhJPhoton& a); //copy constructor
38 ~AliPhJPhoton(){;} //destructor
40 float GetChi2() const {return fChi2;}
41 float GetTof() const {return fTof;}
42 float GetX() const {return fX;}
43 float GetY() const {return fY;}
44 float GetZ() const {return fZ;}
45 float GetProbPhot() const {return fProbPhot;}
47 void SetChi2(float chi2) {fChi2=chi2;}
48 void SetTof(float tof) {fTof=tof;}
49 void SetX(float x) {fX=x;}
50 void SetY(float y) {fY=y;}
51 void SetZ(float z) {fZ=z;}
52 void SetProbPhot(float prob) {fProbPhot=prob;}
54 AliPhJPhoton& operator=(const AliPhJPhoton& photon);
59 float fTof; //time of flight
60 float fX, fY, fZ; // x,y,z coordinates
61 float fProbPhot; //probability to be a photon
63 ClassDef(AliPhJPhoton,1)