#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)
return i+1;
}
+//_____________________________________________________________________________
+void
+AliMUONLogger::Clear(Option_t* /*option*/)
+{
+ /// reset logger spool
+
+ fLog->Clear();
+}
+
//_____________________________________________________________________________
void
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);
+
+}
+
+