]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSgeomSPD300.h
Containers definition
[u/mrichter/AliRoot.git] / ITS / AliITSgeomSPD300.h
1 #ifndef ALIITSGEOMSPD300_H
2 #define ALIITSGEOMSPD300_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
8 #include "AliITSgeomSPD.h"
9
10
11 class TBRIK;
12 class AliITSgeomSPD300:public AliITSgeomSPD {
13
14  public:
15     AliITSgeomSPD300();
16     AliITSgeomSPD300(Float_t cy,Int_t Nx,Float_t *bx,Int_t Nz,Float_t *bz);
17     AliITSgeomSPD300(AliITSgeomSPD300 &source);
18     virtual ~AliITSgeomSPD300();
19     AliITSgeomSPD300& operator=(AliITSgeomSPD300 &source);
20     TShape *GetShape() {return fShapeSPD;} // returns shape of sensitive volume
21     Float_t GetDx() {return fDx;} // returns width of seneitive volume cm
22     Float_t GetDy() {return fDy;} // returns thickness of seneitive volume cm
23     Float_t GetDz() {return fDz;} // returns lenght of seneitive volume cm
24     Int_t   GetNbinsX() {return fNbinx;} // returns number of x pixels
25     Float_t GetBinSizeX(Int_t i) {return fBinSizeX[i];} // x pixel size cm
26     Int_t   GetNbinsZ() {return fNbinz;}  // number of z pixels
27     Float_t GetBinSizeZ(Int_t i) {return fBinSizeZ[i];} // z pixel size cm
28     void    ReSetBins(Float_t dy,Int_t Nx, Float_t *bx,Int_t Nz,Float_t *bz);
29
30  private:
31     // define shape of active area using ROOT shapes so that they can
32     // be easly plotted. Inputs to TBRIK are
33     // Shape name (what ever that is)
34     // Shape title (what ever that means)
35     // name of material (something I took from ITSgeometry.tme file
36     // dx => 1/2 thickness of wafer's active volume (cm)
37     // dy => 1/2 r*phi size of active volume (cm)
38     // dz => 1/2 size of active volume (cm)
39     TBRIK   *fShapeSPD;   // Shape of sensitive volume
40     Float_t fDx;          // Brick half width cm
41     Float_t fDy;          // Brick half thickness cm
42     Float_t fDz;          // Brick half length cm
43     Int_t   fNbinx;      // Number of pixels in x
44     Int_t   fNbinz;      // Number of pixels in z
45     Float_t *fBinSizeX;  //[fNbinx] Pixel size in X, cm
46     Float_t *fBinSizeZ;  //[fNbinz] Pixel size in Z, cm
47
48     ClassDef(AliITSgeomSPD300,2) // ITS SPD detector geometry class for 300X50 micron pixel size.
49 };
50 #endif