3 #ifndef ALIHLTTPCDDLDATAFILEHANDLER_H
4 #define ALIHLTTPCDDLDATAFILEHANDLER_H
6 #include "AliRawEvent.h"
7 #include "AliRawReader.h"
8 #include "AliTPCRawStream.h"
10 #include "AliHLTTPCMemHandler.h"
12 class AliHLTTPCDDLDataFileHandler:public AliHLTTPCMemHandler{
16 AliHLTTPCDDLDataFileHandler();
17 virtual ~AliHLTTPCDDLDataFileHandler();
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);};
24 void CloseReaderInput();
25 void FreeAll(); //like AliHLTTPCMemHandler::Free() or AliHLTTPCFileHandler::FreeDigitsTree
27 AliHLTTPCDigitRowData* DDLData2Memory(UInt_t &nrow,Int_t event=-1);
28 Bool_t DDLData2CompBinary(Int_t event=-1);
30 AliTPCRawStream* GetTPCRawStream(){return fTPCStream;}
33 TString fFilename; // IO file name
34 Int_t fEvent; // event number
35 AliRawReader *fReader; // raw reader
36 AliTPCRawStream *fTPCStream;// TPC raw stream
38 ClassDef(AliHLTTPCDDLDataFileHandler,1) //DDL Data Filehandler class