]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliAltroDecoder.h
break when there is no input file for second run
[u/mrichter/AliRoot.git] / RAW / AliAltroDecoder.h
index 9c44699982b8216c46d29ceca9eaf8c9053240c9..2e5dbcd5e7d9fb8f7e2bd423af707d746d823f5b 100644 (file)
@@ -21,6 +21,7 @@
 ///////////////////////////////////////////////////////////////////////////////
 
 
+#define DECODERERROR -3
 
 #include <TObject.h>
 
@@ -87,10 +88,6 @@ class AliAltroDecoder: public TObject {
    * @return kTRUE if trailer available;
    */
   Bool_t  GetRCUTrailerData(UChar_t*& data) const;
-
-  /**
-   * Provide size of RCU trailer.
-   */
   Int_t   GetRCUTrailerSize() const;
 
  private:
@@ -118,7 +115,10 @@ class AliAltroDecoder: public TObject {
   Int_t    fInComplete;                      // Number of altro channels that is read out properly
   Bool_t   fDecodeIfCorruptedTrailer;        // Wether or not to try to decode the data if the RCU trailer is incorrect (will succseed in most cases)
   Bool_t   fIsDecoded;                       // Wether or not the buffer set last by the "SetMemory()" function has been decoded
-  Bool_t  fIsFatalCorruptedTrailer;          // If trailer is fataly corrupted, not possible in any way to recover, then it is not allowed to decode the DDL payload.  
+  Bool_t   fIsFatalCorruptedTrailer;          // If trailer is fataly corrupted, not possible in any way to recover, then it is not allowed to decode the DDL payload.  
+
+  //  Bool_t   fIsFirstChannelOfPayload;
+
 
   ClassDef(AliAltroDecoder, 0)  // class for decoding Altro payload
 };