]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONLogger.h
- update track cuts
[u/mrichter/AliRoot.git] / MUON / AliMUONLogger.h
index a204cf7f13824c4ff9b9264d41006b31a8751737..f1af4a8e3aae526cdf0978cd3cf013e37de532e0 100644 (file)
@@ -6,27 +6,45 @@
 
 // $Id$
 
-/// \ingroup base
+/// \ingroup core
 /// \class AliMUONLogger
 /// \brief A logger that keeps track of the number of times a message appeared
 /// 
 //  Author Laurent Aphecetche
 
+#include <Riostream.h>
+
 #ifndef ROOT_TObject
 #  include "TObject.h"
 #endif
 
+#ifndef ROOT_TString
+#  include "TString.h"
+#endif
+
 class AliMUONStringIntMap;
 
+using std::ofstream;
+
 class AliMUONLogger : public TObject
 {
 public:
   AliMUONLogger(Int_t maxNumberOfEntries=-1);
   virtual ~AliMUONLogger();
   
-  Int_t Log(const char* message);
+  Int_t  Log(const char* message);
+  
+  void   Print(Option_t* opt="") const;
+  
+  void   Print(TString& key, ofstream& out) const;
+  
+  void   Clear(Option_t* /*option*/ ="");
+  
+  Bool_t Next(TString& msg, Int_t& occurance);
+  
+  void   ResetItr();
   
-  void Print(Option_t* opt="") const;
+  Int_t NumberOfEntries() const;
   
 private:
   /// Not implemented