18#ifndef ROOT_INTERNAL_TREEUTILS_H
19#define ROOT_INTERNAL_TREEUTILS_H
78std::unique_ptr<TChain>
MakeChainForMT(
const std::string &
name =
"",
const std::string &title =
"");
#define ClassDef(name, id)
void RegisterChain(TChain *c)
RNoCleanupNotifierHelper fNoCleanupNotifierHelper
void RegisterChain(TChain &c)
A chain is a collection of files containing TTree objects.
virtual TTree * GetTree() const
void PrependLink(Notifier ¬ifier)
Links multiple listeners to be notified on TChain file changes.
A TTree represents a columnar dataset.
virtual TObjArray * GetListOfBranches()
Different standalone functions to work with trees and tuples, not reqiuired to be a member of any cla...
std::vector< std::string > GetTreeFullPaths(const TTree &tree)
std::vector< std::string > GetTopLevelBranchNames(TTree &t)
Get all the top-level branches names, including the ones of the friend trees.
std::unique_ptr< TChain > MakeChainForMT(const std::string &name="", const std::string &title="")
Create a TChain object with options that avoid common causes of thread contention.
std::vector< std::unique_ptr< TChain > > MakeFriends(const ROOT::TreeUtils::RFriendInfo &finfo)
Create friends from the main TTree.
ROOT::TreeUtils::RFriendInfo GetFriendInfo(const TTree &tree, bool retrieveEntries=false)
void ClearMustCleanupBits(TObjArray &arr)
Reset the kMustCleanup bit of a TObjArray of TBranch objects (e.g.
std::vector< std::string > GetFileNamesFromTree(const TTree &tree)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
Information about friend trees of a certain TTree or TChain object.