ROOT logo
#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 <TNamed.h>

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 


 AliMUONErrorCounter.h:1
 AliMUONErrorCounter.h:2
 AliMUONErrorCounter.h:3
 AliMUONErrorCounter.h:4
 AliMUONErrorCounter.h:5
 AliMUONErrorCounter.h:6
 AliMUONErrorCounter.h:7
 AliMUONErrorCounter.h:8
 AliMUONErrorCounter.h:9
 AliMUONErrorCounter.h:10
 AliMUONErrorCounter.h:11
 AliMUONErrorCounter.h:12
 AliMUONErrorCounter.h:13
 AliMUONErrorCounter.h:14
 AliMUONErrorCounter.h:15
 AliMUONErrorCounter.h:16
 AliMUONErrorCounter.h:17
 AliMUONErrorCounter.h:18
 AliMUONErrorCounter.h:19
 AliMUONErrorCounter.h:20
 AliMUONErrorCounter.h:21
 AliMUONErrorCounter.h:22
 AliMUONErrorCounter.h:23
 AliMUONErrorCounter.h:24
 AliMUONErrorCounter.h:25
 AliMUONErrorCounter.h:26
 AliMUONErrorCounter.h:27
 AliMUONErrorCounter.h:28
 AliMUONErrorCounter.h:29
 AliMUONErrorCounter.h:30
 AliMUONErrorCounter.h:31
 AliMUONErrorCounter.h:32
 AliMUONErrorCounter.h:33
 AliMUONErrorCounter.h:34
 AliMUONErrorCounter.h:35
 AliMUONErrorCounter.h:36
 AliMUONErrorCounter.h:37
 AliMUONErrorCounter.h:38
 AliMUONErrorCounter.h:39
 AliMUONErrorCounter.h:40
 AliMUONErrorCounter.h:41
 AliMUONErrorCounter.h:42
 AliMUONErrorCounter.h:43
 AliMUONErrorCounter.h:44
 AliMUONErrorCounter.h:45
 AliMUONErrorCounter.h:46