From 05375de7f8fa08d25e822ee8665a55e8e9995a87 Mon Sep 17 00:00:00 2001 From: schutz Date: Wed, 31 May 2000 10:12:50 +0000 Subject: [PATCH] Removed global's to comply with Coding Conventions --- PHOS/AliPHOSGeometry.cxx | 3 +++ PHOS/AliPHOSGeometry.h | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/PHOS/AliPHOSGeometry.cxx b/PHOS/AliPHOSGeometry.cxx index 0c01cb8a220..9e326f77570 100644 --- a/PHOS/AliPHOSGeometry.cxx +++ b/PHOS/AliPHOSGeometry.cxx @@ -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 ; diff --git a/PHOS/AliPHOSGeometry.h b/PHOS/AliPHOSGeometry.h index f379400585a..4f4b2bf43c3 100644 --- a/PHOS/AliPHOSGeometry.h +++ b/PHOS/AliPHOSGeometry.h @@ -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() ; } -- 2.43.0