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 VZERO 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 void WriteTriggerInfo(UInt_t trigger);
25 void WriteTriggerScalers();
26 void WriteBunchNumbers();
27 void WriteChannel(Int_t channel, Short_t *adc, Bool_t integrator);
28 void WriteBeamFlags(Bool_t *bbFlag, Bool_t *bgFlag);
31 void WriteBeamScalers();
32 void WriteTiming(Float_t time, Float_t width);
35 AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
36 AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
38 UInt_t fRemainingWord; // Remaining data word between even and odd channel's data
39 AliFstream* f; //The IO file name
40 ClassDef(AliVZEROBuffer,2)