63 _actualVars("actualVars","Variables used by formula expression",this),
64 _formula(0), _formExpr(inFormula)
66 _actualVars.add(dependents) ;
68 if (_actualVars.getSize()==0) _value = traceEval(0) ;
78 _actualVars(
"actualVars",
"Variables used by formula expression",this),
79 _formula(0), _formExpr(title)
173 os <<
"formula=\"" <<
_formExpr <<
"\" " ;
196 cout <<
getVal() << endl ;
259 if (dynamic_cast<RooNLLVar*>(arg)) {
262 if (dynamic_cast<RooChi2Var*>(arg)) {
268 if (nllArg && !chi2Arg) {
270 <<
") Formula contains a RooNLLVar, using its error level" << endl ;
272 }
else if (chi2Arg && !nllArg) {
274 <<
") Formula contains a RooChi2Var, using its error level" << endl ;
276 }
else if (!nllArg && !chi2Arg) {
278 <<
"Formula contains neither RooNLLVar nor RooChi2Var server, using default level of 1.0" << endl ;
281 <<
"Formula contains BOTH RooNLLVar and RooChi2Var server, using default level of 1.0" << endl ;
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
Double_t getVal(const RooArgSet *set=0) const
virtual std::list< Double_t > * binBoundaries(RooAbsRealLValue &, Double_t, Double_t) 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.
Iterator abstract base class.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooFIter fwdIterator() const
double func(double *x, double *p)
virtual std::list< Double_t > * plotSamplingHint(RooAbsRealLValue &, Double_t, Double_t) const
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
virtual Double_t defaultErrorLevel() const
virtual TObject * Next()=0
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual const char * GetTitle() const
Returns title of object.