]>
Commit | Line | Data |
---|---|---|
a6c02c85 | 1 | // @(#) $Id$ |
2 | ||
3 | #ifndef ALIHLTTPCDDLDATAFILEHANDLER_H | |
4 | #define ALIHLTTPCDDLDATAFILEHANDLER_H | |
5 | ||
87cd4053 | 6 | #include "AliRawEvent.h" |
7 | #include "AliRawReader.h" | |
8 | #include "AliTPCRawStream.h" | |
a6c02c85 | 9 | #include <TString.h> |
a6c02c85 | 10 | #include "AliHLTTPCMemHandler.h" |
11 | ||
12 | class AliHLTTPCDDLDataFileHandler:public AliHLTTPCMemHandler{ | |
13 | ||
14 | public: | |
15 | ||
16 | AliHLTTPCDDLDataFileHandler(); | |
17 | virtual ~AliHLTTPCDDLDataFileHandler(); | |
18 | ||
a6c02c85 | 19 | Bool_t SetReaderInput(AliRawEvent *rawevent); |
20 | Bool_t SetReaderInput(Char_t *name,Int_t event=0); | |
21 | Bool_t IsDigit(Int_t i=0) const; | |
22 | AliHLTTPCDigitRowData *AliAltroDigits2Memory(UInt_t & nrow,Int_t event=0,Bool_t /*eventmerge*/=kFALSE){return DDLData2Memory(nrow,event);}; | |
a6c02c85 | 23 | |
24 | void CloseReaderInput(); | |
25 | void FreeAll(); //like AliHLTTPCMemHandler::Free() or AliHLTTPCFileHandler::FreeDigitsTree | |
26 | ||
27 | AliHLTTPCDigitRowData* DDLData2Memory(UInt_t &nrow,Int_t event=-1); | |
28 | Bool_t DDLData2CompBinary(Int_t event=-1); | |
29 | ||
30 | AliTPCRawStream* GetTPCRawStream(){return fTPCStream;} | |
31 | ||
32 | private: | |
a6c02c85 | 33 | TString fFilename; // IO file name |
34 | Int_t fEvent; // event number | |
35 | AliRawReader *fReader; // raw reader | |
36 | AliTPCRawStream *fTPCStream;// TPC raw stream | |
a6c02c85 | 37 | |
38 | ClassDef(AliHLTTPCDDLDataFileHandler,1) //DDL Data Filehandler class | |
39 | }; | |
40 | #endif |