]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/AliVZEROBuffer.h
Bypass buggy TMacro ctor (caused problems on paths including '.', like /afs/cern...
[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:
20 AliVZEROBuffer(){
21 //default constructor
22 }
23 AliVZEROBuffer(const char* fileName); //constructor
24 virtual ~AliVZEROBuffer(); //destructor
25 AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
26 AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
7caec66b 27 void WriteBinary(Int_t cell,Int_t ADC, Int_t Time);
af095430 28 UInt_t GetDigNumber()const{return fNumberOfDigits;}
29 void SetVerbose(Int_t val){fVerbose=val;}
30 Int_t GetVerbose() const{return fVerbose;}
31
32private:
33 Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
34 fstream f; //The IO file name
35 UInt_t fNumberOfDigits; //Number of VZERO digits
36 ClassDef(AliVZEROBuffer,1)
37};
38
39#endif