Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::Detail::DataMap Class Reference

Definition at line 83 of file DataMap.h.

Public Member Functions

std::span< const doubleat (RooAbsArg const *arg, RooAbsArg const *caller=nullptr)
 
std::span< const doubleat (RooAbsArg const *arg, RooAbsArg const *caller=nullptr) const
 
template<class T >
std::span< const doubleat (RooTemplateProxy< T > const &proxy)
 
template<class T >
std::span< const doubleat (RooTemplateProxy< T > const &proxy) const
 
RooBatchCompute::Config config (RooAbsArg const *arg) const
 
void resize (std::size_t n)
 
void set (RooAbsArg const *arg, std::span< const double > const &span)
 
void setConfig (RooAbsArg const *arg, RooBatchCompute::Config const &config)
 
auto size () const
 

Private Attributes

std::vector< RooBatchCompute::Config_cfgs
 
std::vector< std::span< const double > > _dataMap
 

#include <RooFit/Detail/DataMap.h>

Member Function Documentation

◆ at() [1/4]

std::span< const double > RooFit::Detail::DataMap::at ( RooAbsArg const *  arg,
RooAbsArg const *  caller = nullptr 
)

Definition at line 22 of file DataMap.cxx.

◆ at() [2/4]

std::span< const double > RooFit::Detail::DataMap::at ( RooAbsArg const *  arg,
RooAbsArg const *  caller = nullptr 
) const
inline

Definition at line 103 of file DataMap.h.

◆ at() [3/4]

template<class T >
std::span< const double > RooFit::Detail::DataMap::at ( RooTemplateProxy< T > const &  proxy)
inline

Definition at line 109 of file DataMap.h.

◆ at() [4/4]

template<class T >
std::span< const double > RooFit::Detail::DataMap::at ( RooTemplateProxy< T > const &  proxy) const
inline

Definition at line 115 of file DataMap.h.

◆ config()

RooBatchCompute::Config RooFit::Detail::DataMap::config ( RooAbsArg const *  arg) const

Definition at line 40 of file DataMap.cxx.

◆ resize()

void RooFit::Detail::DataMap::resize ( std::size_t  n)

Definition at line 49 of file DataMap.cxx.

◆ set()

void RooFit::Detail::DataMap::set ( RooAbsArg const *  arg,
std::span< const double > const &  span 
)
inline

Definition at line 91 of file DataMap.h.

◆ setConfig()

void RooFit::Detail::DataMap::setConfig ( RooAbsArg const *  arg,
RooBatchCompute::Config const &  config 
)

Definition at line 32 of file DataMap.cxx.

◆ size()

auto RooFit::Detail::DataMap::size ( ) const
inline

Definition at line 85 of file DataMap.h.

Member Data Documentation

◆ _cfgs

std::vector<RooBatchCompute::Config> RooFit::Detail::DataMap::_cfgs
private

Definition at line 124 of file DataMap.h.

◆ _dataMap

std::vector<std::span<const double> > RooFit::Detail::DataMap::_dataMap
private

Definition at line 123 of file DataMap.h.

Libraries for RooFit::Detail::DataMap:

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