- virtual void SetInputTree(TTree* tree) {fTree = tree;}
- // Getters
- virtual AliVEvent *GetEvent() const {return fEvent;}
- virtual TTree *GetChain() const {return fTree;}
+ virtual void SetInputTree(TTree* tree) {fTree = tree;}
+ virtual void SetEventSelection(AliVCuts* cuts) {fEventCuts = cuts;}
+ //
+ void SetInactiveBranches(const char* branches) {fBranches = branches;}
+ void SetActiveBranches (const char* branches) {fBranchesOn = branches;}
+ // Getters
+ virtual AliVEvent *GetEvent() const {return 0;}
+ virtual AliRunTag *GetRunTag() const {return 0;}
+ virtual Option_t *GetAnalysisType() const {return 0;}
+ virtual TTree *GetTree( ) const {return fTree;}
+ virtual AliVCuts *GetEventSelection() const {return fEventCuts;}
+ virtual Long64_t GetReadEntry() const;
+ virtual Bool_t NewEvent()
+ {Bool_t ne = fNewEvent; fNewEvent = kFALSE; return ne;}
+ virtual Bool_t IsEventSelected()
+ {return fIsSelected;}
+ protected:
+ void SwitchOffBranches() const;
+ void SwitchOnBranches() const;
+ private:
+ AliInputEventHandler(const AliInputEventHandler& handler);
+ AliInputEventHandler& operator=(const AliInputEventHandler& handler);