Reconstruction of ESD data implemented
[u/mrichter/AliRoot.git] / VZERO / AliVZEROBuffer.h
CommitLineData
af095430 1#ifndef AliVZEROBUFFER_H
2#define AliVZEROBUFFER_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
16
17class AliVZEROBuffer:public TObject{
18
19public:
0b2bea8b 20 AliVZEROBuffer();
af095430 21 AliVZEROBuffer(const char* fileName); //constructor
22 virtual ~AliVZEROBuffer(); //destructor
23 AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
24 AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
7caec66b 25 void WriteBinary(Int_t cell,Int_t ADC, Int_t Time);
af095430 26 UInt_t GetDigNumber()const{return fNumberOfDigits;}
27 void SetVerbose(Int_t val){fVerbose=val;}
28 Int_t GetVerbose() const{return fVerbose;}
29
30private:
31 Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
32 fstream f; //The IO file name
33 UInt_t fNumberOfDigits; //Number of VZERO digits
34 ClassDef(AliVZEROBuffer,1)
35};
36
37#endif