#include <TObject.h>
#include <TArrayI.h>
+#include <TClonesArray.h>
+
+#include "AliRawDataErrorLog.h"
#include "AliRawDataHeader.h"
class AliRawEventHeaderBase;
void DumpData(Int_t limit = -1);
+ void AddErrorLog(AliRawDataErrorLog::ERawDataErrorType type,
+ const char *message = NULL);
+ Int_t GetNumberOfErrorLogs() const { return fErrorLogs.GetEntriesFast(); }
+ AliRawDataErrorLog *GetErrorLog(Int_t i) const {
+ return (AliRawDataErrorLog *)fErrorLogs.UncheckedAt(i);
+ }
+
protected :
Bool_t IsSelected() const;
Bool_t IsEventSelected() const;
Int_t fErrorCode; // code of last error
+ Int_t fEventNumber; // current event number
+ TClonesArray fErrorLogs; // raw data decoding errors
+
ClassDef(AliRawReader, 0) // base class for reading raw digits
};