Correction for coding conventions
[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
f7a17606 10#ifdef __CINT__
2e9f335b 11class fstream;
f7a17606 12#else
13#include "Riostream.h"
14#endif
2e9f335b 15
16class AliSimDigits;
17//class TTree;
18//class TFile;
19class AliTPCBuffer:public TObject{
20public:
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);
a763ec6d 28 ULong_t GetDigNumber()const{return fNumberOfDigits;}
2e9f335b 29 void SetVerbose(Int_t val){fVerbose=val;}
30private:
a763ec6d 31 Int_t fVerbose; //Verbosity level: 0-silent, not 0-all printout
32 fstream f; //The IO file name
2e9f335b 33 //TFile *fout;
34 //TTree *tree;
a763ec6d 35 ULong_t fNumberOfDigits; //Number of TPC digits
2e9f335b 36 ClassDef(AliTPCBuffer,1)
37};
38
39#endif