]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONLogger.cxx
- Bug fix: in the creation/reading of the trigger DCS values, the HV and currents...
[u/mrichter/AliRoot.git] / MUON / AliMUONLogger.cxx
index 74967dadf5fea7e4f69c468f118b6316f944ac0f..cb7fa69167dc82f620b5621675861dd8b7573372 100644 (file)
@@ -21,6 +21,7 @@
 #include "AliLog.h"
 #include "Riostream.h"
 
+//-----------------------------------------------------------------------------
 /// \class AliMUONLogger
 ///
 /// A logger that keeps track of the number of times a message appeared.
 /// only once when DigitizerV3 is destroyed.
 ///
 /// \author Laurent Aphecetche
+//-----------------------------------------------------------------------------
 
+/// \cond CLASSIMP
 ClassImp(AliMUONLogger)
+/// \endcond
 
 //_____________________________________________________________________________
 AliMUONLogger::AliMUONLogger(Int_t maxNumberOfEntries) 
@@ -71,6 +75,15 @@ AliMUONLogger::Log(const char* message)
   return i+1;
 }
 
+//_____________________________________________________________________________
+void   
+AliMUONLogger::Clear(Option_t* /*option*/) 
+{  
+  /// reset logger spool
+
+  fLog->Clear();
+}
+
 //_____________________________________________________________________________
 void 
 AliMUONLogger::Print(Option_t* opt) const
@@ -85,4 +98,34 @@ AliMUONLogger::Print(Option_t* opt) const
     cout << "No message" << endl;
   }
 }
+  
+//_____________________________________________________________________________
+void
+AliMUONLogger::Print(TString& key, ofstream& out) const
+{
+  /// print out into a given streamer with a key word in front of the message
+  fLog->Print(key, out); 
+
+      
+}
+   
+//_____________________________________________________________________________
+void 
+AliMUONLogger::ResetItr()
+{
+  /// call reset iterator method
+  fLog->ResetItr();
+     
+}
+//_____________________________________________________________________________
+Bool_t 
+AliMUONLogger::Next(TString& msg, Int_t& occurance)
+{
+  /// call next iterator method
+  return fLog->Next(msg, occurance);
+     
+}
+    
+