Move SetTiltingAngle() to implementation file
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Jun 2007 17:17:33 +0000 (17:17 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Jun 2007 17:17:33 +0000 (17:17 +0000)
TRD/AliTRDpadPlane.cxx
TRD/AliTRDpadPlane.h

index 0f5d0868387ed8ee4fd363d982ba2859d461d5ba..2851dd3a817fc6d28c53f6261aa1b517fc55fcf9 100644 (file)
@@ -226,6 +226,18 @@ void AliTRDpadPlane::Copy(TObject &p) const
 
 }
 
+//_____________________________________________________________________________
+void AliTRDpadPlane::SetTiltingAngle(Double_t t)
+{
+  //
+  // Set the tilting angle of the pads
+  //
+  fTiltingAngle = t; 
+  fTiltingTan   = TMath::Tan(TMath::Pi()/180.0 * fTiltingAngle); 
+
+}
+
 //_____________________________________________________________________________
 Int_t AliTRDpadPlane::GetPadRowNumber(Double_t z) const
 {
index 195d078acea1447f173d1a51064a929dbbddf6f0..dd881ae2096f4655b3798222f2840d2264940f6c 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <TObject.h>
 
+
 //_____________________________________________________________________________
 class AliTRDpadPlane : public TObject {
 
@@ -50,9 +51,8 @@ class AliTRDpadPlane : public TObject {
   void     SetWidthOPad(Double_t w)            { fWidthOPad      = w; };
   void     SetLengthIPad(Double_t l)           { fLengthIPad     = l; };
   void     SetWidthIPad(Double_t w)            { fWidthIPad      = w; };
-  void     SetTiltingAngle(Double_t t)         { fTiltingAngle   = t; 
-                                                 fTiltingTan     = TMath::Tan(TMath::Pi()/180.0 * fTiltingAngle); };
   void     SetPadRowSMOffset(Double_t o)       { fPadRowSMOffset = o; };
+  void     SetTiltingAngle(Double_t t);
 
   Int_t    GetPadRowNumber(Double_t z) const;
   Int_t    GetPadRowNumberROC(Double_t z) const;