]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCDDLRawData.h
Raw data simulation, one file per DDL, mini header replaced by data header (T.Kuhr)
[u/mrichter/AliRoot.git] / TPC / AliTPCDDLRawData.h
index ea602e9c5c3765fae5828cc88b52730f68657a70..782de47297fee2d598b87c856b5a90594998cccf 100644 (file)
@@ -15,19 +15,20 @@ class AliTPCDDLRawData:public TObject{
   virtual ~AliTPCDDLRawData(){;}//destructor
   AliTPCDDLRawData(const AliTPCDDLRawData &source); // copy constructor
   AliTPCDDLRawData& operator=(const AliTPCDDLRawData &source); // ass. op.
-  void  RawData(Int_t LDCsNumber,Int_t EventNumber);
+  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 EventNumber,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 EventNumber,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)
 };