Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[TDF] Use clearer name for function parameter
  • Loading branch information
eguiraud committed Aug 17, 2017
commit 9d1950f991a1ead595136c225d7e3514f0e936ea
2 changes: 1 addition & 1 deletion tree/treeplayer/inc/ROOT/TDFInterface.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ std::vector<std::string> FindUsedColumnNames(const std::string, TObjArray *, con

using TmpBranchBasePtr_t = std::shared_ptr<TCustomColumnBase>;

Long_t JitTransformation(void *thisPtr, const std::string &methodName, const std::string &nodeTypeName,
Long_t JitTransformation(void *thisPtr, const std::string &methodName, const std::string &interfaceTypeName,
const std::string &name, const std::string &expression, TObjArray *branches,
const std::vector<std::string> &tmpBranches,
const std::map<std::string, TmpBranchBasePtr_t> &tmpBookedBranches, TTree *tree);
Expand Down
4 changes: 2 additions & 2 deletions tree/treeplayer/src/TDFInterface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ std::vector<std::string> FindUsedColumnNames(const std::string expression, TObjA

// Jit a string filter or a string temporary column, call this->Define or this->Filter as needed
// Return pointer to the new functional chain node returned by the call, cast to Long_t
Long_t JitTransformation(void *thisPtr, const std::string &methodName, const std::string &nodeTypeName,
Long_t JitTransformation(void *thisPtr, const std::string &methodName, const std::string &interfaceTypeName,
const std::string &name, const std::string &expression, TObjArray *branches,
const std::vector<std::string> &tmpBranches,
const std::map<std::string, TmpBranchBasePtr_t> &tmpBookedBranches, TTree *tree)
Expand Down Expand Up @@ -133,7 +133,7 @@ Long_t JitTransformation(void *thisPtr, const std::string &methodName, const std

// Here we have two cases: filter and column
ss.str("");
ss << "((" << nodeTypeName << "*)" << thisPtr << ")->" << methodName << "(";
ss << "((" << interfaceTypeName << "*)" << thisPtr << ")->" << methodName << "(";
if (methodName == "Define") {
ss << "\"" << name << "\", ";
}
Expand Down