]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROBuffer.h
Adding the trigger charge and bits to the ESD and AOD. They will be needed by phys...
[u/mrichter/AliRoot.git] / VZERO / AliVZEROBuffer.h
index 1a04cbf1bdc728b2e274aadcda9f3dfd0eb4fc81..26afb35edc688d72d370e51cd8a4338129f1457e 100644 (file)
@@ -3,9 +3,9 @@
 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-///////////////////////////////////////////////////////////////////
-// Class used for storing TPC digits according to the DDLs format//
-//////////////////////////////////////////////////////////////////
+/////////////////////////////////////////////////////////////////////
+// Class used for storing VZERO digits according to the DDLs format//
+/////////////////////////////////////////////////////////////////////
 
 #ifdef __CINT__
 class fstream;
@@ -21,19 +21,23 @@ public:
   AliVZEROBuffer();
   AliVZEROBuffer(const char* fileName); //constructor
   virtual ~AliVZEROBuffer(); //destructor
-  AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
-  AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
   void    WriteTriggerInfo(UInt_t trigger);
-  void    WriteChannel(Int_t cell,Int_t ADC, Int_t Time);
-  void    WriteScalers();
+  void    WriteTriggerScalers();
+  void    WriteBunchNumbers();  
+  void    WriteChannel(Int_t channel, Short_t *adc, Bool_t integrator);
+  void    WriteBeamFlags(Bool_t *bbFlag, Bool_t *bgFlag);
   void    WriteMBInfo();
-  void    SetVerbose(Int_t val){fVerbose=val;}
-  Int_t   GetVerbose() const{return  fVerbose;} 
-  
+  void    WriteMBFlags();  
+  void    WriteBeamScalers();
+  void    WriteTiming(Float_t time, Float_t width);
+
 private:
-  Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
+  AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
+  AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
+
+  UInt_t      fRemainingWord; // Remaining data word between even and odd channel's data
   AliFstream* f;      //The IO file name
-  ClassDef(AliVZEROBuffer,1)
+  ClassDef(AliVZEROBuffer,2)
 };
 
 #endif