Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions roofit/roofitcore/inc/RooAbsReal.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ class RooAbsReal : public RooAbsArg {
return result;
}

bool matchArgs(const RooArgSet &allDeps, RooArgSet &analDeps, const RooArgProxy &a) const;

bool matchArgs(const RooArgSet& allDeps, RooArgSet& numDeps,
const RooArgSet& set) const ;

Expand Down
11 changes: 11 additions & 0 deletions roofit/roofitcore/src/RooAbsReal.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3122,6 +3122,17 @@ RooFit::OwningPtr<RooAbsArg> RooAbsReal::createFundamental(const char* newname)
return RooFit::makeOwningPtr<RooAbsArg>(std::move(fund));
}


bool RooAbsReal::matchArgs(const RooArgSet &allDeps, RooArgSet &analDeps, const RooArgProxy &a) const
{
TList nameList;
nameList.Add(new TObjString(a.absArg()->GetName()));
bool result = matchArgsByName(allDeps, analDeps, nameList);
nameList.Delete();
return result;
}


////////////////////////////////////////////////////////////////////////////////
/// Utility function for use in getAnalyticalIntegral(). If the
/// contents of 'refset' occur in set 'allDeps' then the arguments
Expand Down
Loading