]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRawDataErrorLog.h
fixing comment
[u/mrichter/AliRoot.git] / STEER / AliRawDataErrorLog.h
index 330c3a28d8e04f95959602dfc2f632cbb875d3a0..7c6b9be49e103adf0f87213e93d393ce818e35ef 100644 (file)
@@ -42,20 +42,27 @@ class AliRawDataErrorLog: public TNamed {
   Int_t              GetEventNumber() const { return fEventNumber; }
   Int_t              GetDdlID()       const { return fDdlID; }
   ERawDataErrorLevel GetErrorLevel()  const { return fErrorLevel; }
+  const char*        GetErrorLevelAsString() const;
   Int_t              GetErrorCode()   const { return fErrorCode; }
   const char *       GetMessage()     const { return fName.Data(); }
+  Int_t              GetCount()       const { return fCount; }
 
   Bool_t            IsSortable() const {return kTRUE;}
   Int_t             Compare(const TObject* obj) const;
 
+  void               AddCount() { fCount++; }
+
+  void Print(Option_t* opt="") const;
+  
  private:
 
   Int_t              fEventNumber; // Event number as it appears in the input raw-data file
   Int_t              fDdlID;       // ID of the DLL in which the error occured
   ERawDataErrorLevel fErrorLevel;  // Level of the raw data error
   Int_t              fErrorCode;   // Code of the raw data error (detector-specific)
+  Int_t              fCount;       // Counter of identical errors (occurances)
 
-  ClassDef(AliRawDataErrorLog, 2)
+  ClassDef(AliRawDataErrorLog, 3)
 };
 
 #endif