Definition at line 20 of file SharedOffset.h.
#include <RooFit/TestStatistics/SharedOffset.h>
◆ OffsetVec
◆ SharedOffset()
SharedOffset::SharedOffset |
( |
| ) |
|
◆ clear()
void SharedOffset::clear |
( |
| ) |
|
◆ offsets()
◆ offsets_save()
◆ swap()
void SharedOffset::swap |
( |
const std::vector< std::size_t > & |
component_keys | ) |
|
When calculating an unbinned likelihood with square weights applied, a different offset is necessary.
Similar situations may ask for a separate offset as well. This function switches between the two sets of offset values for the given component keys.
- Note
- Currently we do not recalculate the offset value, so in practice swapped offsets are zero.
Definition at line 28 of file SharedOffset.cxx.
◆ offsets_
std::shared_ptr<OffsetVec> SharedOffset::offsets_ |
|
private |
◆ offsets_save_
std::shared_ptr<OffsetVec> SharedOffset::offsets_save_ |
|
private |
The documentation for this class was generated from the following files: