From 000bb28fae0199344f7dbc879333ebed921b5c77 Mon Sep 17 00:00:00 2001 From: loizides Date: Fri, 2 Sep 2011 13:01:58 +0000 Subject: [PATCH] make IsInitialized to be able to check beforehand if geom ptr is set --- EMCAL/AliEMCALGeometry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMCAL/AliEMCALGeometry.h b/EMCAL/AliEMCALGeometry.h index cdf0cce917d..dd5ff41c5b2 100644 --- a/EMCAL/AliEMCALGeometry.h +++ b/EMCAL/AliEMCALGeometry.h @@ -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;} ///////////// -- 2.43.0