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