1 #ifndef ALIL3FILEHANDLER_H
2 #define ALIL3FILEHANDLER_H
4 #include "AliTPCParam.h"
5 #include "AliL3MemHandler.h"
6 #include "AliSimDigits.h"
12 class AliL3SpacePointData;
13 class AliL3DigitRowData;
14 class AliL3TrackSegmentData;
15 class AliL3TrackArray;
17 class AliL3FileHandler:public AliL3MemHandler{
23 AliSimDigits *fDigits;
27 Bool_t GetDigitsTree(Int_t event);
31 virtual ~AliL3FileHandler();
33 void FreeDigitsTree();
34 Bool_t SetAliInput(char *name);
35 Bool_t SetAliInput(TFile *file);
37 Bool_t IsDigit(Int_t event);
39 Bool_t SetMCOutput(char *name);
40 Bool_t SetMCOutput(FILE *file);
44 Bool_t AliDigits2Binary(Int_t event=0);
45 AliL3DigitRowData *AliDigits2Memory(UInt_t & nrow,Int_t event=0); //Allocates Memory
46 Bool_t AliDigits2CompBinary(Int_t event=0);
47 void AliDigits2RootFile(AliL3DigitRowData *rowPt,Char_t *new_digitsfile);
50 Bool_t AliPoints2Binary();
51 AliL3SpacePointData *AliPoints2Memory(UInt_t & npoint);//Allocates Memory
53 ClassDef(AliL3FileHandler,1) //Filehandler class