]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONLogger.h
Adding author in the class description
[u/mrichter/AliRoot.git] / MUON / AliMUONLogger.h
CommitLineData
48beade4 1#ifndef ALIMUONLOGGER_H
2#define ALIMUONLOGGER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup base
10/// \class AliMUONLogger
11/// \brief A logger that keeps track of the number of times a message appeared
12///
78649106 13// Author Laurent Aphecetche
48beade4 14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMUONStringIntMap;
20
21class AliMUONLogger : public TObject
22{
23public:
24 AliMUONLogger(Int_t maxNumberOfEntries=-1);
25 virtual ~AliMUONLogger();
26
27 Int_t Log(const char* message);
28
29 void Print(Option_t* opt="") const;
30
31private:
71a2d3aa 32 /// Not implemented
48beade4 33 AliMUONLogger(const AliMUONLogger& rhs); // not implemented
71a2d3aa 34 /// Not implemented
48beade4 35 AliMUONLogger& operator=(const AliMUONLogger& rhs); // not implemented
36
37private:
38
39 Int_t fMaxNumberOfEntries; //!< after this number, print and reset
40 AliMUONStringIntMap* fLog; //!< map from message to number of times the message was issued
41
42 ClassDef(AliMUONLogger,1) //
43};
44
45#endif