1 #ifndef ALIITSGEOMSPD425_H
2 #define ALIITSGEOMSPD425_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
10 #include "AliITSgeomSPD.h"
13 // temporary - this will migrate into the segmentation class
16 class AliITSgeomSPD425 : public AliITSgeomSPD {
20 AliITSgeomSPD425(Float_t cy,Int_t Nx,Float_t *bx,Int_t Nz,Float_t *bz);
21 AliITSgeomSPD425(AliITSgeomSPD425 &source);
22 virtual ~AliITSgeomSPD425();
23 AliITSgeomSPD425& operator=(AliITSgeomSPD425 &source);
24 TShape *GetShape() {return fShapeSPD;} // returns shape
25 Float_t GetDx() {return fDx;} // returns half detector width cm
26 Float_t GetDy() {return fDy;} // returns half detector thickness cm
27 Float_t GetDz() {return fDz;} // returns half detector lenght cm
28 Int_t GetNbinsX() {return fNbinx;} // returns number of x pixels
29 Float_t GetBinSizeX(Int_t i) {return fBinSizeX[i];} // returns x pixel size
30 Int_t GetNbinsZ() {return fNbinz;} // returns number of z pixels
31 Float_t GetBinSizeZ(Int_t i) {return fBinSizeZ[i];} // returns z pixel size
32 void ReSetBins(Float_t dy,Int_t Nx, Float_t *bx,Int_t Nz,Float_t *bz);
35 // define shape of active area using ROOT shapes so that they can
36 // be easly plotted. Inputs to TBRIK are
37 // Shape name (what ever that is)
38 // Shape title (what ever that means)
39 // name of material (something I took from ITSgeometry.tme file
40 // fDx => 1/2 thickness of wafer's active volume (cm)
41 // fDy => 1/2 r*phi size of active volume (cm)
42 // fDz => 1/2 size of active volume (cm)
43 TBRIK *fShapeSPD; // Shape of sensitive volume.
44 Float_t fDx; // Brick half width cm
45 Float_t fDy; // Brick half thickness cm
46 Float_t fDz; // Brick half length cm
47 Int_t fNbinz; // Number of pixels in z
48 Int_t fNbinx; // Number of pixels in x
49 Float_t *fBinSizeX; //[fNbinx] Pixel size in X, cm
50 Float_t *fBinSizeZ; //[fNbinz] Pixel size in Z, cm
52 ClassDef(AliITSgeomSPD425,2) // ITS SPD detector geometry class for 425X50 micron pixel size.