Removed a std::cout statement
[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
24 AliVZEROBuffer(const AliVZEROBuffer &source); // copy constructor
25 AliVZEROBuffer& operator=(const AliVZEROBuffer &source); // ass. op.
726d762c 26 void WriteTriggerInfo(UInt_t trigger);
423b5b93 27 void WriteTriggerScalers();
28 void WriteBunchNumbers();
29 void WriteChannel(Int_t cell,UInt_t ADC, UInt_t Time);
30 void WriteBeamFlags();
726d762c 31 void WriteMBInfo();
423b5b93 32 void WriteMBFlags();
33 void WriteBeamScalers();
34 void WriteTiming(Int_t cell,UInt_t ADC, UInt_t Time);
35
af095430 36 void SetVerbose(Int_t val){fVerbose=val;}
37 Int_t GetVerbose() const{return fVerbose;}
38
39private:
40 Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
08f92f14 41 AliFstream* f; //The IO file name
af095430 42 ClassDef(AliVZEROBuffer,1)
43};
44
45#endif