39 : _actualVars(
"actualVars",
"Variables used by formula expression", this),
46 _actualVars(
"actualVars",
"Variables used by formula expression", this),
54 _actualVars(
"actualVars", this, other._actualVars),
55 _coefficients(other._coefficients), _nset(0) {
63 for (std::size_t i = 0; i <
n; ++i) {
69 os <<
c <<
"*" <<
r->GetTitle();
82 for (std::size_t i = 0; i <
n; ++i) {
112 for (std::size_t i = 0; i <
n; ++i) {
117 return result.convert_to<
double>();
120 std::vector<double> values(
n);
121 for (std::size_t i = 0; i <
n; ++i) {
127 std::sort(values.begin(), values.end(), [](
double const&
x,
double const&
y){ return std::abs(x) < std::abs(y); });
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 r
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 result
static KahanSum< T, N > Accumulate(Iterator begin, Iterator end, T initialValue=T{})
Iterate over a range and return an instance of a KahanSum.
Int_t getSize() const
Return the number of elements in the collection.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
bool add(const RooAbsArg &var, bool valueServer, bool shapeServer, bool silent)
Overloaded RooCollection_t::add() method insert object into set and registers object as server to own...
RooLinearCombination is a class that helps perform linear combination of floating point numbers and p...
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
std::list< double > * plotSamplingHint(RooAbsRealLValue &obs, double xlo, double xhi) const override
Interface for returning an optional hint for initial sampling points when constructing a curve projec...
TObject * clone(const char *newname) const override
void add(RooFit::SuperFloat c, RooAbsReal *t)
void setCoefficient(size_t idx, RooFit::SuperFloat c)
~RooLinearCombination() override
RooFit::SuperFloat getCoefficient(size_t idx)
void printArgs(std::ostream &os) const override
Print object arguments, ie its proxies.
std::list< double > * binBoundaries(RooAbsRealLValue &obs, double xlo, double xhi) const override
Retrieve bin boundaries if this distribution is binned in obs.
std::vector< RooFit::SuperFloat > _coefficients
Mother of all ROOT objects.