virtual Bool_t FinishEvent();
AliESDEvent *GetEvent() const {return fEvent;}
Option_t *GetAnalysisType() const {return fAnalysisType;}
- //
- void SetInactiveBranches(const char* branches) {fBranches = branches;}
- void SetActiveBranches (const char* branches) {fBranchesOn = branches;}
+ Option_t *GetDataType() const;
+ // HLT analysis
+ AliESDEvent *GetHLTEvent() const {return fHLTEvent;}
+ TTree *GetHLTTree() const {return fHLTTree;}
+ void SetReadHLT() {fUseHLT = kTRUE;}
// Tag analysis
void SetReadTags() {fUseTags = kTRUE;}
AliRunTag *GetRunTag() const {return fRunTag;}
private:
- void SwitchOffBranches() const;
- void SwitchOnBranches() const;
AliESDInputHandler(const AliESDInputHandler& handler);
AliESDInputHandler& operator=(const AliESDInputHandler& handler);
protected:
// ESD event
AliESDEvent *fEvent; //! Pointer to the event
- TString fBranches; // List of branches to be switched off (separated by space)
- TString fBranchesOn; // List of branches to be switched on (separated by space)
Option_t *fAnalysisType; //! local, proof, grid
- Int_t fNEvents; //! Number of events in the current tree
-
+ Int_t fNEvents; //! Number of events in the current tree
+ // HLT event
+ AliESDEvent *fHLTEvent; //! Pointer to the HLT Event (if present)
+ TTree *fHLTTree; //! Pointer to the HLT Event (if present)
+ Bool_t fUseHLT; // Flag to access HLT Events
// ESD Tags (optional)
Bool_t fUseTags; // Flag to use tags
TChain *fChainT; //! File with event tags
TTree *fTreeT; //! Tree of tags
AliRunTag *fRunTag; //! Pointer to the run tag
- ClassDef(AliESDInputHandler, 3);
+ ClassDef(AliESDInputHandler, 4);
};
#endif