]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removed global's to comply with Coding Conventions
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 31 May 2000 10:12:50 +0000 (10:12 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 31 May 2000 10:12:50 +0000 (10:12 +0000)
PHOS/AliPHOSGeometry.cxx
PHOS/AliPHOSGeometry.h

index 0c01cb8a220cd2761db6570514c193d74bf4ae60..9e326f775703a9478dd81c9e56ead4b1faf38821 100644 (file)
@@ -255,6 +255,9 @@ void AliPHOSGeometry::Init(void)
 {
   // Initializes the PHOS parameters
   
+  kDegre  = "deg" ; 
+  kRadian = "rad" ; 
+  
   fRotMatrixArray = new TObjArray(fNModules) ; 
 
   cout << "PHOS geometry setup: parameters for option " << fName << " " << fTitle << endl ;
index f379400585a73686e012abc373657d7d30d46774..4f4b2bf43c3d550070f8571f229d69dbbf409f42 100644 (file)
@@ -24,8 +24,6 @@
 #include "AliGeometry.h"
 #include "AliPHOSRecPoint.h"
 
-static const TString kDegre("deg") ; 
-static const TString kRadian("rad") ; 
 
 class AliPHOSGeometry : public AliGeometry {
 
@@ -41,6 +39,9 @@ public:
   virtual void  GetGlobal(const AliRecPoint* RecPoint, TVector3 & gpos, TMatrix & gmat)  ;
   virtual void  GetGlobal(const AliRecPoint* RecPoint, TVector3 & gpos)  ; 
 
+  static TString kDegre ; 
+  static TString kRadian ; 
+
 protected:
 
   AliPHOSGeometry(const Text_t* name, const Text_t* title) : AliGeometry(name, title) { Init() ; }