1 #ifndef ALIMUONMATHIESON_H
2 #define ALIMUONMATHIESON_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 // Revision of includes 07/05/2004
10 /// \class AliMUONMathieson
11 /// \brief Implementation of Mathieson response
17 class AliMUONGeometrySegmentation;
19 class AliMUONMathieson : public TObject
23 virtual ~AliMUONMathieson();
25 /// Get anode cathode Pitch
26 Float_t Pitch() const {return fPitch;}
27 // Set anode cathode Pitch
28 void SetPitch(Float_t p1);
30 // Set Mathieson parameters
33 /// Mathieson \a sqrt{Kx3} and derived \a Kx2 and \a Kx4
34 void SetSqrtKx3AndDeriveKx2Kx4(Float_t SqrtKx3);
36 /// Mathieson \a sqrt{Kx3}
37 void SetSqrtKx3(Float_t p1) {fSqrtKx3 = p1;};
40 void SetKx2(Float_t p1) {fKx2 = p1;};
43 void SetKx4(Float_t p1) {fKx4 = p1;};
45 /// Mathieson \a sqrt{Ky3} and derived \a Ky2 and \a Ky4
46 void SetSqrtKy3AndDeriveKy2Ky4(Float_t SqrtKy3);
48 /// Mathieson \a sqrt{Ky3}
49 void SetSqrtKy3(Float_t p1) {fSqrtKy3 = p1;};
52 void SetKy2(Float_t p1) {fKy2 = p1;};
55 void SetKy4(Float_t p1) {fKy4 = p1;};
57 /// \deprecated To be removed when old (s)digitizers go off.
58 Float_t IntXY(Int_t id, AliMUONGeometrySegmentation* segmentation) const;
60 /// Charge integration on region \a (x1,y1,x2,y2).
61 Float_t IntXY(Float_t xi1, Float_t yi1, Float_t xi2, Float_t yi2) const;
65 Float_t fSqrtKx3; ///< Mathieson Sqrt(Kx3)
66 Float_t fKx2; ///< Mathieson Kx2
67 Float_t fKx4; ///< Mathieson Kx4 = Kx1/Kx2/Sqrt(Kx3)
68 Float_t fSqrtKy3; ///< Mathieson Sqrt(Ky3)
69 Float_t fKy2; ///< Mathieson Ky2
70 Float_t fKy4; ///< Mathieson Ky4 = Ky1/Ky2/Sqrt(Ky3)
71 Float_t fPitch; ///< anode-cathode pitch
72 Float_t fInversePitch; ///< 1/Pitch
74 ClassDef(AliMUONMathieson,3) // Implementation of Mathieson response