1 #ifndef PandaTree_Framework_ArrayBase_h 2 #define PandaTree_Framework_ArrayBase_h 4 #include "ContainerBase.h" 28 UInt_t size()
const final {
return getData().nmax(); }
35 UInt_t addInput_(TTree&);
Base class for fixed-size containers.
Definition: ArrayBase.h:13
void book(TTree &, utils::BranchList const &blist={"*"}) final
Book new branches bound to this object on the tree.
Definition: ArrayBase.cc:33
List of branch names.
Definition: IOUtils.h:64
void setStatus(TTree &, utils::BranchList const &blist) final
Set status of branches to true (matching branch) or false (vetoed branch)
Definition: ArrayBase.cc:4
void init() final
Reset the object state.
Definition: ArrayBase.cc:39
Base class for all containers.
Definition: ContainerBase.h:18
utils::BranchList getBranchNames(Bool_t fullName=kTRUE, Bool_t=kFALSE) const final
Get the full list of branch names.
Definition: ArrayBase.cc:16
UInt_t setAddress(TTree &, utils::BranchList const &blist={"*"}, Bool_t setStatus=kTRUE) final
Bind the tree branches to the elements of this object.
Definition: ArrayBase.cc:25
Base class for elements of containers.
Definition: Element.h:32
utils::BranchList getStatus(TTree &) const final
Get status of branches in the tree.
Definition: ArrayBase.cc:10