6 #include <Reve/EventBase.h>
17 class Event : public Reve::EventBase
20 Event(const Event&); // Not implemented
21 Event& operator=(const Event&); // Not implemented
27 AliRunLoader* fRunLoader;
32 TFile* fESDfriendFile;
33 TTree* fESDfriendTree;
34 AliESDfriend* fESDfriend;
36 static Bool_t fgUseRunLoader;
37 static Bool_t fgUseESDTree;
40 static void Initialize(Bool_t use_runloader=true, Bool_t use_esd=true);
43 Event(TString path, Int_t ev=0);
46 void GotoEvent(Int_t event);
47 void NextEvent() { GotoEvent(fEventId + 1); }
48 void PrevEvent() { GotoEvent(fEventId - 1); }
51 Int_t GetEventId() const { return fEventId; }
52 AliRunLoader* GetRunLoader() const { return fRunLoader; }
53 TTree* GetESDTree() const { return fESDTree; }
54 AliESD* GetESD() const { return fESD; }
55 TTree* GetESDfriendTree() const { return fESDfriendTree; }
56 AliESDfriend* GetESDfriend() const { return fESDfriend; }
58 virtual const Text_t* GetTitle() const { return fPath.Data(); }
60 static AliRunLoader* AssertRunLoader();
61 static AliESD* AssertESD();
62 static AliESDfriend* AssertESDfriend();