#ifndef ALIITSGEOMSPD300_H #define ALIITSGEOMSPD300_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ #include "AliITSgeomSPD.h" class TBRIK; class AliITSgeomSPD300:public AliITSgeomSPD { public: AliITSgeomSPD300(); AliITSgeomSPD300(Float_t cy,Int_t Nx,Float_t *bx,Int_t Nz,Float_t *bz); AliITSgeomSPD300(AliITSgeomSPD300 &source); virtual ~AliITSgeomSPD300(); AliITSgeomSPD300& operator=(AliITSgeomSPD300 &source); TShape *GetShape() {return fShapeSPD;} // returns shape of sensitive volume Float_t GetDx() {return fDx;} // returns width of seneitive volume cm Float_t GetDy() {return fDy;} // returns thickness of seneitive volume cm Float_t GetDz() {return fDz;} // returns lenght of seneitive volume cm Int_t GetNbinsX() {return fNbinx;} // returns number of x pixels Float_t GetBinSizeX(Int_t i) {return fBinSizeX[i];} // x pixel size cm Int_t GetNbinsZ() {return fNbinz;} // number of z pixels Float_t GetBinSizeZ(Int_t i) {return fBinSizeZ[i];} // z pixel size cm 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 // dx => 1/2 thickness of wafer's active volume (cm) // dy => 1/2 r*phi size of active volume (cm) // dz => 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 fNbinx; // Number of pixels in x Int_t fNbinz; // Number of pixels in z Float_t *fBinSizeX; //[fNbinx] Pixel size in X, cm Float_t *fBinSizeZ; //[fNbinz] Pixel size in Z, cm ClassDef(AliITSgeomSPD300,2) // ITS SPD detector geometry class for 300X50 micron pixel size. }; #endif