]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/AliVZEROBuffer.h
add setters
[u/mrichter/AliRoot.git] / VZERO / AliVZEROBuffer.h
CommitLineData
af095430 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
423b5b93 6/////////////////////////////////////////////////////////////////////
7// Class used for storing VZERO digits according to the DDLs format//
8/////////////////////////////////////////////////////////////////////
af095430 9
10#ifdef __CINT__
11class fstream;
12#else
13#include "Riostream.h"
14#endif
15
08f92f14 16#include "AliFstream.h"
af095430 17
18class AliVZEROBuffer:public TObject{
19
20public:
0b2bea8b 21 AliVZEROBuffer();
af095430 22 AliVZEROBuffer(const char* fileName); //constructor
23 virtual ~AliVZEROBuffer(); //destructor
726d762c 24 void WriteTriggerInfo(UInt_t trigger);
423b5b93 25 void WriteTriggerScalers();
26 void WriteBunchNumbers();
b6fd9c4a 27 void WriteChannel(Int_t channel, Short_t *adc, Bool_t integrator);
28 void WriteBeamFlags(Bool_t *bbFlag, Bool_t *bgFlag);
726d762c 29 void WriteMBInfo();
423b5b93 30 void WriteMBFlags();
31 void WriteBeamScalers();
b6fd9c4a 32 void WriteTiming(Float_t time, Float_t width);
33
af095430 34private:
b6fd9c4a 35 AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
36 AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
37
38 UInt_t fRemainingWord; // Remaining data word between even and odd channel's data
08f92f14 39 AliFstream* f; //The IO file name
b6fd9c4a 40 ClassDef(AliVZEROBuffer,2)
af095430 41};
42
43#endif