64 ROOT::v5::TFormula(), _isOK(
kTRUE), _compiled(
kFALSE)
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)) {
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) ;
464 os <<
"[ actualVars=" <<
_actual <<
" ]" ;
virtual const char * GetTitle() const
Returns title of object.
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'.
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.
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.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
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
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
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.
RooLinkedListIter is the TIterator implementation for RooLinkedList.
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.