15#ifndef RooFit_RooEvaluatorWrapper_h
16#define RooFit_RooEvaluatorWrapper_h
36class RooEvaluatorWrapper final :
public RooAbsReal {
39 RooAbsPdf const *simPdf,
bool takeGlobalObservablesFromData);
41 RooEvaluatorWrapper(
const RooEvaluatorWrapper &other,
const char *
name =
nullptr);
43 TObject *clone(
const char *newname)
const override {
return new RooEvaluatorWrapper(*
this, newname); }
45 double defaultErrorLevel()
const override {
return _topNode->defaultErrorLevel(); }
47 bool getParameters(
const RooArgSet *observables,
RooArgSet &outputSet,
bool stripDisconnected)
const override;
53 void applyWeightSquared(
bool flag)
override { _topNode->applyWeightSquared(flag); }
55 void printMultiline(std::ostream &os,
Int_t ,
bool =
false,
58 _evaluator->print(os);
62 void constOptimizeTestStatistic(ConstOpCode ,
bool )
override {}
68 std::shared_ptr<RooFit::Evaluator> _evaluator;
72 std::string _rangeName;
74 const bool _takeGlobalObservablesFromData;
75 std::stack<std::vector<double>> _vectorBuffers;
76 std::map<RooFit::Detail::DataKey, std::span<const double>> _dataSpans;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Common abstract base class for objects that represent a value and a "shape" in RooFit.
A space to attach TBranches.
Abstract base class for binned and unbinned datasets.
Abstract interface for all probability density functions.
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Mother of all ROOT objects.
void evaluate(typename Architecture_t::Tensor_t &A, EActivationFunction f)
Apply the given activation function to each value in the given tensor A.