Added Debug options to control verbosity
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 May 2004 12:35:27 +0000 (12:35 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 May 2004 12:35:27 +0000 (12:35 +0000)
PHOS/AliPHOSReconstructor.cxx
PHOS/AliPHOSReconstructor.h

index a8595d1e514ce2230ab8730780662e472dbcbe50..92c4af32567b14da40ccf0ebc3cc57ba2ab7135e 100644 (file)
 #include "AliPHOSPIDv1.h"
 #include "AliPHOSGetter.h"
 
-
 ClassImp(AliPHOSReconstructor)
 
+Bool_t AliPHOSReconstructor::fgDebug = kFALSE ; 
+
 //____________________________________________________________________________
-  AliPHOSReconstructor::AliPHOSReconstructor() : fDebug(kFALSE) 
+  AliPHOSReconstructor::AliPHOSReconstructor() 
 {
   // ctor
 
index 7e4296e7e61fc9b4eb4a77834998df231d894029..35562fd023b6926d15cec4b5b925bcfab6dbfee0 100644 (file)
@@ -38,8 +38,9 @@ public:
     Fatal("cpy ctor", "not implemented") ;
   }
   ~AliPHOSReconstructor() ; //dtor            
-
-  Bool_t                     Debug() const { return fDebug ; }
+  static void                SetDebug()   { fgDebug = kTRUE ; }
+  static void                ResetDebug() { fgDebug = kFALSE ; }
+  static Bool_t              Debug() { return fgDebug ; }
   virtual void               FillESD(AliRunLoader* runLoader, AliESD* esd) const ;
   virtual void               Reconstruct(AliRunLoader* runLoader) const ;
 
@@ -51,7 +52,7 @@ public:
   
 private:
   
-  Bool_t fDebug; //! verbosity controller
+  static Bool_t fgDebug ; //! verbosity controller
 
   ClassDef(AliPHOSReconstructor,2)  // Reconstruction algorithm class (Base Class)