]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCDDLRawData.h
Stand-alone library for ESD. Possibility to use only root and lidESD.so for analysis...
[u/mrichter/AliRoot.git] / TPC / AliTPCDDLRawData.h
CommitLineData
2e9f335b 1/* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4/////////////////////////////////////////////////////
a79660fb 5// Class used for the ALICE data challenges //
2e9f335b 6/////////////////////////////////////////////////////
7
8#ifndef AliTPCDDLRAWDATA_H
9#define AliTPCDDLRAWDATA_H
10
11
12class AliTPCDDLRawData:public TObject{
13 public:
9f992f70 14 AliTPCDDLRawData(){fVerbose=0;}//default constructor
2e9f335b 15 virtual ~AliTPCDDLRawData(){;}//destructor
16 AliTPCDDLRawData(const AliTPCDDLRawData &source); // copy constructor
17 AliTPCDDLRawData& operator=(const AliTPCDDLRawData &source); // ass. op.
0421c3d1 18 void RawData(const char* inputFileName = "AliTPCDDL.dat");
a79660fb 19 //This method is used to create the slides (sequence of files)
0421c3d1 20 Int_t RawDataCompDecompress(Bool_t compress = kTRUE);
2e9f335b 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
0421c3d1 23 void RawDataAltro(const char* inputFileName = "AliTPCDDL.dat", const char* outputFileName = "AltroFormatDDL.dat")const;
2e9f335b 24 //This method is used to create the Altro format file from "AliTPCDDL.dat"
0421c3d1 25 void RawDataAltroDecode(const char* outputFileName);
a79660fb 26 //This method is used to construct an Altro format file starting from
27 //the slices compressed or uncompressed
9f992f70 28 void SetVerbose(Int_t Verbose){fVerbose=Verbose;}
2e9f335b 29 private:
9f992f70 30 Int_t fVerbose; //Verbose level 0:Silent, 1: cout msg, 2:txt files for debugging
0421c3d1 31 enum {kDDLOffset = 0}; //offset for DDL number
2e9f335b 32 ClassDef(AliTPCDDLRawData,1)
33};
34
35#endif