1 #ifndef ALIPMDUTILITY_H
2 #define ALIPMDUTILITY_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5 //-----------------------------------------------------//
8 // Date : August 05 2003 //
10 // Utility class for PMD //
12 //-----------------------------------------------------//
13 // Author - B.K. Nandi
20 AliPMDUtility(Float_t px, Float_t py, Float_t pz);
21 AliPMDUtility(const AliPMDUtility &pmdutil); // copy constructor
22 AliPMDUtility &operator=(const AliPMDUtility &pmdutil); // assignment op
23 virtual ~AliPMDUtility();
26 void RectGeomCellPos(Int_t ism, Int_t xpad, Int_t ypad,
27 Float_t & xpos, Float_t & ypos);
28 void RectGeomCellPos(Int_t ism, Float_t xpad, Float_t ypad,
29 Float_t & xpos, Float_t & ypos);
30 void ApplyVertexCorrection(Float_t vertex[],
31 Float_t xpos, Float_t ypos, Float_t zpos);
32 void ApplyAlignment();
33 void SetPxPyPz(Float_t px, Float_t py, Float_t pz);
34 void SetXYZ(Float_t xpos, Float_t ypos, Float_t zpos);
37 void CalculateEtaPhi();
38 void CalculateXY(Float_t eta, Float_t phi, Float_t zpos);
39 Float_t GetTheta() const;
40 Float_t GetEta() const;
41 Float_t GetPhi() const;
47 Float_t fPx; // Momentum along x
48 Float_t fPy; // Momentum along y
49 Float_t fPz; // Momentum along z
50 Float_t fTheta; // Polar angle in radian
51 Float_t fEta; // Pseudo-rapidity
52 Float_t fPhi; // Azimuthal angle in radian
54 ClassDef(AliPMDUtility,4) // Utility class for the detector set:PMD