Improved QAchecker and plots for DQM
[u/mrichter/AliRoot.git] / TOF / AliTOFFEEDump.h
CommitLineData
69355034 1#ifndef ALITOFFEEDUMP_H
2#define ALITOFFEEDUMP_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id: AliTOFDecoder.h,v 1.2 2007/05/08 11:55:24 arcelli Exp $ */
8
9///////////////////////////////////////////////////////////////
10// //
11// This classes provide the object to store the full dump //
12// of TOF FEE configuration database. //
13// //
14///////////////////////////////////////////////////////////////
15
16#include "TObject.h"
17
18class AliTOFFEEDump :
19public TObject
20{
21
22 public:
23
24 AliTOFFEEDump(); /* default constructor */
25 virtual ~AliTOFFEEDump(); /* default destructor */
26 Bool_t operator!=(const AliTOFFEEDump &source); /* operator!= */
27 Bool_t operator==(const AliTOFFEEDump &source) {return !(*this != source);}; /* operator== */
28
29 UInt_t GetSize() const {return fSize;}; /* get size */
30 UChar_t *GetData() {return fData;}; /* get data */
31 Bool_t ReadFromFile(const Char_t *filename); /* read from file */
32 void DumpData(); /* dump data */
33
34 private:
35
36 AliTOFFEEDump(const AliTOFFEEDump &source); /* copy constructor */
37 AliTOFFEEDump &operator=(const AliTOFFEEDump &source); /* operator= */
38
39 UInt_t fSize; // size
40 UChar_t *fData; //[fSize] data
41
42 ClassDef(AliTOFFEEDump, 1);
43
44};
45
46#endif /* ALITOFFEEDUMP_H */