1 #ifndef ALITPCMONITORDATEFILE_H
2 #define ALITPCMONITORDATEFILE_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
11 #include "AliTPCMonitorDateFormat.h"
16 class AliTPCMonitorDateFile : public TNamed {
18 AliTPCMonitorDateFile();
19 ~AliTPCMonitorDateFile();
21 void AllocateArray(int size);
24 Int_t GetAllocatedSizeofArray();
26 Int_t GetFilePosition();
27 Char_t* GetMemoryPointer();
30 Bool_t IsEventValid();
32 Bool_t IsDateFileOpen();
33 void OpenDateFile(string name);
43 ifstream * fin; // file to be read
44 Int_t ffilePos; // position in file
45 Char_t fmem[512]; // array for event header
46 Char_t* fbigMem; // array for event data
47 UInt_t fbigMemsize; // size of data array
48 Bool_t fisBigMemAllocated; // flag for already allocated array
49 Int_t ffileSize; // size of DATE file
50 string ffilename; // name of DATE file
51 Bool_t finitFile; // flag for opened file
52 Bool_t freadPosOverflow; // data position overflow flag
54 ClassDef(AliTPCMonitorDateFile,1);