3 #ifndef ALIL3DATAHANDLER_H
4 #define ALIL3DATAHANDLER_H
6 #include "AliHLTMemHandler.h"
10 class AliHLTDataHandler : public AliHLTMemHandler {
16 void Convert10to8Bit();
17 Bool_t Memory2CompBinary(UInt_t nrow,AliHLTDigitRowData *data);
18 AliHLTDigitRowData *CompBinary2Memory(UInt_t &nrows);
22 AliHLTTransBit *fBitTransformer; //! bit transsformer
24 void Write(Byte_t *comp,UInt_t &index,UShort_t value);
25 Short_t Read(Byte_t *comp,UInt_t &index);
26 Short_t Test(Byte_t *comp,UInt_t index);
27 Bool_t Memory2CompMemory(UInt_t nrow,AliHLTDigitRowData *data,Byte_t *comp);
28 UInt_t GetCompMemorySize(UInt_t row,AliHLTDigitRowData *data);
29 UInt_t GetMemorySize(UInt_t nrow,Byte_t *comp);
30 Bool_t CompMemory2CompBinary(UInt_t nrow,Byte_t *comp,UInt_t size);
31 Bool_t CompBinary2CompMemory(UInt_t &nrow,Byte_t *comp);
32 UInt_t CompMemory2Memory(UInt_t nrow,AliHLTDigitRowData *data,Byte_t *comp);
34 ClassDef(AliHLTDataHandler,1) //Data handler class
37 typedef AliHLTDataHandler AliL3DataHandler; // for backward compatibility