18#ifndef ROOT_INTERNAL_TREEUTILS_H
19#define ROOT_INTERNAL_TREEUTILS_H
36using NameAlias = std::pair<std::string, std::string>;
59 void AddFriend(
const std::string &treeName,
const std::string &fileNameGlob,
const std::string &alias =
"");
62 AddFriend(
const std::string &treeName,
const std::vector<std::string> &fileNameGlobs,
const std::string &alias =
"");
64 void AddFriend(
const std::vector<std::pair<std::string, std::string>> &treeAndFileNameGlobs,
65 const std::string &alias =
"");
A TTree represents a columnar dataset.
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::pair< std::string, std::string > NameAlias
A pair of name and alias of a TTree's friend tree.
RFriendInfo GetFriendInfo(const TTree &tree)
std::vector< std::string > GetFileNamesFromTree(const TTree &tree)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Information about friend trees of a certain TTree or TChain object.
std::vector< NameAlias > fFriendNames
Pairs of names and aliases of friend trees/chains.
std::vector< std::vector< std::string > > fFriendFileNames
Names of the files where each friend is stored.
void AddFriend(const std::string &treeName, const std::string &fileNameGlob, const std::string &alias="")
Add information of a single friend.
std::vector< std::vector< std::string > > fFriendChainSubNames
Names of the subtrees of a friend TChain.