CurrentTrack replaced by GetCurrentTrackNumber
[u/mrichter/AliRoot.git] / PMD / AliPMDUtility.h
CommitLineData
638f6e9b 1#ifndef PMDUtility_H
2#define PMDUtility_H
3//-----------------------------------------------------//
4// //
5// //
6// Date : August 05 2003 //
7// //
8// Utility class for PMD //
9// //
10//-----------------------------------------------------//
11
12#include <math.h>
13#include "Riostream.h"
14#include "TMath.h"
15#include "Rtypes.h"
16
17class AliPMDUtility
18{
19
20 protected:
21 Float_t fPx, fPy, fPz;
22 Float_t fTheta, fEta, fPhi;
23
24 public:
25 AliPMDUtility();
26 AliPMDUtility(Float_t /* Px */, Float_t /* Py */, Float_t /* Pz */);
27 virtual ~AliPMDUtility();
28
29 void SetPxPyPz(Float_t /* Px */, Float_t /* Py */, Float_t /* Pz */);
30 void SetXYZ(Float_t /* xPos */, Float_t /* yPos */, Float_t /* zPos */);
31 void CalculateEta();
32 void CalculatePhi();
33 void CalculateEtaPhi();
34 Float_t GetTheta() const;
35 Float_t GetEta() const;
36 Float_t GetPhi() const;
37
38 ClassDef(AliPMDUtility,1)
39};
40
41#endif