Definition at line 55 of file BracketAdapters.h.
#include <BracketAdapters.h>
◆ BracketAdapterWithMask() [1/3]
RooBatchCompute::BracketAdapterWithMask::BracketAdapterWithMask |
( |
double |
payload, |
|
|
const RooSpan< const double > & |
batch |
|
) |
| |
|
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 BracketAdapters.h.
◆ BracketAdapterWithMask() [2/3]
RooBatchCompute::BracketAdapterWithMask::BracketAdapterWithMask |
( |
RooSpan< const double > |
batch | ) |
|
|
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 BracketAdapters.h.
◆ BracketAdapterWithMask() [3/3]
◆ isBatch()
bool RooBatchCompute::BracketAdapterWithMask::isBatch |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator=()
◆ operator[]()
double RooBatchCompute::BracketAdapterWithMask::operator[] |
( |
std::size_t |
i | ) |
const |
|
inlinenoexcept |
◆ _isBatch
const bool RooBatchCompute::BracketAdapterWithMask::_isBatch |
|
private |
◆ _mask
const size_t RooBatchCompute::BracketAdapterWithMask::_mask |
|
private |
◆ _payload
const double RooBatchCompute::BracketAdapterWithMask::_payload |
|
private |
◆ _pointer
const double* __restrict const RooBatchCompute::BracketAdapterWithMask::_pointer |
|
private |
roofit/batchcompute/inc/BracketAdapters.h