]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/AliVZEROBuffer.h
Removing the unused runloader. Moving from AliESD to AliESDEvent
[u/mrichter/AliRoot.git] / VZERO / AliVZEROBuffer.h
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__
11 class fstream;
12 #else
13 #include "Riostream.h"
14 #endif
15
16 #include "AliFstream.h"
17
18 class AliVZEROBuffer:public TObject{
19
20 public:
21   AliVZEROBuffer();
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    WriteTriggerInfo(UInt_t trigger);
27   void    WriteChannel(Int_t cell,Int_t ADC, Int_t Time);
28   void    WriteScalers();
29   void    WriteMBInfo();
30   void    SetVerbose(Int_t val){fVerbose=val;}
31   Int_t   GetVerbose() const{return  fVerbose;} 
32   
33 private:
34   Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
35   AliFstream* f;      //The IO file name
36   ClassDef(AliVZEROBuffer,1)
37 };
38
39 #endif