PandaTree
Public Member Functions | List of all members
panda::utils::BranchArrayUpdator Class Reference

Automated branch list update for ReaderObjects. More...

#include <IOUtils.h>

Inheritance diagram for panda::utils::BranchArrayUpdator:

Public Member Functions

 BranchArrayUpdator (ReaderObject &, TTree &)
 
char const * GetName () const override
 
Bool_t Notify () override
 
ReaderObject const & getObject () const
 

Detailed Description

Automated branch list update for ReaderObjects.

This class serves two purposes:

  1. When reading from a TChain, use the ROOT built-in Notify() mechanism to update the list of branches the ReaderObject holds.
  2. When the tree is deleted, make use of the fact that contents of the TTree::fUserInfo container is automatically deleted (if IsOnHeap is true) to call unlink() on the ReaderObject.

The documentation for this class was generated from the following files: