]>
Commit | Line | Data |
---|---|---|
1 | /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. * | |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | ///////////////////////////////////////////////////// | |
5 | // Class used for the ALICE data challenges // | |
6 | ///////////////////////////////////////////////////// | |
7 | ||
8 | #ifndef AliTPCDDLRAWDATA_H | |
9 | #define AliTPCDDLRAWDATA_H | |
10 | ||
11 | ||
12 | class AliTPCDDLRawData:public TObject{ | |
13 | public: | |
14 | AliTPCDDLRawData(){fVerbose=0;}//default constructor | |
15 | virtual ~AliTPCDDLRawData(){;}//destructor | |
16 | AliTPCDDLRawData(const AliTPCDDLRawData &source); // copy constructor | |
17 | AliTPCDDLRawData& operator=(const AliTPCDDLRawData &source); // ass. op. | |
18 | void RawData(const char* inputFileName = "AliTPCDDL.dat"); | |
19 | //This method is used to create the slides (sequence of files) | |
20 | Int_t RawDataCompDecompress(Bool_t compress = kTRUE); | |
21 | //This method is used to create the compressed slides starting from the uncompressed ones | |
22 | //or it can be used to decompress a sequence of compressed slices | |
23 | void RawDataAltro(const char* inputFileName = "AliTPCDDL.dat", const char* outputFileName = "AltroFormatDDL.dat")const; | |
24 | //This method is used to create the Altro format file from "AliTPCDDL.dat" | |
25 | void RawDataAltroDecode(const char* outputFileName); | |
26 | //This method is used to construct an Altro format file starting from | |
27 | //the slices compressed or uncompressed | |
28 | void SetVerbose(Int_t Verbose){fVerbose=Verbose;} | |
29 | private: | |
30 | Int_t fVerbose; //Verbose level 0:Silent, 1: cout msg, 2:txt files for debugging | |
31 | enum {kDDLOffset = 0}; //offset for DDL number | |
32 | ClassDef(AliTPCDDLRawData,1) | |
33 | }; | |
34 | ||
35 | #endif |