3 #ifndef AliHLT_Compress
4 #define AliHLT_Compress
6 #include "AliHLTRootTypes.h"
7 #include "AliHLTStandardIncludes.h"
8 #include "AliHLTDataCompressor.h"
10 class AliHLTCompress {
14 AliHLTCompress(Int_t slice,Int_t patch,Char_t *path="./",Bool_t writeshape=kFALSE,Int_t event=-1);
15 virtual ~AliHLTCompress();
17 Bool_t WriteFile(AliHLTTrackArray *tracks,Char_t *filename=0);
18 Bool_t ReadFile(Char_t which,Char_t *filename=0);
19 virtual Bool_t CompressFile();
20 virtual Bool_t ExpandFile();
21 void CompressRemaining(AliHLTSpacePointData *points[36][6],UInt_t npoints[36][6]);
22 void ExpandRemaining(TempCluster **clusters,Int_t *ncl,Int_t maxclusters);
23 virtual void PrintCompRatio(STDOF *outfile=0);
24 Int_t GetEntropy(Float_t &padEntropy,Float_t &timeEntropy,Float_t &chargeEntropy);
26 AliHLTTrackArray *GetTracks() {return fTracks;}
29 AliHLTTrackArray *fTracks; //! Array of tracks
30 Int_t fSlice; // Slice
31 Int_t fPatch; // Patch
32 Char_t fPath[100]; // Path to the files
33 Bool_t fWriteShape; // Flag to write the shape
34 Int_t fEvent; // Current event
37 ClassDef(AliHLTCompress,1)
41 typedef AliHLTCompress AliL3Compress; // for backward compatibility