//-------------------------------------------------------------------------
#include "AliESDInputHandler.h"
-#include "AliESDEvent.h"
class TList;
class TTree;
class TDirectoryFile;
AliESDInputHandlerRP(const char* name, const char* title);
virtual ~AliESDInputHandlerRP();
virtual Bool_t Init(Option_t* opt);
+ virtual Bool_t Init(TTree* tree, Option_t* opt) {return AliESDInputHandler::Init(tree, opt);}
virtual Bool_t InitIO(Option_t* opt) {return Init(opt);};
virtual Bool_t BeginEvent(Long64_t entry);
virtual Bool_t FinishEvent();
- virtual Bool_t GetEvent(Int_t iev);
+ virtual Bool_t LoadEvent(Int_t iev);
+ virtual Bool_t Notify() { return AliESDInputHandler::Notify();}
virtual Bool_t Notify(const char* path);
virtual void ResetIO();
+ //
+ virtual TTree* GetTreeR(const char* det);
private:
Bool_t OpenFile(Int_t i);
AliESDInputHandlerRP(const AliESDInputHandlerRP& handler);
AliESDInputHandlerRP& operator=(const AliESDInputHandlerRP& handler);
private:
- TList* fRTrees; // List of RecPoint Trees
+ TObjArray* fRTrees; // List of RecPoint Trees
+ TObjArray* fRDirs; // List of RecPoint directories
TList* fRFiles; // List of RecPoint Files
- TDirectoryFile* fDirR; //! Directory for RP Tree
+ TList* fDetectors; // List of detector names
+ TDirectoryFile *fDirR; //! Directory for RP Tree
Int_t fEventNumber; //! Current event number
- Int_t fNEvent; //! Number of events in current directory
Int_t fFileNumber; //! Input file number
Int_t fEventsPerFile; //! Number of events per file
- char *fExtension; //! File name extension
- TString *fPathName; //! Input file path
+ const Char_t *fExtension; //! File name extension
+ TString *fPathName; //! Input file path
+ Bool_t fIsArchive; //! True if directory is an archive
ClassDef(AliESDInputHandlerRP, 1);
};