Skip to content

Commit 1f44cbe

Browse files
eguirauddpiparo
authored andcommitted
[TDF] Rename GetUsedBranchNames -> FindUsedColumnNames. Complete ROOT-8879.
1 parent 8e9c8c6 commit 1f44cbe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tree/treeplayer/inc/ROOT/TDFInterface.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void CallBuildAndBook(PrevNodeType &prevNode, const ColumnNames_t &bl, unsigned
113113
delete rOnHeap;
114114
}
115115

116-
std::vector<std::string> GetUsedBranchesNames(const std::string, TObjArray *, const std::vector<std::string> &);
116+
std::vector<std::string> FindUsedColumnNames(const std::string, TObjArray *, const std::vector<std::string> &);
117117

118118
using TmpBranchBasePtr_t = std::shared_ptr<TCustomColumnBase>;
119119

tree/treeplayer/src/TDFInterface.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ namespace Internal {
3333
namespace TDF {
3434
// Match expression against names of branches passed as parameter
3535
// Return vector of names of the branches used in the expression
36-
std::vector<std::string> GetUsedBranchesNames(const std::string expression, TObjArray *branches,
37-
const std::vector<std::string> &tmpBranches)
36+
std::vector<std::string> FindUsedColumnNames(const std::string expression, TObjArray *branches,
37+
const std::vector<std::string> &tmpBranches)
3838
{
3939
// Check what branches and temporary branches are used in the expression
4040
// To help matching the regex
@@ -68,7 +68,7 @@ Long_t JitTransformation(void *thisPtr, const std::string &methodName, const std
6868
const std::vector<std::string> &tmpBranches,
6969
const std::map<std::string, TmpBranchBasePtr_t> &tmpBookedBranches, TTree *tree)
7070
{
71-
auto usedBranches = GetUsedBranchesNames(expression, branches, tmpBranches);
71+
auto usedBranches = FindUsedColumnNames(expression, branches, tmpBranches);
7272
auto exprNeedsVariables = !usedBranches.empty();
7373

7474
// Move to the preparation of the jitting

0 commit comments

Comments
 (0)