virtual ~AliAODHandler();
virtual void SetOutputFileName(char* fname) {fName = fname;}
virtual char* GetOutputFileName() {return fName;}
- virtual Bool_t InitIO(Option_t* option);
- virtual Bool_t BeginEvent(Long64_t /*entry*/) {return kTRUE;}
- // needed to prevent warning of hidden virtual Bool_t TObject::Notify()
+ virtual Bool_t Init(Option_t* option);
+ virtual Bool_t Init(TTree* /*tree*/, Option_t* /*option*/) {return kTRUE;}
+ virtual Bool_t BeginEvent(Long64_t /*entry*/) {return kTRUE;}
virtual Bool_t Notify() { return AliVEventHandler::Notify(); };
virtual Bool_t Notify(const char * /* path */) {return kTRUE;}
virtual Bool_t FinishEvent();
void CreateTree(Int_t flag);
void FillTree();
void AddAODtoTreeUserInfo();
+ void AddBranch(const char* bname, const char* cname, TObject* addobj);
//
void SetInputTree(TTree* /*tree*/) {;}
private: