]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TPC/AliTPCBuffer.h
Code reworking to analize ESD and AOD (H.Qvigstad)
[u/mrichter/AliRoot.git] / TPC / AliTPCBuffer.h
... / ...
CommitLineData
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__
11class fstream;
12#else
13#include "Riostream.h"
14#endif
15
16using std::fstream;
17
18class AliSimDigits;
19//class TTree;
20//class TFile;
21class AliTPCBuffer:public TObject{
22public:
23 AliTPCBuffer();
24
25 //
26 AliTPCBuffer(const char* fileName);//constructor
27 virtual ~AliTPCBuffer();//destructor
28 AliTPCBuffer(const AliTPCBuffer &source); // copy constructor
29 AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op.
30 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);
31 // 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);
32 UInt_t GetDigNumber()const{return fNumberOfDigits;}
33 void SetVerbose(Int_t val){fVerbose=val;}
34private:
35 Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
36
37 //TFile *fout;
38 //TTree *tree;
39 UInt_t fNumberOfDigits; //Number of TPC digits
40 fstream f; //The IO file name
41 ClassDef(AliTPCBuffer,1)
42};
43
44#endif