X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDpadPlane.h;h=d9bcaf827cda6dec0d447c2cb8b4226167f748d7;hb=19e9826b7f0d1da38df50172b3a5e8a0e992a91d;hp=9dbccf3c7c6d1b9535bc4f527a8735aabe8657e8;hpb=98ce815171d7f88f79fd6ba8c97a142790b83e7b;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDpadPlane.h b/TRD/AliTRDpadPlane.h index 9dbccf3c7c6..d9bcaf827cd 100644 --- a/TRD/AliTRDpadPlane.h +++ b/TRD/AliTRDpadPlane.h @@ -34,7 +34,8 @@ class AliTRDpadPlane : public TObject { Int_t GetPadRowNumber(Double_t z) const; Int_t GetPadColNumber(Double_t rphi, Double_t rowOffset) const; - + Double_t GetTiltOffset(Double_t rowOffset) const + { return fTiltingTan * (rowOffset - 0.5*fLengthIPad); }; Double_t GetPadRowOffset(Int_t row, Double_t z) const { if ((row < 0) || (row >= fNrows)) return -1.0; @@ -55,20 +56,21 @@ class AliTRDpadPlane : public TObject { Double_t GetRow0() const { return fPadRow[0]; }; Double_t GetCol0() const { return fPadCol[0]; }; - Double_t GetRowEnd() const { return fPadRow[fNrows-1] - fLengthOPad; }; - Double_t GetColEnd() const { return fPadCol[fNcols-11] - fWidthOPad; }; + Double_t GetRowEnd() const { return fPadRow[fNrows-1] - fLengthOPad; }; + Double_t GetColEnd() const { return fPadCol[fNcols-1] - fWidthOPad; }; - Double_t GetRowPos(Int_t row) const { return fPadRow[row]; }; - Double_t GetColPos(Int_t col) const { return fPadCol[col]; }; + Double_t GetRowPos(Int_t row) const { return fPadRow[row]; }; + Double_t GetColPos(Int_t col) const { return fPadCol[col]; }; - Double_t GetRowSize(Int_t row) const { if ((row == 0) || (row == fNrows-1)) + Double_t GetRowSize(Int_t row) const { if ((row == 0) || (row == fNrows-1)) return fLengthOPad; else return fLengthIPad; }; - Double_t GetColSize(Int_t col) const { if ((col == 0) || (col == fNcols-1)) + Double_t GetColSize(Int_t col) const { if ((col == 0) || (col == fNcols-1)) return fWidthOPad; else - return fWidthIPad; }; + return fWidthIPad; }; + Double_t GetLengthRim() const { return fLengthRim; }; protected: