]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/misc/AliL3DDLRawReaderFile.h
New version of SPD raw-data reconstruction. The format now correponds to the actual...
[u/mrichter/AliRoot.git] / HLT / misc / AliL3DDLRawReaderFile.h
CommitLineData
240d63be 1// @(#) $Id$
2
3#ifndef ALIL3DDLRAWREADERFILE_H
4#define ALIL3DDLRAWREADERFILE_H
5
1f1942b8 6#include "AliL3RootTypes.h"
240d63be 7#include "AliL3DDLRawReader.h"
8
9class AliL3DDLRawReaderFile: public AliL3DDLRawReader
10{
11 public :
12 AliL3DDLRawReaderFile(const Char_t* name, Bool_t addnum = kTRUE);
13 virtual ~AliL3DDLRawReaderFile();
14
15 virtual Bool_t ReadMiniHeader();
16 virtual Bool_t ReadNextData(UChar_t*& data);
17
18 virtual Bool_t Reset();
19
20 protected :
21 Bool_t OpenNextFile();
22
23 virtual Bool_t ReadNext(UChar_t* data, Int_t size);
24
25 Char_t* fFileName; //! name of input files
26 Int_t fFileNumber; // number of current input file
27 fstream* fStream; //! stream of raw digits
28 UChar_t* fBuffer; //! buffer for payload
29 Int_t fBufferSize; // size of fBuffer in bytes
30
31 ClassDef(AliL3DDLRawReaderFile, 1) //AliL3DDLRawReaderFile
32};
33
34#endif