Fixed violations
[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();
afb8e3a0 28
29 void HexGeomCellPos(Int_t /* ism */, Int_t /* xpad */, Int_t /* ypad */,
30 Float_t & /* xpos */, Float_t & /* ypos */);
31 void RectGeomCellPos(Int_t /* ism */, Int_t /* ium */,
32 Int_t /* xpad */, Int_t /* ypad */,
33 Float_t & /* xpos */, Float_t & /* ypos */);
a2441c6e 34 void RectGeomCellPos(Int_t /* ism */, Int_t /* ium */,
35 Float_t /* xpad */, Float_t /* ypad */,
36 Float_t & /* xpos */, Float_t & /* ypos */);
638f6e9b 37 void SetPxPyPz(Float_t /* Px */, Float_t /* Py */, Float_t /* Pz */);
38 void SetXYZ(Float_t /* xPos */, Float_t /* yPos */, Float_t /* zPos */);
39 void CalculateEta();
40 void CalculatePhi();
41 void CalculateEtaPhi();
42 Float_t GetTheta() const;
43 Float_t GetEta() const;
44 Float_t GetPhi() const;
45
a2441c6e 46 ClassDef(AliPMDUtility,2)
638f6e9b 47};
48
49#endif