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) {
271 if (label.IsNull()) {
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)) {
399 _useIsCat.push_back(dynamic_cast<RooAbsCategory*>(arg)) ;
416 os << indent <<
"--- RooFormula ---" << endl;
417 os << indent <<
" Formula: \"" <<
GetTitle() <<
"\"" << endl;
428 os << const_cast<RooFormula*>(
this)->
eval(0) ;
455 os << IsA()->GetName() ;
464 os <<
"[ actualVars=" <<
_actual <<
" ]" ;
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
TObject * FindObject(const char *name) const
Return pointer to obejct with given name.
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...
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
Collectable string class.
Double_t getVal(const RooArgSet *set=0) const
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual Int_t getIndex() const
Return index number of current state.
void Clear(Option_t *o=0)
Remove all elements from collection.
Iterator abstract base class.
Bool_t Replace(const TObject *oldArg, const TObject *newArg)
Replace object 'oldArg' in collection with new object 'newArg'.
RooAbsArg * findNewServer(const RooAbsCollection &newSet, Bool_t nameChange) const
Find the new server in the specified set that matches the old server.
void setStringAttribute(const Text_t *key, const Text_t *value)
Associate string 'value' to this object under key 'key'.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual void Add(TObject *arg)
TObject * At(Int_t index) const
Return object stored in sequential position given by index.
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.
const Text_t * getStringAttribute(const Text_t *key) const
Get string attribute mapped under key 'key'.
RooLinkedListIter iterator(Bool_t dir=kTRUE) const
static void indent(ostringstream &buf, int indent_level)
void Delete(Option_t *o=0)
Remove all elements in collection and delete all elements NB: Collection does not own elements...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
TIterator * MakeIterator(Bool_t dir=kTRUE) const
Return an iterator over this list.
virtual TObject * Next()=0
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual const char * GetName() const
Returns name of object.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
RooLinkedListIter is the TIterator implementation for RooLinkedList.
virtual const char * GetTitle() const
Returns title of object.