Information about friend trees of a certain TTree or TChain object.
Definition at line 34 of file RFriendInfo.hxx.
Public Member Functions | |
void | AddFriend (const std::string &treeName, const std::string &fileNameGlob, const std::string &alias="") |
Add information of a single friend. More... | |
void | AddFriend (const std::string &treeName, const std::vector< std::string > &fileNameGlobs, const std::string &alias="") |
Add information of a single friend. More... | |
void | AddFriend (const std::vector< std::pair< std::string, std::string > > &treeAndFileNameGlobs, const std::string &alias="") |
Add information of a single friend. More... | |
Public Attributes | |
std::vector< std::vector< std::string > > | fFriendChainSubNames |
Names of the subtrees of a friend TChain. More... | |
std::vector< std::vector< std::string > > | fFriendFileNames |
Names of the files where each friend is stored. More... | |
std::vector< std::pair< std::string, std::string > > | fFriendNames |
Pairs of names and aliases of friend trees/chains. More... | |
#include <ROOT/RFriendInfo.hxx>
void ROOT::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 21 of file RFriendInfo.cxx.
void ROOT::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 34 of file RFriendInfo.cxx.
void ROOT::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 47 of file RFriendInfo.cxx.
std::vector<std::vector<std::string> > ROOT::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 an empty vector.
Definition at line 50 of file RFriendInfo.hxx.
std::vector<std::vector<std::string> > ROOT::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 42 of file RFriendInfo.hxx.
std::vector<std::pair<std::string, std::string> > ROOT::TreeUtils::RFriendInfo::fFriendNames |
Pairs of names and aliases of friend trees/chains.
Definition at line 37 of file RFriendInfo.hxx.