Fix bug in GetBusPatch method for station 2 (Christian & Laurent)
[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
a79660fb 6///////////////////////////////////////////////////////////////////
7// Class used for storing TPC digits according to the DDLs format//
8//////////////////////////////////////////////////////////////////
2e9f335b 9
f7a17606 10#ifdef __CINT__
2e9f335b 11class fstream;
f7a17606 12#else
13#include "Riostream.h"
14#endif
2e9f335b 15
b62e2a95 16
2e9f335b 17class AliSimDigits;
18//class TTree;
19//class TFile;
20class AliTPCBuffer:public TObject{
21public:
066782e8 22 AliTPCBuffer(){
23 //default constructor
24 }
2e9f335b 25 AliTPCBuffer(const char* fileName);//constructor
26 virtual ~AliTPCBuffer();//destructor
27 AliTPCBuffer(const AliTPCBuffer &source); // copy constructor
28 AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op.
29 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);
30 // 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);
0b3c7dfc 31 UInt_t GetDigNumber()const{return fNumberOfDigits;}
2e9f335b 32 void SetVerbose(Int_t val){fVerbose=val;}
33private:
9f992f70 34 Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
a763ec6d 35 fstream f; //The IO file name
2e9f335b 36 //TFile *fout;
37 //TTree *tree;
0b3c7dfc 38 UInt_t fNumberOfDigits; //Number of TPC digits
2e9f335b 39 ClassDef(AliTPCBuffer,1)
40};
41
42#endif