-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RF] Make RooAbsReal::getValues use the batch mode via RooFitDriver
The `RooAbsReal::getValues` has already been established as the entry point for evaluating RooFit objects with the batch mode and it should not be broken. In 6.26, the `getValues` function was broken to fall back on the scalar mode all the time, because the `evaluateSpan` funtions it used got replaced by `computeBatch`. In this commit, the desired behavior of using the BatchMoe is restored by using the RooFitDriver. To that end, a new constructor has been added to the RooFitDriver that takes a `RooBatchCompute::RunContext` directly. The override of `getValues` in RooAbsPdf was also removed now, because it's the job of the RooFitDriver to treat pdfs correctly.
- Loading branch information
1 parent
c34dc26
commit ab474f7
Showing
8 changed files
with
57 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters