118 coutE(
InputArguments) <<
"RooFormula::reCompile: new equation doesn't compile, formula unchanged" << endl ;
169 cout <<
"RooFormula::dump()" << endl ;
170 cout <<
"useList:" << endl ;
174 cout <<
"labelList:" << endl ;
178 cout <<
"origList:" << endl ;
201 }
else if (mustReplaceAll) {
202 coutE(
LinkStateMgmt) <<
"RooFormula::changeDependents(1): cannot find replacement for "
219 }
else if (mustReplaceAll) {
300#if ROOT_VERSION_CODE >= ROOT_VERSION(4,0,1)
320 strlcpy(argName,
name.Data(),1024) ;
323 char *labelName = strstr(argName,
"::") ;
331 if (argName[0] ==
'@') {
333 Int_t index = atoi(argName+1) ;
338 <<
") ERROR: ordinal variable reference " <<
name
354 if (!arg)
return -1 ;
361 << arg->
GetName() <<
"' is not a RooAbsCategory" << endl ;
367 << labelName <<
"' is not a state of " << arg->
GetName() << endl ;
384 if (!labelName && lbl.
IsNull()) {
386 }
else if (labelName && !lbl.
CompareTo(labelName)) {
416 os <<
indent <<
"--- RooFormula ---" << endl;
428 os << const_cast<RooFormula*>(
this)->eval(0) ;
455 os << IsA()->GetName() ;
464 os <<
"[ actualVars=" <<
_actual <<
" ]" ;
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...
void setStringAttribute(const Text_t *key, const Text_t *value)
Associate string 'value' to this object under key 'key'.
const Text_t * getStringAttribute(const Text_t *key) const
Get string attribute mapped under key 'key'.
RooAbsArg * findNewServer(const RooAbsCollection &newSet, Bool_t nameChange) const
Find the new server in the specified set that matches the old server.
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
virtual Int_t getIndex() const
Return index number of current state.
const RooCatType * lookupType(Int_t index, Bool_t printError=kFALSE) const
Find our type corresponding to the specified index, or return 0 for no match.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
TIterator * createIterator(Bool_t dir=kIterForward) const R__SUGGEST_ALTERNATIVE("begin()
TIterator-style iteration over contained elements.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
A wrapper around TIterator derivatives.
TObject * FindObject(const char *name) const
Return pointer to obejct with given name.
RooLinkedListIter iterator(Bool_t forward=kTRUE) const
Create an iterator for this list.
TIterator * MakeIterator(Bool_t forward=kTRUE) const
Create a TIterator for this list.
TObject * At(Int_t index) const
Return object stored in sequential position given by index.
void Delete(Option_t *o=0)
Remove all elements in collection and delete all elements NB: Collection does not own elements,...
virtual void Add(TObject *arg)
void Clear(Option_t *o=0)
Remove all elements from collection.
Bool_t Replace(const TObject *oldArg, const TObject *newArg)
Replace object 'oldArg' in collection with new object 'newArg'.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
Iterator abstract base class.
virtual TObject * Next()=0
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Collectable string class.
virtual const char * GetName() const
Returns name of object.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
Namespace for new ROOT classes and functions.