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 */
6 ///////////////////////////////////////////////////////////////////
7 // Class used for storing TPC digits according to the DDLs format//
8 //////////////////////////////////////////////////////////////////
13 #include "Riostream.h"
16 #include "AliFstream.h"
18 class AliVZEROBuffer:public TObject{
22 AliVZEROBuffer(const char* fileName); //constructor
23 virtual ~AliVZEROBuffer(); //destructor
24 AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
25 AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
26 void WriteBinary(Int_t cell,Int_t ADC, Int_t Time);
27 UInt_t GetDigNumber()const{return fNumberOfDigits;}
28 void SetVerbose(Int_t val){fVerbose=val;}
29 Int_t GetVerbose() const{return fVerbose;}
32 Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
33 AliFstream* f; //The IO file name
34 UInt_t fNumberOfDigits; //Number of VZERO digits
35 ClassDef(AliVZEROBuffer,1)