-#if !defined(__CINT__) || defined(__MAKECINT__)
-#include <fstream.h>
+#if !defined(__CINT__)
+#include <Riostream.h>
+#include <TFile.h>
+#include <TTree.h>
+#include "AliTPCParamSR.h"
+#include "AliTPCDigitsArray.h"
+#include "AliSimDigits.h"
#include "AliTPCBuffer160.h"
-#include <alles.h>
#endif
int AliTPCAltro(char* FileName,Int_t eth=0){
// This class is used by AliTPCDDL.C macro
// Author: D.Favretto
-#include "Riostream.h"
-#include "TObjArray.h"
+#include <Riostream.h>
+#include <TObjArray.h>
#include "AliTPCBuffer.h"
#include "AliSimDigits.h"
#include "Riostream.h"
#endif
+
class AliSimDigits;
//class TTree;
//class TFile;
// and in the compression of the RAW data
// Author: D.Favretto
-#include "TObjArray.h"
-#include "Riostream.h"
+#include <TObjArray.h>
+#include <Riostream.h>
+#include <TMath.h>
#include <stdlib.h>
#include "AliTPCBuffer160.h"
-#include "TMath.h"
+
ClassImp(AliTPCBuffer160)
#ifndef AliTPCBUFFER160_H
#define AliTPCBUFFER160_H
-
+#ifdef __CINT__
+class fstream;
+#else
#include "Riostream.h"
+#endif
+
class AliTPCBuffer160:public TObject{
public:
#include <stdlib.h>
#include <TObjArray.h>
-#include "Riostream.h"
-#include "TMath.h"
+#include <Riostream.h>
+#include <TMath.h>
#include "AliTPCCompression.h"
#include "AliTPCBuffer160.h"
#include "AliTPCHuffman.h"
-#if !defined(__CINT__) || defined(__MAKECINT__)
-#include "TFile.h"
+#if !defined(__CINT__)
+#include <TFile.h>
+#include <TTree.h>
+#include "AliTPCParamSR.h"
+#include "AliTPCDigitsArray.h"
+#include "AliSimDigits.h"
#include "AliTPCBuffer.h"
#endif
-#if !defined(__CINT__) || defined(__MAKECINT__)
+#if !defined(__CINT__)
#include "AliTPCDDLRawData.h"
#include "AliTPCCompression.h"
-#include <alles.h>
#endif
//u->SetVerbose(1);
//The file "AltroFormatDDL.dat" is converted in a txt file "AltroFormatDDL.txt"
//that is used for debugging
- /*
+
cout<<"Creating a txt file from an Altro format file"<<endl;
u->ReadAltroFormat("AltroFormatDDL.txt","AltroFormatDDL.dat");
- */
+
//Tables are created and stored in as sequence of binary files
u->CreateTables("AltroFormatDDL.dat",NumTable);
timer.Stop();
timer.Print();
- /*
+
//SLICE CHECKING
//An Altro File is created from the slides
cout<<"slice control"<<endl;
//This file must be equal to the ones created above.
cout<<"Creating a txt file from an Altro format file"<<endl;
u->ReadAltroFormat("AltroDDLRecomposed.txt","AltroDDLRecomposed.dat");
- */
+
//SLICE COMPRESSION
timer.Stop();
timer.Print();
- /*
+
//SLICE DECOMPRESSION
timer.Start();
util->RawDataCompDecompress(LDCsNumber,1);
timer.Stop();
timer.Print();
- */
- /*
+
+
//SLICE DECOMPRESSED CHECKING
//A new Altro file is created from the decompressed slides
util->RawDataAltroDecode(LDCsNumber,1);
//Useful for debugging
cout<<"Creating a txt file from an Altro format file"<<endl;
u->ReadAltroFormat("AltroDDLRecomposedDec.txt","AltroDDLRecomposedDec.dat");
- */
+
delete util;
delete u;
return;
//For compression we use the optimized table wich needs
//to be provided.
-
-#include "TObjArray.h"
-#include "Riostream.h"
+#include <TObjArray.h>
+#include <Riostream.h>
#include <stdio.h>
#include <stdlib.h>
#include "AliTPCCompression.h"
-#if !defined(__CINT__) || defined(__MAKECINT__)
-#include <Riotream.h>
-#include <alles.h>
+#if !defined(__CINT__)
+#include <Riostream.h>
+#include <TStopwatch.h>
#include "AliTPCCompression.h"
#endif
//The class AliTPCHNode represents a node of the Huffman tree, while
//the class AliTPCHTable represents a compression table
-
#include <TObjArray.h>
-#include "Riostream.h"
-#include "TMath.h"
-#include "AliTPCHuffman.h"
+#include <Riostream.h>
+#include <TMath.h>
#include "AliTPCBuffer160.h"
+#include "AliTPCHuffman.h"
ClassImp(AliTPCHNode)