17#ifndef ROOT_RFRIENDINFO_H
18#define ROOT_RFRIENDINFO_H
77 RFriendInfo(std::vector<std::pair<std::string, std::string>> friendNames,
78 std::vector<std::vector<std::string>> friendFileNames,
79 std::vector<std::vector<std::string>> friendChainSubNames,
80 std::vector<std::vector<Long64_t>> nEntriesPerTreePerFriend,
81 std::vector<std::unique_ptr<TVirtualIndex>> treeIndexInfos);
83 void AddFriend(
const std::string &treeName,
const std::string &fileNameGlob,
const std::string &alias =
"",
86 void AddFriend(
const std::string &treeName,
const std::vector<std::string> &fileNameGlobs,
87 const std::string &alias =
"",
const std::vector<Long64_t> &nEntriesVec = {},
90 void AddFriend(
const std::vector<std::pair<std::string, std::string>> &treeAndFileNameGlobs,
91 const std::string &alias =
"",
const std::vector<Long64_t> &nEntriesVec = {},
long long Long64_t
Portable signed long integer 8 bytes.
A TTree represents a columnar dataset.
static constexpr Long64_t kMaxEntries
Used as the max value for any TTree range operation.
Abstract interface for Tree Index.
RFriendInfo(RFriendInfo &&)=default
std::vector< std::pair< std::string, std::string > > fFriendNames
Pairs of names and aliases of each friend tree/chain.
RFriendInfo & operator=(RFriendInfo &&)=default
RFriendInfo & operator=(const RFriendInfo &)
std::vector< std::vector< std::string > > fFriendChainSubNames
Names of the subtrees of a friend TChain.
std::vector< std::unique_ptr< TVirtualIndex > > fTreeIndexInfos
Information on the friend's TTreeIndexes.
void AddFriend(const std::string &treeName, const std::string &fileNameGlob, const std::string &alias="", Long64_t nEntries=TTree::kMaxEntries, TVirtualIndex *indexInfo=nullptr)
Add information of a single friend.
std::vector< std::vector< std::string > > fFriendFileNames
Names of the files where each friend is stored.
std::vector< std::vector< Long64_t > > fNEntriesPerTreePerFriend
Number of entries contained in each tree of each friend.