]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
5bf93292 | 3 | #ifndef AliL3_Compress |
4 | #define AliL3_Compress | |
5 | ||
5bf93292 | 6 | class AliL3TrackArray; |
7 | ||
8 | class AliL3Compress { | |
9 | ||
10 | private: | |
95a00d93 | 11 | AliL3TrackArray *fTracks; //! |
3e87ef69 | 12 | |
029912b7 | 13 | Int_t fSlice; |
14 | Int_t fPatch; | |
be6ddb10 | 15 | Char_t fPath[100]; |
2357bb38 | 16 | Bool_t fWriteShape; |
3e87ef69 | 17 | Int_t fEvent; |
029912b7 | 18 | |
5bf93292 | 19 | public: |
20 | AliL3Compress(); | |
3e87ef69 | 21 | AliL3Compress(Int_t slice,Int_t patch,Char_t *path="./",Bool_t writeshape=kFALSE,Int_t event=-1); |
5bf93292 | 22 | virtual ~AliL3Compress(); |
23 | ||
3e87ef69 | 24 | Bool_t WriteFile(AliL3TrackArray *tracks,Char_t *filename=0); |
25 | Bool_t ReadFile(Char_t which,Char_t *filename=0); | |
26 | Bool_t CompressFile(); | |
27 | Bool_t ExpandFile(); | |
28 | void PrintCompRatio(ofstream *outfile=0); | |
92a876e2 | 29 | |
95a00d93 | 30 | AliL3TrackArray *GetTracks() {return fTracks;} |
31 | ||
5bf93292 | 32 | ClassDef(AliL3Compress,1) |
33 | ||
34 | }; | |
35 | ||
36 | #endif |