Information about friend trees of a certain TTree or TChain object.
Definition at line 42 of file InternalTreeUtils.hxx.
Public Member Functions | |
void | AddFriend (const std::string &treeName, const std::string &fileNameGlob, const std::string &alias="") |
Add information of a single friend. | |
void | AddFriend (const std::string &treeName, const std::vector< std::string > &fileNameGlobs, const std::string &alias="") |
Add information of a single friend. | |
void | AddFriend (const std::vector< std::pair< std::string, std::string > > &treeAndFileNameGlobs, const std::string &alias="") |
Add information of a single friend. | |
Public Attributes | |
std::vector< std::vector< std::string > > | fFriendChainSubNames |
Names of the subtrees of a friend TChain. | |
std::vector< std::vector< std::string > > | fFriendFileNames |
Names of the files where each friend is stored. | |
std::vector< NameAlias > | fFriendNames |
Pairs of names and aliases of friend trees/chains. | |
#include <ROOT/InternalTreeUtils.hxx>
void ROOT::Internal::TreeUtils::RFriendInfo::AddFriend | ( | const std::string & | treeName, |
const std::string & | fileNameGlob, | ||
const std::string & | alias = "" |
||
) |
Add information of a single friend.
[in] | treeName | Name of the tree. |
[in] | fileNameGlob | Path to the file. Refer to TChain::Add for globbing rules. |
[in] | alias | Alias for this friend. |
Definition at line 30 of file InternalTreeUtils.cxx.
void ROOT::Internal::TreeUtils::RFriendInfo::AddFriend | ( | const std::string & | treeName, |
const std::vector< std::string > & | fileNameGlobs, | ||
const std::string & | alias = "" |
||
) |
Add information of a single friend.
[in] | treeName | Name of the tree. |
[in] | fileNameGlobs | Paths to the files. Refer to TChain::Add for globbing rules. |
[in] | alias | Alias for this friend. |
Definition at line 43 of file InternalTreeUtils.cxx.
void ROOT::Internal::TreeUtils::RFriendInfo::AddFriend | ( | const std::vector< std::pair< std::string, std::string > > & | treeAndFileNameGlobs, |
const std::string & | alias = "" |
||
) |
Add information of a single friend.
[in] | treeAndFileNameGlobs | Pairs of (treename, filename). Refer to TChain::Add for globbing rules. |
[in] | alias | Alias for this friend. |
Definition at line 56 of file InternalTreeUtils.cxx.
std::vector<std::vector<std::string> > ROOT::Internal::TreeUtils::RFriendInfo::fFriendChainSubNames |
Names of the subtrees of a friend TChain.
fFriendChainSubNames[i] is the list of names of the trees that make a friend TChain whose information is stored at fFriendNames[i] and fFriendFileNames[i]. If instead the friend tree at position i
is a TTree, fFriendChainSubNames[i] will be just a vector with a single empty string.
Definition at line 57 of file InternalTreeUtils.hxx.
std::vector<std::vector<std::string> > ROOT::Internal::TreeUtils::RFriendInfo::fFriendFileNames |
Names of the files where each friend is stored.
fFriendFileNames[i] is the list of files for friend with name fFriendNames[i].
Definition at line 49 of file InternalTreeUtils.hxx.
std::vector<NameAlias> ROOT::Internal::TreeUtils::RFriendInfo::fFriendNames |
Pairs of names and aliases of friend trees/chains.
Definition at line 44 of file InternalTreeUtils.hxx.