Skip to content
Snippets Groups Projects
Commit 340d809c authored by Jonas Rembser's avatar Jonas Rembser
Browse files

[RF] Vectorize `RooAbsBinning` interface for bin index lookups

The `RooAbsBinning` interface for bin index lookups was changed to
enable vectorized implementations. Instead of having the override
`RooAbsBinning::binNumber()`, the binning implementations now have to
override the `RooAbsBinning::binNumbers()` function to evaluate the bin
indices of multiple values in one function call.

The interface of `RooAbsBinning::binNumbers()` is designed to facilitate
the accregation of bin indices over multiple dimensions.

The former `RooAbsBinning::binNumber()` method is now implement in terms
of the vectorized version, such that we automatically get wide test
coverage. It was verified that this doesn't come with a performance
overhead.

This will greatly facilitate the vectorization of the RooHistPdf and
RooHistFunc later.
parent 907f3ce4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment