]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Make GetStack() and GetSector() static
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 8 Oct 2008 16:54:53 +0000 (16:54 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 8 Oct 2008 16:54:53 +0000 (16:54 +0000)
TRD/AliTRDgeometry.cxx
TRD/AliTRDgeometry.h

index fe8a866793d9adb637c44e543fc40976e57c0a59..46faf9874e5bb0f39fb4ea91040cf67a85a262bb 100644 (file)
@@ -2625,7 +2625,7 @@ Int_t AliTRDgeometry::GetLayer(Int_t det)
 }
 
 //_____________________________________________________________________________
-Int_t AliTRDgeometry::GetStack(Int_t det) const
+Int_t AliTRDgeometry::GetStack(Int_t det)
 {
   //
   // Reconstruct the stack number from the detector number
@@ -2667,7 +2667,7 @@ Int_t AliTRDgeometry::GetStack(Double_t z, Int_t layer)
 }
 
 //_____________________________________________________________________________
-Int_t AliTRDgeometry::GetSector(Int_t det) const
+Int_t AliTRDgeometry::GetSector(Int_t det)
 {
   //
   // Reconstruct the sector number from the detector number
index 40ecb2c61b7472fd7b5a53549d9e392480c9dadb..5d6ded0a13485f7bc3a186b9c338a7130405145a 100644 (file)
@@ -59,9 +59,9 @@ class AliTRDgeometry : public AliGeometry {
   static  Int_t    GetDetectorSec(Int_t layer, Int_t stack);
   static  Int_t    GetDetector(Int_t layer, Int_t stack, Int_t sector);
   static  Int_t    GetLayer(Int_t det);
-  virtual Int_t    GetStack(Int_t det) const;
-  virtual Int_t    GetStack(Double_t z, Int_t layer);
-  virtual Int_t    GetSector(Int_t det) const;
+  static  Int_t    GetStack(Int_t det);
+          Int_t    GetStack(Double_t z, Int_t layer);
+  static  Int_t    GetSector(Int_t det);
 
           void     CreatePadPlaneArray();
   AliTRDpadPlane  *CreatePadPlane(Int_t layer, Int_t stack);