117 coutE(
InputArguments) <<
"RooFormula::reCompile: new equation doesn't compile, formula unchanged" << endl ;
168 cout <<
"RooFormula::dump()" << endl ;
169 cout <<
"useList:" << endl ;
173 cout <<
"labelList:" << endl ;
177 cout <<
"origList:" << endl ;
200 }
else if (mustReplaceAll) {
201 coutE(
LinkStateMgmt) <<
"RooFormula::changeDependents(1): cannot find replacement for "
218 }
else if (mustReplaceAll) {
299 #if ROOT_VERSION_CODE >= ROOT_VERSION(4,0,1)
319 strlcpy(argName,name.
Data(),1024) ;
322 char *labelName = strstr(argName,
"::") ;
330 if (argName[0] ==
'@') {
332 Int_t index = atoi(argName+1) ;
337 <<
") ERROR: ordinal variable reference " << name
353 if (!arg)
return -1 ;
360 << arg->
GetName() <<
"' is not a RooAbsCategory" << endl ;
366 << labelName <<
"' is not a state of " << arg->
GetName() << endl ;
383 if (!labelName && lbl.
IsNull()) {
385 }
else if (labelName && !lbl.
CompareTo(labelName)) {
398 _useIsCat.push_back(dynamic_cast<RooAbsCategory*>(arg)) ;
415 os << indent <<
"--- RooFormula ---" << endl;
416 os << indent <<
" Formula: \"" <<
GetTitle() <<
"\"" << endl;
427 os << const_cast<RooFormula*>(
this)->
eval(0) ;
463 os <<
"[ actualVars=" <<
_actual <<
" ]" ;
virtual const char * GetTitle() const
Returns title of object.
Namespace for new ROOT classes and functions.
Collectable string class.
virtual Int_t getIndex() const
Return index number of current state.
virtual void SetName(const char *name)
Change (i.e.
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'.
const Text_t * getStringAttribute(const Text_t *key) const
Get string attribute mapped under key 'key'.
const char * Data() const
void setStringAttribute(const Text_t *key, const Text_t *value)
Associate string 'value' to this object under key 'key'.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
std::map< std::string, std::string >::const_iterator iter
TIterator * createIterator(Bool_t dir=kIterForward) const
TString & Append(const char *cs)
TIterator * MakeIterator(Bool_t dir=kTRUE) const
Return an iterator over this list.
Double_t getVal(const RooArgSet *set=0) const
virtual void Add(TObject *arg)
return fString CompareTo(((TObjString *) obj) ->fString)
virtual const char * GetName() const
Returns name of object.
TObject * FindObject(const char *name) const
Return pointer to obejct with given name.
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...
virtual const char * GetName() const
Returns name of object.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
TObject * At(Int_t index) const
Return object stored in sequential position given by index.
RooAbsArg * findNewServer(const RooAbsCollection &newSet, Bool_t nameChange) const
Find the new server in the specified set that matches the old server.
virtual TObject * Next()=0
RooLinkedListIter iterator(Bool_t dir=kTRUE) const
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
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.