X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ANALYSIS%2FAliMultiEventInputHandler.h;h=50add9ef86e71e49d1f5f947ff08a80826778519;hb=67456c9245b4854b7442247ef4a097dece207f02;hp=76512c35a286597e54263761dd906fb4b42dfcc0;hpb=383a295ac7dc9752055fe92388ad6e102a41dc69;p=u%2Fmrichter%2FAliRoot.git diff --git a/ANALYSIS/AliMultiEventInputHandler.h b/ANALYSIS/AliMultiEventInputHandler.h index 76512c35a28..50add9ef86e 100644 --- a/ANALYSIS/AliMultiEventInputHandler.h +++ b/ANALYSIS/AliMultiEventInputHandler.h @@ -32,12 +32,15 @@ class AliMultiEventInputHandler : public AliInputEventHandler { virtual AliVEvent *GetEvent() const {return GetLatestEvent();} virtual AliVEvent *GetEvent(Int_t iev) const; AliVEvent *GetLatestEvent() const {return fEventBuffer[fIndex];} + Int_t GetFormat() { return fFormat ;} + void EventSkipped() {fEventSkipped = kTRUE;} // From the interface virtual Bool_t Init(Option_t* /*opt*/) {return kTRUE;} virtual Bool_t Init(TTree* tree, Option_t* /*opt*/); virtual Bool_t FinishEvent(); virtual Bool_t BeginEvent(Long64_t /*entry*/); - + virtual Bool_t Notify() { return AliInputEventHandler::Notify();} + virtual Bool_t Notify(const char */*path*/); private: AliMultiEventInputHandler(const AliMultiEventInputHandler& handler); AliMultiEventInputHandler& operator=(const AliMultiEventInputHandler& handler); @@ -47,8 +50,11 @@ class AliMultiEventInputHandler : public AliInputEventHandler { Int_t fNBuffered; // Number of events actually buffered Int_t fIndex; // Pointer to most recent event Int_t fCurrentBin; // Current bin from the pool + Int_t fCurrentEvt; // Current event + Bool_t fInit; // Current event AliVEventPool* fEventPool; // Pointer to the pool - AliVEvent** fEventBuffer; // The event buffer + AliVEvent** fEventBuffer; //! The event buffer + Bool_t fEventSkipped; // User requires event to be skip ClassDef(AliMultiEventInputHandler, 1); };