]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCBuffer.h
Corrections to obey the coding conventions (D.Favretto)
[u/mrichter/AliRoot.git] / TPC / AliTPCBuffer.h
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 storing TPC digits according to the DDLs format//
8 //////////////////////////////////////////////////////////////////
9
10 #ifdef __CINT__
11 class fstream;
12 #else
13 #include "Riostream.h"
14 #endif
15
16 class AliSimDigits;
17 //class TTree;
18 //class TFile;
19 class AliTPCBuffer:public TObject{
20 public:
21   AliTPCBuffer(){
22     //default constructor
23   }
24   AliTPCBuffer(const char* fileName);//constructor
25   virtual ~AliTPCBuffer();//destructor
26   AliTPCBuffer(const AliTPCBuffer &source); // copy constructor
27   AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op.
28   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);
29   //  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);
30   ULong_t GetDigNumber()const{return fNumberOfDigits;}
31   void    SetVerbose(Int_t val){fVerbose=val;}
32 private:
33   Int_t fVerbose; //Verbosity level: 0-silent, not 0-all printout
34   fstream f;      //The IO file name
35   //TFile *fout;
36   //TTree *tree;
37   ULong_t fNumberOfDigits; //Number of TPC digits
38   ClassDef(AliTPCBuffer,1)
39 };
40
41 #endif