Replace fLengthOPad by fLengthIPad in GetTiltOffset()
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Feb 2006 12:16:58 +0000 (12:16 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Feb 2006 12:16:58 +0000 (12:16 +0000)
TRD/AliTRDpadPlane.h

index 82fbbd8..d85c13e 100644 (file)
@@ -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*fLengthOPad);}
+  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;