1 #ifndef ALIMUONERRORCOUNTER_H
2 #define ALIMUONERRORCOUNTER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONErrorCounter
13 // Author Alberto Baldisseri, JL Charvet
17 class AliMUONErrorCounter : public TNamed
20 AliMUONErrorCounter(Int_t bp = 0, Int_t manu = 0, Int_t ev = 1);
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;
31 void Print(const Option_t* option="") const;
32 void Print_uncal(const Option_t* option="") const;
35 Int_t fBusPatch; ///< Buspath ID
36 Int_t fManuId; ///< Manu ID
37 Int_t fEvents; ///< Events with error in this buspatch
39 ClassDef(AliMUONErrorCounter,1) //
42 #endif //ALIMUONERRORCOUNTER_H