add getter to cut on n cells
[u/mrichter/AliRoot.git] / ITS / AliITSRad.h
CommitLineData
36549c88 1#ifndef ALIITSRAD_H
2#define ALIITSRAD_H
3
4#include <TObject.h>
8faf5ae4 5#include <TMatrixFfwd.h>
36549c88 6
7
8class TObjArray;
36549c88 9
36549c88 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
15class AliITSRad : public TObject {
16
17public:
bb2acaed 18 AliITSRad(); // Default constructor.
19 AliITSRad(Int_t iimax, Int_t jjmax); // class constructor
20 virtual ~AliITSRad(); // class destructor
36549c88 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
8faf5ae4 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
36549c88 31
32private:
33
e56160b8 34 AliITSRad(const AliITSRad &source); // copy constructor
35 // assignment operator
36 AliITSRad& operator=(const AliITSRad &source);
37
36549c88 38 Int_t imax; // first dimension of the matrices
39 Int_t jmax; // second dimension of the matrices
40
8faf5ae4 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
36549c88 47
48 ClassDef(AliITSRad, 1)
49};
50
51#endif
52