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