Fixing a warning
[u/mrichter/AliRoot.git] / MUON / AliMUONMathieson.h
CommitLineData
7e4a628d 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 */
5
6/* $Id$ */
7// Revision of includes 07/05/2004
692de412 8//
9/// \ingroup base
10/// \class AliMUONMathieson
11/// \brief Implementation of Mathieson response
7e4a628d 12
471035eb 13#ifndef ROOT_TObject
14# include "TObject.h"
15#endif
16
471035eb 17class AliMUONMathieson : public TObject
7e4a628d 18{
19 public:
20 AliMUONMathieson();
5398f946 21 virtual ~AliMUONMathieson();
7e4a628d 22
5398f946 23 /// Get anode cathode Pitch
7e4a628d 24 Float_t Pitch() const {return fPitch;}
25 // Set anode cathode Pitch
8bd8c4ce 26 void SetPitch(Float_t p1);
7e4a628d 27
28 // Set Mathieson parameters
5398f946 29 //
30
31 /// Mathieson \a sqrt{Kx3} and derived \a Kx2 and \a Kx4
32 void SetSqrtKx3AndDeriveKx2Kx4(Float_t SqrtKx3);
33
34 /// Mathieson \a sqrt{Kx3}
7e4a628d 35 void SetSqrtKx3(Float_t p1) {fSqrtKx3 = p1;};
5398f946 36
37 /// Mathieson \a Kx2
7e4a628d 38 void SetKx2(Float_t p1) {fKx2 = p1;};
5398f946 39
40 /// Mathieson \a Kx4
7e4a628d 41 void SetKx4(Float_t p1) {fKx4 = p1;};
5398f946 42
43 /// Mathieson \a sqrt{Ky3} and derived \a Ky2 and \a Ky4
7e4a628d 44 void SetSqrtKy3AndDeriveKy2Ky4(Float_t SqrtKy3);
5398f946 45
46 /// Mathieson \a sqrt{Ky3}
7e4a628d 47 void SetSqrtKy3(Float_t p1) {fSqrtKy3 = p1;};
5398f946 48
49 /// Mathieson \a Ky2
7e4a628d 50 void SetKy2(Float_t p1) {fKy2 = p1;};
5398f946 51
52 /// Mathieson \a Ky4
7e4a628d 53 void SetKy4(Float_t p1) {fKy4 = p1;};
5398f946 54
5398f946 55 /// Charge integration on region \a (x1,y1,x2,y2).
471035eb 56 Float_t IntXY(Float_t xi1, Float_t yi1, Float_t xi2, Float_t yi2) const;
57
58 private:
7e4a628d 59
18b6b8c7 60 Float_t fSqrtKx3; ///< Mathieson Sqrt(Kx3)
61 Float_t fKx2; ///< Mathieson Kx2
62 Float_t fKx4; ///< Mathieson Kx4 = Kx1/Kx2/Sqrt(Kx3)
63 Float_t fSqrtKy3; ///< Mathieson Sqrt(Ky3)
64 Float_t fKy2; ///< Mathieson Ky2
65 Float_t fKy4; ///< Mathieson Ky4 = Ky1/Ky2/Sqrt(Ky3)
66 Float_t fPitch; ///< anode-cathode pitch
67 Float_t fInversePitch; ///< 1/Pitch
5398f946 68
69 ClassDef(AliMUONMathieson,3) // Implementation of Mathieson response
7e4a628d 70};
71#endif
72
73
74
75
76
77
78
79
80
81
82