#ifndef ALITRDRAWSTREAM_H
#define ALITRDRAWSTREAM_H
-#include "TObject.h"
-#include "TClonesArray.h"
#include "TTree.h"
-
#include "AliLog.h"
+#include "TClonesArray.h"
+class TObject;
class TObjArray;
class TString;
class TBranch;
Bool_t IsDumping() const { return (fNDumpMCMs > 0); }
Bool_t DumpingMCM(Int_t det, Int_t rob, Int_t mcm) const;
- TString DumpRaw(TString title, UInt_t *start, Int_t length, UInt_t endmarker = 0xffffffff);
+ TString DumpRaw(TString title, const UInt_t *start, Int_t length, UInt_t endmarker = 0xffffffff);
TString DumpMcmHeader(TString title, UInt_t word);
TString DumpAdcMask(TString title, UInt_t word);
Int_t CouldBeADCmask(UInt_t adcmask) const { return ((0xf & adcmask) == 0xc && (0x3 & adcmask >> 30) == 0x1); }
// error message generation
- void EquipmentError(ErrorCode_t err = kUnknown, const char *const msg = "", ...);
- void StackError (ErrorCode_t err = kUnknown, const char *const msg = "", ...);
- void LinkError (ErrorCode_t err = kUnknown, const char *const msg = "", ...);
- void ROBError (ErrorCode_t err = kUnknown, const char *const msg = "", ...);
- void MCMError (ErrorCode_t err = kUnknown, const char *const msg = "", ...);
+ void EquipmentError(ErrorCode_t err = kUnknown, const char *const msg = " ", ...);
+ void StackError (ErrorCode_t err = kUnknown, const char *const msg = " ", ...);
+ void LinkError (ErrorCode_t err = kUnknown, const char *const msg = " ", ...);
+ void ROBError (ErrorCode_t err = kUnknown, const char *const msg = " ", ...);
+ void MCMError (ErrorCode_t err = kUnknown, const char *const msg = " ", ...);
void StoreErrorTree() { fErrors->Fill(); }
void StoreErrorArray() { new ((*fMarkers)[fMarkers->GetEntriesFast()]) AliTRDrawStreamError(fLastError); }
void ForgetError() { return; }