]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCBuffer.h
Correction for coding conventions
[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                                  //
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(){}//default constructor
22   AliTPCBuffer(const char* fileName);//constructor
23   virtual ~AliTPCBuffer();//destructor
24   AliTPCBuffer(const AliTPCBuffer &source); // copy constructor
25   AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op.
26   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);
27   //  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);
28   ULong_t GetDigNumber()const{return fNumberOfDigits;}
29   void    SetVerbose(Int_t val){fVerbose=val;}
30 private:
31   Int_t fVerbose; //Verbosity level: 0-silent, not 0-all printout
32   fstream f;      //The IO file name
33   //TFile *fout;
34   //TTree *tree;
35   ULong_t fNumberOfDigits; //Number of TPC digits
36   ClassDef(AliTPCBuffer,1)
37 };
38
39 #endif