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