]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCDDLRawData.h
Changes due to the coding conventions
[u/mrichter/AliRoot.git] / TPC / AliTPCDDLRawData.h
index be115ad3e367c3a3b7e924be59ef4d8c5e555a31..782de47297fee2d598b87c856b5a90594998cccf 100644 (file)
 
 class AliTPCDDLRawData:public TObject{
  public:
-  AliTPCDDLRawData(){;}//default constructor
+  AliTPCDDLRawData(){fVerbose=0;}//default constructor
   virtual ~AliTPCDDLRawData(){;}//destructor
   AliTPCDDLRawData(const AliTPCDDLRawData &source); // copy constructor
   AliTPCDDLRawData& operator=(const AliTPCDDLRawData &source); // ass. op.
-  void  RawData(Int_t LDCsNumber);
+  void  RawData(const char* inputFileName = "AliTPCDDL.dat");
   //This method is used to create the slides (sequence of files)
-  Int_t RawDataCompDecompress(Int_t LDCsNumber,Int_t Comp=0);
+  Int_t RawDataCompDecompress(Bool_t compress = kTRUE);
   //This method is used to create the compressed slides starting from the uncompressed ones 
   //or it can be used to decompress a sequence of compressed slices
-  void  RawDataAltro()const;
+  void  RawDataAltro(const char* inputFileName = "AliTPCDDL.dat", const char* outputFileName = "AltroFormatDDL.dat")const;
   //This method is used to create the Altro format file from "AliTPCDDL.dat"
-  void RawDataAltroDecode(Int_t LDCsNumber,Int_t Comp=0);
+  void RawDataAltroDecode(const char* outputFileName);
   //This method is used to construct an Altro format file starting from
   //the slices compressed or uncompressed
+  void SetVerbose(Int_t Verbose){fVerbose=Verbose;}
  private:
+  Int_t fVerbose;         //Verbose level 0:Silent, 1: cout msg, 2:txt files for debugging
+  enum {kDDLOffset = 0};  //offset for DDL number
   ClassDef(AliTPCDDLRawData,1)
 };