]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSRad.h
Using the recommended way of forward declarations for TVector and TMatrix (see v5...
[u/mrichter/AliRoot.git] / ITS / AliITSRad.h
1 #ifndef ALIITSRAD_H
2 #define ALIITSRAD_H
3
4 #include <TObject.h>
5 #include <TMatrix.h>
6
7
8 class TObjArray;
9
10
11 //                  ITS Class to calculate the radiation lenght matrix
12 //Origin  A. Badala' and G.S. Pappalardo:  e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
13 //
14
15
16 class AliITSRad : public TObject { 
17
18 public:
19     AliITSRad(); // Default constructor.
20     AliITSRad(Int_t iimax, Int_t jjmax);         // class constructor
21     virtual ~AliITSRad();                        // class destructor
22   
23   Int_t Getimax() {return imax;}               // return the first dimension of the matrices
24   Int_t Getjmax() {return jmax;}               // return the second dimension of the matrices
25   
26   TMatrix &GetRadMatrix1() {return *fmrad1;}   // return the radiation lengh matrix for layer 1
27   TMatrix &GetRadMatrix2() {return *fmrad2;}   // return the radiation lengh matrix for layer 2
28   TMatrix &GetRadMatrix3() {return *fmrad3;}   // return the radiation lengh matrix for layer 3
29   TMatrix &GetRadMatrix4() {return *fmrad4;}   // return the radiation lengh matrix for layer 4
30   TMatrix &GetRadMatrix5() {return *fmrad5;}   // return the radiation lengh matrix for layer 5
31   TMatrix &GetRadMatrix6() {return *fmrad6;}   // return the radiation lengh matrix for layer 6
32   
33 private:
34
35   Int_t           imax;        // first dimension of the matrices
36   Int_t           jmax;        // second dimension of the matrices
37   
38   TMatrix         *fmrad1;     // matrix of the radiation lenghts for layer 1
39   TMatrix         *fmrad2;     // matrix of the radiation lenghts for layer 2
40   TMatrix         *fmrad3;     // matrix of the radiation lenghts for layer 3
41   TMatrix         *fmrad4;     // matrix of the radiation lenghts for layer 4
42   TMatrix         *fmrad5;     // matrix of the radiation lenghts for layer 5
43   TMatrix         *fmrad6;     // matrix of the radiation lenghts for layer 6
44
45   ClassDef(AliITSRad, 1)
46 };
47
48 #endif
49