Minor changes at new Top Makefile.
[u/mrichter/AliRoot.git] / HLT / misc / AliL3DataHandler.h
CommitLineData
b328544b 1#ifndef ALIL3DATAHANDLER_H
2#define ALIL3DATAHANDLER_H
3
4#include "AliL3RootTypes.h"
5#include "AliL3MemHandler.h"
6
7class AliTransBit;
8
9class AliL3DataHandler : public AliL3MemHandler {
10
11 private:
12
13 AliTransBit *fBitTransformer; //!
14
15 void Write(Byte_t *comp,UInt_t &index,UShort_t value);
16 Short_t Read(Byte_t *comp,UInt_t &index);
17 Short_t Test(Byte_t *comp,UInt_t index);
18 Bool_t Memory2CompMemory(UInt_t nrow,AliL3DigitRowData *data,Byte_t *comp);
19 UInt_t GetCompMemorySize(UInt_t row,AliL3DigitRowData *data);
20 UInt_t GetMemorySize(UInt_t nrow,Byte_t *comp);
21 Bool_t CompMemory2CompBinary(UInt_t nrow,Byte_t *comp,UInt_t size);
22 Bool_t CompBinary2CompMemory(UInt_t &nrow,Byte_t *comp);
23 UInt_t CompMemory2Memory(UInt_t nrow,AliL3DigitRowData *data,Byte_t *comp);
24
25 public:
26 AliL3DataHandler();
27 ~AliL3DataHandler();
28
29 void Convert10to8Bit();
30 Bool_t Memory2CompBinary(UInt_t nrow,AliL3DigitRowData *data);
31 AliL3DigitRowData *CompBinary2Memory(UInt_t &nrows);
32
33 ClassDef(AliL3DataHandler,1) //Data handler class
34};
35
36#endif