64 _actualVars(
"actualVars",
"Variables used by formula expression",this),
65 _formula(0), _formExpr(inFormula)
79 _actualVars(
"actualVars",
"Variables used by formula expression",this),
80 _formula(0), _formExpr(title)
94 _actualVars(
"actualVars",this,other._actualVars),
95 _formula(0), _formExpr(other._formExpr)
174 os <<
"formula=\"" <<
_formExpr <<
"\" " ;
197 cout <<
getVal() << endl ;
211 auto func =
static_cast<const RooAbsReal*
>(par);
212 list<Double_t>* binb =
nullptr;
214 if (func && (binb = func->binBoundaries(obs,xlo,xhi)) ) {
230 auto func =
dynamic_cast<const RooAbsReal*
>(par);
231 list<Double_t>* hint =
nullptr;
233 if (func && (hint = func->plotSamplingHint(obs,xlo,xhi)) ) {
269 if (nllArg && !chi2Arg) {
271 <<
") Formula contains a RooNLLVar, using its error level" << endl ;
273 }
else if (chi2Arg && !nllArg) {
275 <<
") Formula contains a RooChi2Var, using its error level" << endl ;
277 }
else if (!nllArg && !chi2Arg) {
279 <<
"Formula contains neither RooNLLVar nor RooChi2Var server, using default level of 1.0" << endl ;
282 <<
"Formula contains BOTH RooNLLVar and RooChi2Var server, using default level of 1.0" << endl ;
static void indent(ostringstream &buf, int indent_level)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
TIterator * createIterator(Bool_t dir=kIterForward) const R__SUGGEST_ALTERNATIVE("begin()
TIterator-style iteration over contained elements.
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...
virtual Double_t defaultErrorLevel() const
Double_t traceEval(const RooArgSet *set) const
Calculate current value of object, with error tracing wrapper.
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Structure printing.
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgList is a container object that can hold multiple RooAbsArg objects.
Class RooChi2Var implements a simple chi^2 calculation from a binned dataset and a PDF.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
Class RooNLLVar implements a a -log(likelihood) calculation from a dataset and a PDF.
Iterator abstract base class.
virtual TObject * Next()=0
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.