21RDatasetSpec::REntryRange::REntryRange() {}
23RDatasetSpec::REntryRange::REntryRange(
Long64_t end) : fEnd(end) {}
25RDatasetSpec::REntryRange::REntryRange(
Long64_t begin,
Long64_t end) : fBegin(begin), fEnd(end)
28 throw std::logic_error(
"The starting entry cannot be larger than the ending entry in the "
29 "creation of a dataset specification.");
45RDatasetSpec::RDatasetSpec(
const std::string &treeName,
const std::string &fileNameGlob,
const REntryRange &entryRange)
46 : fTreeNames({treeName}), fFileNameGlobs({fileNameGlob}), fEntryRange(entryRange)
57RDatasetSpec::RDatasetSpec(
const std::string &treeName,
const std::vector<std::string> &fileNameGlobs,
58 const REntryRange &entryRange)
59 : fTreeNames({treeName}), fFileNameGlobs(fileNameGlobs), fEntryRange(entryRange)
75RDatasetSpec::RDatasetSpec(
const std::vector<std::pair<std::string, std::string>> &treeAndFileNameGlobs,
76 const REntryRange &entryRange)
77 : fEntryRange(entryRange)
79 fTreeNames.reserve(treeAndFileNameGlobs.size());
80 fFileNameGlobs.reserve(treeAndFileNameGlobs.size());
81 for (
auto &p : treeAndFileNameGlobs) {
82 fTreeNames.emplace_back(p.first);
83 fFileNameGlobs.emplace_back(p.second);
94void RDatasetSpec::AddFriend(
const std::string &treeName,
const std::string &fileNameGlob,
const std::string &alias)
96 fFriendInfo.AddFriend(treeName, fileNameGlob, alias);
106void RDatasetSpec::AddFriend(
const std::string &treeName,
const std::vector<std::string> &fileNameGlobs,
107 const std::string &alias)
109 fFriendInfo.AddFriend(treeName, fileNameGlobs, alias);
125void RDatasetSpec::AddFriend(
const std::vector<std::pair<std::string, std::string>> &treeAndFileNameGlobs,
126 const std::string &alias)
128 fFriendInfo.AddFriend(treeAndFileNameGlobs, alias);
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...