#ifndef ALIMUONERRORCOUNTER_H #define ALIMUONERRORCOUNTER_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ // $Id$ /// \ingroup calib /// \class AliMUONErrorCounter /// \brief /// // Author Alberto Baldisseri, JL Charvet #include class AliMUONErrorCounter : public TNamed { public : AliMUONErrorCounter(Int_t bp = 0, Int_t manu = 0, Int_t ev = 1); /// Increment nb of erroneous event void Increment() {fEvents++;} /// return Buspatch value Int_t BusPatch() const {return fBusPatch;} /// return ManuId value Int_t ManuId() const {return fManuId;} /// return nb of erroneous events Int_t Events() const {return fEvents;} Int_t Compare(const TObject* obj) const; /// Print Buspatch , Nb of erroneous events void Print(const Option_t* option="") const; /// Print Buspatch, ManuId , Nb of erroneous events void PrintUncal(const Option_t* option="") const; private : Int_t fBusPatch; ///< Buspath ID Int_t fManuId; ///< Manu ID Int_t fEvents; ///< counter of erroneous events ClassDef(AliMUONErrorCounter,1) // }; #endif //ALIMUONERRORCOUNTER_H