]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
5bf93292 | 3 | #ifndef AliL3_Compress |
4 | #define AliL3_Compress | |
5 | ||
1f1942b8 | 6 | #include "AliL3RootTypes.h" |
a3282264 | 7 | #include "AliL3StandardIncludes.h" |
6f388e0d | 8 | #include "AliL3DataCompressor.h" |
5bf93292 | 9 | |
10 | class AliL3Compress { | |
11 | ||
12 | private: | |
de3c3890 | 13 | |
14 | protected: | |
95a00d93 | 15 | AliL3TrackArray *fTracks; //! |
029912b7 | 16 | Int_t fSlice; |
17 | Int_t fPatch; | |
be6ddb10 | 18 | Char_t fPath[100]; |
2357bb38 | 19 | Bool_t fWriteShape; |
3e87ef69 | 20 | Int_t fEvent; |
029912b7 | 21 | |
de3c3890 | 22 | |
5bf93292 | 23 | public: |
24 | AliL3Compress(); | |
3e87ef69 | 25 | AliL3Compress(Int_t slice,Int_t patch,Char_t *path="./",Bool_t writeshape=kFALSE,Int_t event=-1); |
5bf93292 | 26 | virtual ~AliL3Compress(); |
27 | ||
3e87ef69 | 28 | Bool_t WriteFile(AliL3TrackArray *tracks,Char_t *filename=0); |
29 | Bool_t ReadFile(Char_t which,Char_t *filename=0); | |
de3c3890 | 30 | virtual Bool_t CompressFile(); |
31 | virtual Bool_t ExpandFile(); | |
6f388e0d | 32 | void CompressRemaining(AliL3SpacePointData *points[36][6],UInt_t npoints[36][6]); |
33 | void ExpandRemaining(TempCluster **clusters,Int_t *ncl,Int_t maxclusters); | |
de3c3890 | 34 | virtual void PrintCompRatio(STDOF *outfile=0); |
35 | Int_t GetEntropy(Float_t &pad_entropy,Float_t &time_entropy,Float_t &charge_entropy); | |
92a876e2 | 36 | |
95a00d93 | 37 | AliL3TrackArray *GetTracks() {return fTracks;} |
38 | ||
5bf93292 | 39 | ClassDef(AliL3Compress,1) |
40 | ||
41 | }; | |
42 | ||
43 | #endif |