]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCBuffer.h
Removing obsolete macros
[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:
179c6296 22 AliTPCBuffer();
23
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
179c6296 35
2e9f335b 36 //TFile *fout;
37 //TTree *tree;
0b3c7dfc 38 UInt_t fNumberOfDigits; //Number of TPC digits
179c6296 39 fstream f; //The IO file name
2e9f335b 40 ClassDef(AliTPCBuffer,1)
41};
42
43#endif