#ifndef ALIL3TRANSFORM_H #define ALIL3TRANSFORM_H //#include "AliTPCParam.h" #include "AliL3RootTypes.h" class TFile; class AliL3Transform { private: // AliTPCParam *fParam; Int_t fNTimeBins; Int_t fNRowLow; Int_t fNRowUp; Int_t fNSectorLow; Int_t fNSectorUp; Double_t fPadPitchWidthLow; Double_t fPadPitchWidthUp; Double_t fZWidth; Double_t fZSigma; Int_t fNSector; Int_t fNSlice; Int_t fNRow; Double_t fPi; Double_t fCos[36]; //change this following Init Double_t fSin[36]; //change this following Init Double_t fX[176]; //change this following Init Int_t fNPads[176]; //change this following Init public: AliL3Transform(); virtual ~AliL3Transform(); void Init(); Double_t GetPadPitchWidthLow() {return fPadPitchWidthLow;} Double_t GetPadPitchWidthUp() {return fPadPitchWidthUp;} Double_t GetPadPitchWidth(Int_t patch) {if(patch<=2) return fPadPitchWidthLow; else return fPadPitchWidthUp;} Double_t GetZWidth() {return fZWidth;} Bool_t Slice2Sector(Int_t slice, Int_t slicerow, Int_t & sector, Int_t &row) const; Bool_t Sector2Slice(Int_t & slice, Int_t sector) const; Bool_t Sector2Slice(Int_t & slice, Int_t & slicerow,Int_t sector, Int_t row) const; Double_t Row2X(Int_t slicerow); Int_t GetNPads(Int_t row){return (row