LCOV - code coverage report
Current view: top level - MUON/MUONcalib - AliMUONErrorCounter.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 6 16.7 %
Date: 2016-06-14 17:26:59 Functions: 1 15 6.7 %

          Line data    Source code
       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             : 
       9             : /// \ingroup calib
      10             : /// \class AliMUONErrorCounter
      11             : /// \brief 
      12             : /// 
      13             : //  Author Alberto Baldisseri, JL Charvet 
      14             : 
      15             : #include <TNamed.h>
      16             : 
      17           0 : class AliMUONErrorCounter : public TNamed
      18             : {
      19             :   public :
      20             :     AliMUONErrorCounter(Int_t bp = 0, Int_t manu = 0, Int_t ev = 1);
      21             :     
      22             :     /// Increment nb of erroneous event 
      23           0 :     void Increment() {fEvents++;}
      24             :     /// return Buspatch value
      25           0 :     Int_t BusPatch() const {return fBusPatch;}
      26             :     /// return ManuId value
      27           0 :     Int_t ManuId() const {return fManuId;}
      28             :     /// return  nb of erroneous events
      29           0 :     Int_t Events() const {return fEvents;}
      30             :     Int_t Compare(const TObject* obj) const;
      31             :     /// Print Buspatch , Nb of erroneous events
      32             :     void Print(const Option_t* option="") const;
      33             :     /// Print Buspatch, ManuId , Nb of erroneous events
      34             :     void PrintUncal(const Option_t* option="") const;
      35             : 
      36             :   private :
      37             :     Int_t fBusPatch; ///< Buspath ID
      38             :     Int_t fManuId;   ///< Manu ID
      39             :     Int_t fEvents;   ///< counter of erroneous events
      40             : 
      41          18 :   ClassDef(AliMUONErrorCounter,1) // 
      42             : };
      43             : 
      44             : #endif //ALIMUONERRORCOUNTER_H 
      45             : 
      46             : 

Generated by: LCOV version 1.11