18#ifndef ROOT_RFRIENDINFO_H
19#define ROOT_RFRIENDINFO_H
78 RFriendInfo(std::vector<std::pair<std::string, std::string>> friendNames,
79 std::vector<std::vector<std::string>> friendFileNames,
80 std::vector<std::vector<std::string>> friendChainSubNames,
81 std::vector<std::vector<Long64_t>> nEntriesPerTreePerFriend,
82 std::vector<std::unique_ptr<TVirtualIndex>> treeIndexInfos);
84 void AddFriend(
const std::string &treeName,
const std::string &fileNameGlob,
const std::string &alias =
"",
87 void AddFriend(
const std::string &treeName,
const std::vector<std::string> &fileNameGlobs,
88 const std::string &alias =
"",
const std::vector<Long64_t> &nEntriesVec = {},
91 void AddFriend(
const std::vector<std::pair<std::string, std::string>> &treeAndFileNameGlobs,
92 const std::string &alias =
"",
const std::vector<Long64_t> &nEntriesVec = {},
A TTree represents a columnar dataset.
static constexpr Long64_t kMaxEntries
Abstract interface for Tree Index.
Different standalone functions to work with trees and tuples, not reqiuired to be a member of any cla...
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.
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.