]>
Commit | Line | Data |
---|---|---|
2f4cac02 | 1 | // $Id: AliPhJPhoton.h,v 1.5 2008/05/08 15:19:52 djkim Exp $ |
2 | ||
3 | //////////////////////////////////////////////////// | |
4 | /*! | |
5 | \file AliPhJPhoton.h | |
6 | \brief | |
7 | \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla) | |
8 | \email: djkim@jyu.fi | |
9 | \version $Revision: 1.5 $ | |
10 | \date $Date: 2008/05/08 15:19:52 $ | |
11 | */ | |
12 | //////////////////////////////////////////////////// | |
13 | ||
14 | #ifndef ALIPHJPHOTON_H | |
15 | #define ALIPHJPHOTON_H | |
16 | ||
17 | #ifndef ROOT_TObject | |
18 | #include <TObject.h> | |
19 | #endif | |
20 | ||
21 | #include <iostream> | |
22 | #include <fstream> | |
23 | #include <stdlib.h> | |
24 | #include <stdio.h> | |
25 | ||
26 | #include "TMath.h" | |
27 | #include "JConst.h" | |
28 | #include "AliPhJBaseTrack.h" | |
29 | ||
30 | //class TObject; | |
31 | ||
32 | class AliPhJPhoton : public AliPhJBaseTrack { | |
33 | ||
34 | public: | |
35 | ||
36 | AliPhJPhoton(); //default constructor | |
37 | AliPhJPhoton(const AliPhJPhoton& a); //copy constructor | |
38 | ~AliPhJPhoton(){;} //destructor | |
39 | ||
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;} | |
46 | ||
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;} | |
53 | ||
54 | AliPhJPhoton& operator=(const AliPhJPhoton& photon); | |
55 | ||
56 | private: | |
57 | ||
58 | float fChi2; //chi2 | |
59 | float fTof; //time of flight | |
60 | float fX, fY, fZ; // x,y,z coordinates | |
61 | float fProbPhot; //probability to be a photon | |
62 | ||
63 | ClassDef(AliPhJPhoton,1) | |
64 | ||
65 | }; | |
66 | ||
67 | #endif | |
68 |