make IsInitialized to be able to check beforehand if geom ptr is set
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Sep 2011 13:01:58 +0000 (13:01 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Sep 2011 13:01:58 +0000 (13:01 +0000)
EMCAL/AliEMCALGeometry.h

index cdf0cce..dd5ff41 100644 (file)
@@ -49,7 +49,7 @@ public:
   //////////
   // General
   //
-  Bool_t  IsInitialized(void) const { return AliEMCALEMCGeometry::fgInit ; }
+  static Bool_t  IsInitialized(void)            {return AliEMCALEMCGeometry::fgInit; }
   static const Char_t* GetDefaultGeometryName() {return AliEMCALEMCGeometry::fgkDefaultGeometryName;}
   
   /////////////