]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROBuffer.h
Initial classes for Lee Yang Zeroes from Naomi van der Kolk
[u/mrichter/AliRoot.git] / VZERO / AliVZEROBuffer.h
index 1b52c7660aeba3e0907bbef25ec03103429d2f1b..1a04cbf1bdc728b2e274aadcda9f3dfd0eb4fc81 100644 (file)
@@ -13,26 +13,26 @@ class fstream;
 #include "Riostream.h"
 #endif
 
+#include "AliFstream.h"
 
 class AliVZEROBuffer:public TObject{
 
 public:
-  AliVZEROBuffer(){
-    //default constructor
-  }
+  AliVZEROBuffer();
   AliVZEROBuffer(const char* fileName); //constructor
   virtual ~AliVZEROBuffer(); //destructor
   AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
   AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
-  void    WriteBinary(Int_t cell,Int_t ADC, Int_t ToF);
-  UInt_t  GetDigNumber()const{return fNumberOfDigits;}
+  void    WriteTriggerInfo(UInt_t trigger);
+  void    WriteChannel(Int_t cell,Int_t ADC, Int_t Time);
+  void    WriteScalers();
+  void    WriteMBInfo();
   void    SetVerbose(Int_t val){fVerbose=val;}
   Int_t   GetVerbose() const{return  fVerbose;} 
   
 private:
   Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
-  fstream f;      //The IO file name
-  UInt_t  fNumberOfDigits; //Number of VZERO digits
+  AliFstream* f;      //The IO file name
   ClassDef(AliVZEROBuffer,1)
 };