]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/src/AliL3Logger.h
Added check for min. of points on track when saving to ESD.
[u/mrichter/AliRoot.git] / HLT / src / AliL3Logger.h
index 5b46986377eb0c428633731ed366c7dfbf31eb64..cc95842b64171678a4dea484fdb81200ea4427a0 100644 (file)
@@ -1,30 +1,22 @@
+// @(#) $Id$
+
 #ifndef ALIL3LOGGER_H
 #define ALIL3LOGGER_H
 
 #include "AliL3RootTypes.h"
-
-#if GCCVERSION == 3
-#include <fstream>
-#include <iosfwd>
-#else
-#include <fstream.h>
-#endif
+#include "AliL3StandardIncludes.h"
 
 class MLUCLogServer;
-class ofstream;
-
-class AliL3Logger{
-  public:
-  static int kAll;
-  static int kDebug;
-  static int kInformational;
-  static int kWarning;
-  static int kError;
-  static int kFatal;
+
+class AliL3Logger {
+
+ public:
   AliL3Logger();
   virtual ~AliL3Logger();
-  void Set(int l);
-  void UnSet(int l);
+
+  void Set(Int_t l);
+  void UnSet(Int_t l);
   void UseDevNull();
   void UseStdout();
   void UseStderr();
@@ -33,15 +25,26 @@ class AliL3Logger{
   void NotUseStdout();
   void NotUseStderr();
   void NotUseStream();
-  private:
-  MLUCLogServer *dn; //!
-  MLUCLogServer *so; //!
-  MLUCLogServer *se; //!
-  MLUCLogServer *sm; //!
-#if GCCVERSION == 3
-  std::ofstream *of; //!
+
+ protected:
+
+  static Int_t fgAll;   //level all
+  static Int_t fgDebug; //level debug
+  static Int_t fgInformational; //level info
+  static Int_t fgWarning; //level warning
+  static Int_t fgError; //level error
+  static Int_t fgFatal; //level fatal
+
+ private:
+
+  MLUCLogServer *fdn; //!
+  MLUCLogServer *fso; //!
+  MLUCLogServer *fse; //!
+  MLUCLogServer *fsm; //!
+#if __GNUC__ == 3
+  std::ofstream *fof; //!
 #else  
-  ofstream *of; //!
+  ofstream *fof; //!
 #endif
 
   ClassDef(AliL3Logger,1)