#ifndef ALIITSGEOMSPD425_H #define ALIITSGEOMSPD425_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ #include "AliITSgeomSPD.h" // temporary - this will migrate into the segmentation class class TBRIK; class AliITSgeomSPD425 : public AliITSgeomSPD { public: AliITSgeomSPD425(); AliITSgeomSPD425(Float_t cy,Int_t Nx,Float_t *bx,Int_t Nz,Float_t *bz); AliITSgeomSPD425(AliITSgeomSPD425 &source); virtual ~AliITSgeomSPD425(); AliITSgeomSPD425& operator=(AliITSgeomSPD425 &source); TShape *GetShape() {return fShapeSPD;} // returns shape Float_t GetDx() {return fDx;} // returns half detector width cm Float_t GetDy() {return fDy;} // returns half detector thickness cm Float_t GetDz() {return fDz;} // returns half detector lenght cm Int_t GetNbinsX() {return fNbinx;} // returns number of x pixels Float_t GetBinSizeX(Int_t i) {return fBinSizeX[i];} // returns x pixel size Int_t GetNbinsZ() {return fNbinz;} // returns number of z pixels Float_t GetBinSizeZ(Int_t i) {return fBinSizeZ[i];} // returns z pixel size void ReSetBins(Float_t dy,Int_t Nx, Float_t *bx,Int_t Nz,Float_t *bz); private: // define shape of active area using ROOT shapes so that they can // be easly plotted. Inputs to TBRIK are // Shape name (what ever that is) // Shape title (what ever that means) // name of material (something I took from ITSgeometry.tme file // fDx => 1/2 thickness of wafer's active volume (cm) // fDy => 1/2 r*phi size of active volume (cm) // fDz => 1/2 size of active volume (cm) TBRIK *fShapeSPD; // Shape of sensitive volume. Float_t fDx; // Brick half width cm Float_t fDy; // Brick half thickness cm Float_t fDz; // Brick half length cm Int_t fNbinz; // Number of pixels in z Int_t fNbinx; // Number of pixels in x Float_t *fBinSizeX; //[fNbinx] Pixel size in X, cm Float_t *fBinSizeZ; //[fNbinz] Pixel size in Z, cm ClassDef(AliITSgeomSPD425,2) // ITS SPD detector geometry class for 425X50 micron pixel size. }; #endif