]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCDigitReader.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCDigitReader.h
index d450cd96b088800dacb3ed2f46c5c964fbc4aac2..7f4bc714364f5f1a237531c821fa1b2d43519c03 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "AliHLTLogging.h"
 #include "TObject.h"
+#include "AliHLTTPCDigitData.h"
 
 /**
  * @class AliHLTTPCDigitReader
@@ -148,6 +149,11 @@ public:
    */
   virtual const UInt_t* GetSignals();
 
+  /**
+   * Get pointer to the the current ADC value. In UShort_t, used by the 32BitFormat decoder
+   */
+  virtual const UShort_t* GetSignalsShort();
+
   /**
    * Get the time bin of the current value.
    * If @ref NextBunch has been used the function returns the
@@ -193,6 +199,22 @@ public:
    */  
   virtual int GetRowOffset() const;
 
+  /**
+   * Returns the trailer size.
+   */
+  virtual int GetRCUTrailerSize();
+
+  /**
+   * Returns the trailer data.
+   */
+  virtual bool GetRCUTrailerData(UChar_t*& trData);
+
+  /**
+   * Returns the digits
+   */
+  virtual const AliHLTTPCDigitData* GetBunchDigits(){return 0;}
+
+
   /**
    * Access operator to the data of a specific time bin.
    * Not clear if we can manage this.
@@ -223,6 +245,8 @@ public:
     kNoRewind = 0x4,
     /** warning missing fast access methods */
     kWarnMissFastAccess = 0x8,
+    /** warning on missing RCU trailer getters */
+    kWarnMissTrailerGetters = 0x10,
     /** channel caching enabled */
     kChannelCaching = 0x100
   };
@@ -263,10 +287,10 @@ protected:
 
 private:
   /**
-   * Print a warning on the missing fast access methods.
+   * Print a warning once for missing functionality.
    * Set corresponding flag to avoid repetitive warnings.
    */
-  void PrintMissingFastAccessWarning();
+  void PrintWarningOnce(int type, const char* message);
 
   /** pad/channel is locked */
   unsigned int fFlags;                                    //!transient