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 0f5d086..2851dd3 100644 (file)
@@ -227,6 +227,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 195d078..dd881ae 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;