3 #ifndef AliL3_CompressAC
4 #define AliL3_CompressAC
6 #include "AliL3Compress.h"
9 class AliL3CompressAC : public AliL3Compress {
20 UShort_t fUnderflowBits;
24 void BuildModel(BIT_FILE *output);
25 void RebuildModel(BIT_FILE *input);
29 void InitDecoder(BIT_FILE *input);
30 void ConvertIntToSymbol(Int_t value);
31 UInt_t ConvertSymbolToInt();
32 void EncodeSymbol(BIT_FILE *output);
33 void RemoveSymbolFromStream(BIT_FILE *input,Int_t j);
34 void FlushEncoder(BIT_FILE *output);
38 AliL3CompressAC(Int_t slice,Int_t patch,Char_t *path="./",Bool_t writeshape=kFALSE,Int_t event=-1);
39 virtual ~AliL3CompressAC();
41 Bool_t CompressFile();
43 void PrintCompRatio(STDOF *outfile=0);
46 ClassDef(AliL3CompressAC,1)