AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONErrorCounter.h
Go to the documentation of this file.
1 #ifndef ALIMUONERRORCOUNTER_H
2 #define ALIMUONERRORCOUNTER_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 
13 // Author Alberto Baldisseri, JL Charvet
14 
15 #include <TNamed.h>
16 
17 class AliMUONErrorCounter : public TNamed
18 {
19  public :
20  AliMUONErrorCounter(Int_t bp = 0, Int_t manu = 0, Int_t ev = 1);
21 
23  void Increment() {fEvents++;}
25  Int_t BusPatch() const {return fBusPatch;}
27  Int_t ManuId() const {return fManuId;}
29  Int_t Events() const {return fEvents;}
30  Int_t Compare(const TObject* obj) const;
32  void Print(const Option_t* option="") const;
34  void PrintUncal(const Option_t* option="") const;
35 
36  private :
37  Int_t fBusPatch;
38  Int_t fManuId;
39  Int_t fEvents;
40 
41  ClassDef(AliMUONErrorCounter,1) //
42 };
43 
44 #endif //ALIMUONERRORCOUNTER_H
45 
46 
Int_t Events() const
return nb of erroneous events
void Increment()
Increment nb of erroneous event.
void PrintUncal(const Option_t *option="") const
Print Buspatch, ManuId , Nb of erroneous events.
Int_t Compare(const TObject *obj) const
Int_t BusPatch() const
return Buspatch value
void Print(const Option_t *option="") const
Print Buspatch , Nb of erroneous events.
Int_t fBusPatch
Buspath ID.
Int_t ManuId() const
return ManuId value
AliMUONErrorCounter(Int_t bp=0, Int_t manu=0, Int_t ev=1)
Int_t fEvents
counter of erroneous events