New classes and macros for raw data compression and ADC (D.Favretto)
[u/mrichter/AliRoot.git] / TPC / AliTPCBuffer.h
CommitLineData
2e9f335b 1#ifndef AliTPCBUFFER_H
2#define AliTPCBUFFER_H
3/* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/////////////////////////////////////////////////////
7// Class used for //
8/////////////////////////////////////////////////////
9
10class fstream;
11
12class AliSimDigits;
13//class TTree;
14//class TFile;
15class AliTPCBuffer:public TObject{
16public:
17 AliTPCBuffer(){}//default constructor
18 AliTPCBuffer(const char* fileName);//constructor
19 virtual ~AliTPCBuffer();//destructor
20 AliTPCBuffer(const AliTPCBuffer &source); // copy constructor
21 AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op.
22 void WriteRowBinary(Int_t eth,AliSimDigits *digrow,Int_t minPad,Int_t maxPad,Int_t flag,Int_t sec,Int_t SubSec,Int_t row);
23 // void WriteRow(Int_t eth,AliSimDigits *digrow,Int_t minPad,Int_t maxPad,Int_t flag,Int_t sec,Int_t SubSec,Int_t row);
24 ULong_t GetDigNumber()const{return NumberOfDigits;}
25 void SetVerbose(Int_t val){fVerbose=val;}
26private:
27 Int_t fVerbose;
28 fstream f;
29 //TFile *fout;
30 //TTree *tree;
31 ULong_t NumberOfDigits;
32 ClassDef(AliTPCBuffer,1)
33};
34
35#endif