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 =
"");
81std::vector<std::string>
ExpandGlob(
const std::string &glob);
#define ClassDefOverride(name, id)
void RegisterChain(TChain *c)
RNoCleanupNotifierHelper fNoCleanupNotifierHelper
void RegisterChain(TChain &c)
A chain is a collection of files containing TTree objects.
TTree * GetTree() const override
void PrependLink(Chain &chain)
Set this link as the head of the chain's list of notify subscribers.
A node in a doubly linked list of subscribers to TChain notifications.
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)
std::vector< std::string > ExpandGlob(const std::string &glob)
Expands input glob into a collection of full paths to files.
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.