ROOT   Reference Guide

Definition at line 55 of file BracketAdapter.h.

Public Member Functions

BracketAdapterWithMask (double payload, const RooSpan< const double > &batch) noexcept
Construct adapter from a fallback value and a batch of values. More...

Construct adapter from a batch of values. More...

bool isBatch () const noexcept

double operator[] (std::size_t i) const noexcept

Private Attributes

const bool _isBatch

const double *__restrict const _pointer

#include <BracketAdapter.h>

Constructor & Destructor Documentation

inlinenoexcept

Construct adapter from a fallback value and a batch of values.

• If batch.size() == 0, always return payload.
• Else, return batch[i].

Definition at line 60 of file BracketAdapter.h.

inline

Construct adapter from a batch of values.

• If batch.size() == 1, always return the value at batch[0].
• Else, return batch[i].

Definition at line 71 of file BracketAdapter.h.

inlinenoexcept

Definition at line 80 of file BracketAdapter.h.

◆ isBatch()

inlinenoexcept

Definition at line 94 of file BracketAdapter.h.

delete

◆ operator[]()

 double RooBatchCompute::BracketAdapterWithMask::operator[] ( std::size_t i ) const
inlinenoexcept

Definition at line 90 of file BracketAdapter.h.

◆ _isBatch

private

Definition at line 99 of file BracketAdapter.h.

private

Definition at line 102 of file BracketAdapter.h.

private

Definition at line 100 of file BracketAdapter.h.

◆ _pointer

private

Definition at line 101 of file BracketAdapter.h.

The documentation for this class was generated from the following file: