26void assignSpan(std::span<T> &to, std::span<T>
const &from)
37 std::span<const double> out;
40 auto var =
static_cast<RooRealVar const *
>(arg);
41 assignSpan(out, {&var->_value, 1});
58 assignSpan(out, {buffer, 1});
104 throw std::runtime_error(
"You can only use setOutputWithOffset() in reducer nodes!");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
The Kahan summation is a compensated summation algorithm, which significantly reduces numerical error...
Common abstract base class for objects that represent a value and a "shape" in RooFit.
virtual bool isReducerNode() const
bool hasDataToken() const
std::size_t dataToken() const
Returns the token for retrieving results in the BatchMode. For internal use only.
Minimal configuration struct to steer the evaluation of a single node with the RooBatchCompute librar...
std::vector< RooBatchCompute::Config > _cfgs
std::span< const double > at(RooAbsArg const *arg, RooAbsArg const *caller=nullptr)
bool _enableVectorBuffers
RooBatchCompute::Config config(RooAbsArg const *arg) const
void setConfig(RooAbsArg const *arg, RooBatchCompute::Config const &config)
std::vector< std::span< const double > > _ctx
void setOutputWithOffset(RooAbsArg const *arg, ROOT::Math::KahanSum< double > val, ROOT::Math::KahanSum< double > const &offset)
Sets the output value with an offset.
std::vector< std::vector< double > > _buffers
void resize(std::size_t n)
Variable that can be changed from the outside.
constexpr std::size_t bufferSize
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...