]> 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 c1c2fa5b9c2f1a908254b76e21e53961ddd6fd53..1a04cbf1bdc728b2e274aadcda9f3dfd0eb4fc81 100644 (file)
@@ -13,6 +13,7 @@ class fstream;
 #include "Riostream.h"
 #endif
 
+#include "AliFstream.h"
 
 class AliVZEROBuffer:public TObject{
 
@@ -22,15 +23,16 @@ public:
   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 Time);
-  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)
 };