]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliAltroData.h
some histos added for TPC clusters
[u/mrichter/AliRoot.git] / RAW / AliAltroData.h
index 2d94819969511dbf12f495dc2d55e578ac009021..a7da48fea85896538bcfd586dda0803f8a8eafc5 100644 (file)
@@ -3,6 +3,8 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+#define DECODERERROR -3
+
 #include <TObject.h>
 
 class AliAltroBunch;
@@ -12,7 +14,9 @@ public:
 
   AliAltroData();
   ~ AliAltroData();
-  Bool_t  NextBunch(AliAltroBunch *altrobunch);
+
+  //  Bool_t  NextBunch(AliAltroBunch *altrobunch);
+  int  NextBunch(AliAltroBunch *altrobunch); 
 
   Int_t   GetChannel() const;
   Int_t   GetChip() const;
@@ -25,7 +29,9 @@ public:
   Int_t   GetHadd()         const { return fHadd; }
   Int_t   GetPrevHadd()     const { return fPrevHadd; }
   Bool_t  IsNewHadd()       const { return (fHadd != fPrevHadd); }
-  void    SetHadd(Int_t add)      { fPrevHadd = fHadd; fHadd = add; }
+  //  void    SetHadd(Int_t add)      { fPrevHadd = fHadd; fHadd = add; }
+  void    SetHadd(Int_t add, Int_t bufferleft)      { fPrevHadd = fHadd; fHadd = add; fBufferLeft  = bufferleft ; }
+
   const   UInt_t* GetData() const { return fData; }
   void    SetData(UInt_t *data)   { fData = data; }
   //  UInt_t* GetData() const { return fData; } 
@@ -46,6 +52,9 @@ private:
   Int_t   fBunchCounter;
   Bool_t  fIsComplete;
 
+  // Int_t fMaxBunchSize;
+  Int_t fBufferLeft;
+
   ClassDef(AliAltroData, 0)  // container class for Altro payload
 
 };