18#ifndef ROOT_RFRIENDINFO_H
19#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<std::int64_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 =
"",
84 std::int64_t nEntries = std::numeric_limits<std::int64_t>::max(),
TVirtualIndex *indexInfo =
nullptr);
86 void AddFriend(
const std::string &treeName,
const std::vector<std::string> &fileNameGlobs,
87 const std::string &alias =
"",
const std::vector<std::int64_t> &nEntriesVec = {},
90 void AddFriend(
const std::vector<std::pair<std::string, std::string>> &treeAndFileNameGlobs,
91 const std::string &alias =
"",
const std::vector<std::int64_t> &nEntriesVec = {},
A TTree represents a columnar dataset.
Abstract interface for Tree Index.
Different standalone functions to work with trees and tuples, not reqiuired to be a member of any cla...
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
Information about friend trees of a certain TTree or TChain object.
void AddFriend(const std::string &treeName, const std::string &fileNameGlob, const std::string &alias="", std::int64_t nEntries=std::numeric_limits< std::int64_t >::max(), TVirtualIndex *indexInfo=nullptr)
Add information of a single friend.
RFriendInfo(RFriendInfo &&)=default
std::vector< std::pair< std::string, std::string > > fFriendNames
Pairs of names and aliases of each friend tree/chain.
std::vector< std::vector< std::int64_t > > fNEntriesPerTreePerFriend
Number of entries contained in each tree of each friend.
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.
std::vector< std::vector< std::string > > fFriendFileNames
Names of the files where each friend is stored.