76 return clone(newname) ;
232 virtual void printName(std::ostream& os)
const ;
233 virtual void printTitle(std::ostream& os)
const ;
236 virtual void printArgs(std::ostream& os)
const ;
320 void graphVizTree(
const char* fileName,
const char* delimiter=
"\n",
bool useTitle=
false,
bool useLatex=
false) ;
321 void graphVizTree(std::ostream& os,
const char* delimiter=
"\n",
bool useTitle=
false,
bool useLatex=
false) ;
std::ostream & operator<<(std::ostream &os, const RooAbsArg &arg)
std::istream & operator>>(std::istream &is, RooAbsArg &arg)
Istream operator.
unsigned long long ULong64_t
#define ClassDef(name, id)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooExpensiveObjectCache & expensiveObjectCache() const
virtual Bool_t IsSortable() const
static std::stack< RooAbsArg * > _ioReadStack
virtual Bool_t checkObservables(const RooArgSet *nset) const
Overloadable function in which derived classes can implement consistency checks of the variables.
virtual RooAbsArg * cloneTree(const char *newname=0) const
Clone tree expression of objects.
RooArgSet * getObservables(const RooArgSet &set, Bool_t valueOnly=kTRUE) const
void clearValueAndShapeDirty() const
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)=0
virtual Bool_t isValid() const
WVE (08/21/01) Probably obsolete now.
virtual Bool_t importWorkspaceHook(RooWorkspace &ws)
static UInt_t crc32(const char *data)
static void verboseDirty(Bool_t flag)
Activate verbose messaging related to dirty flag propagation.
void attachToStore(RooAbsDataStore &store)
virtual Int_t defaultPrintContents(Option_t *opt) const
Define default contents to print.
const TNamed * namePtr() const
const char * aggregateCacheUniqueSuffix() const
Bool_t redirectServers(const RooAbsCollection &newServerList, Bool_t mustReplaceAll=kFALSE, Bool_t nameChange=kFALSE, Bool_t isRecursionStep=kFALSE)
Iterator over _clientListValue.
virtual Bool_t isLValue() const
void changeServer(RooAbsArg &server, Bool_t valueProp, Bool_t shapeProp)
Change dirty flag propagation mask for specified server.
void addServer(RooAbsArg &server, Bool_t valueProp=kTRUE, Bool_t shapeProp=kFALSE)
Register another RooAbsArg as a server to us, ie, declare that we depend on it.
Bool_t isValueServer(const RooAbsArg &arg) const
RooRefCountList _serverList
virtual Bool_t redirectServersHook(const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
virtual void getObservablesHook(const RooArgSet *, RooArgSet *) const
RooWorkspace * _myws
Prevent 'AlwaysDirty' mode for this node.
void printCompactTree(const char *indent="", const char *fileName=0, const char *namePat=0, RooAbsArg *client=0)
Print tree structure of expression tree on stdout, or to file if filename is specified.
void attachDataStore(const RooAbsDataStore &set)
Replace server nodes with names matching the dataset variable names with those data set variables,...
virtual void printClassName(std::ostream &os) const
Print object class name.
RooArgSet * _ownedComponents
std::deque< RooAbsCache * > _cacheList
Bool_t dependsOn(const RooAbsCollection &serverList, const RooAbsArg *ignoreArg=0, Bool_t valueOnly=kFALSE) const
Test whether we depend on (ie, are served by) any object in the specified collection.
void registerProxy(RooArgProxy &proxy)
Register an RooArgProxy in the proxy list.
friend class RooHistFunc2
Bool_t checkDependents(const RooArgSet *nset) const
friend std::ostream & operator<<(std::ostream &os, const RooAbsArg &arg)
RooFIter valueClientMIterator() const
RooRefCountList _clientListValue
RooRefCountList _clientListShape
Bool_t isShapeServer(const RooAbsArg &arg) const
RooArgSet * getDependents(const RooArgSet &set) const
void setStringAttribute(const Text_t *key, const Text_t *value)
Associate string 'value' to this object under key 'key'.
friend class RooObjectFactory
static void ioStreamerPass2Finalize()
Method called by workspace container to finalize schema evolution issues that cannot be handled in a ...
RooArgSet * getDependents(const RooAbsData *set) const
virtual CacheMode canNodeBeCached() const
void leafNodeServerList(RooAbsCollection *list, const RooAbsArg *arg=0, Bool_t recurseNonDerived=kFALSE) const
Fill supplied list with all leaf nodes of the arg tree, starting with ourself as top node.
virtual void setTreeBranchStatus(TTree &t, Bool_t active)=0
void setProhibitServerRedirect(Bool_t flag)
void setWorkspace(RooWorkspace &ws)
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Implement multi-line detailed printing.
friend class RooAddPdfOrig
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
const RooArgSet * ownedComponents() const
Bool_t isCloneOf(const RooAbsArg &other) const
Check if this object was created as a clone of 'other'.
Bool_t isShapeDirty() const
virtual void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDirty=kTRUE)=0
static void setDirtyInhibit(Bool_t flag)
Control global dirty inhibit mode.
Bool_t findConstantNodes(const RooArgSet &observables, RooArgSet &cacheList)
Find branch nodes with all-constant parameters, and add them to the list of nodes that can be cached ...
virtual Bool_t operator==(const RooAbsArg &other)=0
void graphVizAddConnections(std::set< std::pair< RooAbsArg *, RooAbsArg * > > &)
Utility function that inserts all point-to-point client-server connections between any two RooAbsArgs...
void unRegisterProxy(RooArgProxy &proxy)
Remove proxy from proxy list.
static const ULong64_t fnv1a64start
void printComponentTree(const char *indent="", const char *namePat=0, Int_t nLevel=999)
Print tree structure of expression tree on given ostream, only branch nodes are printed.
Bool_t inhibitDirty() const
Delete watch flag.
friend std::istream & operator>>(std::istream &is, RooAbsArg &arg)
Istream operator.
RooArgSet * getObservables(const RooAbsData &data) const
virtual void setExpensiveObjectCache(RooExpensiveObjectCache &cache)
TIterator * _clientShapeIter
std::set< std::string > _boolAttrib
virtual void printTree(std::ostream &os, TString indent="") const
Print object tree structure.
void unRegisterCache(RooAbsCache &cache)
Unregister a RooAbsCache. Called from the RooAbsCache destructor.
virtual Bool_t isFundamental() const
virtual void printTitle(std::ostream &os) const
Print object title.
Bool_t isValueOrShapeDirtyAndClear() const
void printAttribList(std::ostream &os) const
Transient boolean attributes (not copied in ctor)
Bool_t dependentOverlaps(const RooAbsData *dset, const RooAbsArg &testArg) const
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
const Text_t * getStringAttribute(const Text_t *key) const
Get string attribute mapped under key 'key'.
void treeNodeServerList(RooAbsCollection *list, const RooAbsArg *arg=0, Bool_t doBranch=kTRUE, Bool_t doLeaf=kTRUE, Bool_t valueOnly=kFALSE, Bool_t recurseNonDerived=kFALSE) const
Fill supplied list with nodes of the arg tree, following all server links, starting with ourself as t...
RooArgSet * getParameters(const RooAbsData *data, Bool_t stripDisconnected=kTRUE) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
void setAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
virtual void writeToStream(std::ostream &os, Bool_t compact) const =0
Bool_t hasClients() const
virtual void printAddress(std::ostream &os) const
Print class name of object.
RooFIter serverMIterator() const
void setTransientAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
static std::map< RooAbsArg *, TRefArray * > _ioEvoList
virtual void serverNameChangeHook(const RooAbsArg *, const RooAbsArg *)
virtual void printCompactTreeHook(std::ostream &os, const char *ind="")
Hook function interface for object to insert additional information when printed in the context of a ...
virtual void setCacheAndTrackHints(RooArgSet &)
const std::set< std::string > & attributes() const
Bool_t _isConstant
Do not persist. Pointer to global instance of string that matches object named.
Bool_t isValueDirty() const
virtual Bool_t isIdentical(const RooAbsArg &other, Bool_t assumeSameType=kFALSE)=0
Bool_t overlaps(const RooAbsArg &testArg, Bool_t valueOnly=kFALSE) const
Test if any of the nodes of tree are shared with that of the given tree.
Int_t Compare(const TObject *other) const
Utility function used by TCollection::Sort to compare contained TObjects We implement comparison by n...
RooArgSet * getVariables(Bool_t stripDisconnected=kTRUE) const
Return RooArgSet with all variables (tree leaf nodes of expresssion tree)
void clearValueDirty() const
virtual void ioStreamerPass2()
In which workspace do I live, if any.
virtual ~RooAbsArg()
Destructor.
virtual Bool_t isDerived() const
static Bool_t _inhibitDirty
virtual const char * cacheUniqueSuffix() const
static UInt_t fnv1a32(const char *data)
TIterator * valueClientIterator() const
Bool_t _localNoInhibitDirty
Cached isConstant status.
virtual void constOptimizeTestStatistic(ConstOpCode opcode, Bool_t doAlsoTrackingOpt=kTRUE)
Interface function signaling a request to perform constant term optimization.
void setOperMode(OperMode mode, Bool_t recurseADirty=kTRUE)
Change cache operation mode to given mode.
virtual void attachToTree(TTree &t, Int_t bufSize=32000)=0
Overloadable function for derived classes to implement attachment as branch to a TTree.
RooLinkedList getCloningAncestors() const
Return ancestors in cloning chain of this RooAbsArg.
RooAbsArg * findServer(const RooAbsArg &arg) const
Bool_t addOwnedComponents(const RooArgSet &comps)
Take ownership of the contents of 'comps'.
static const UInt_t fnv1a32start
Bool_t recursiveCheckObservables(const RooArgSet *nset) const
Recursively call checkObservables on all nodes in the expression tree.
const std::map< std::string, std::string > & stringAttributes() const
RooAbsCache * getCache(Int_t index) const
Return registered cache object by index.
virtual void syncCache(const RooArgSet *nset=0)=0
void printDirty(Bool_t depth=kTRUE) const
Print information about current value dirty state information.
static Bool_t _verboseDirty
void registerCache(RooAbsCache &cache)
Register RooAbsCache with this object.
virtual void optimizeCacheMode(const RooArgSet &observables)
Activate cache mode optimization with given definition of observables.
virtual void attachToVStore(RooVectorDataStore &vstore)=0
TString cleanBranchName() const
Construct a mangled name from the actual name that is free of any math symbols that might be interpre...
void SetNameTitle(const char *name, const char *title)
Set all the TNamed parameters (name and title).
static ULong64_t fnv1a64(const char *data)
Bool_t recursiveCheckDependents(const RooArgSet *nset) const
Bool_t _prohibitServerRedirect
Set of owned component.
RooAbsArg * findServer(Int_t index) const
void removeServer(RooAbsArg &server, Bool_t force=kFALSE)
Unregister another RooAbsArg as a server to us, ie, declare that we no longer depend on its value and...
Int_t numProxies() const
Return the number of registered proxies.
TIterator * _clientValueIter
Iterator over _clientListShape.
void setShapeDirty() const
Bool_t getAttribute(const Text_t *name) const
Check if a named attribute is set. By default, all attributes are unset.
virtual void printName(std::ostream &os) const
Print object name.
void replaceServer(RooAbsArg &oldServer, RooAbsArg &newServer, Bool_t valueProp, Bool_t shapeProp)
Replace 'oldServer' with 'newServer'.
const std::set< std::string > & transientAttributes() const
RooArgSet * getDependents(const RooArgSet *depList) const
virtual void getParametersHook(const RooArgSet *, RooArgSet *, Bool_t) const
virtual void printMetaArgs(std::ostream &) const
Bool_t isShapeServer(const char *name) const
void addServerList(RooAbsCollection &serverList, Bool_t valueProp=kTRUE, Bool_t shapeProp=kFALSE)
Register a list of RooAbsArg as servers to us by calls addServer() for each arg in the list.
Bool_t dependsOnValue(const RooAbsCollection &serverList, const RooAbsArg *ignoreArg=0) const
TIterator * shapeClientIterator() const
void setProxyNormSet(const RooArgSet *nset)
Forward a change in the cached normalization argset to all the registered proxies.
Bool_t dependsOnValue(const RooAbsArg &server, const RooAbsArg *ignoreArg=0) const
RooAbsProxy * getProxy(Int_t index) const
Return the nth proxy from the proxy list.
RooFIter shapeClientMIterator() const
Bool_t isValueDirtyAndClear() const
Bool_t dependentOverlaps(const RooArgSet *depList, const RooAbsArg &testArg) const
RooArgSet * getParameters(const RooAbsData &data, Bool_t stripDisconnected=kTRUE) const
void clearShapeDirty() const
virtual RooAbsArg * createFundamental(const char *newname=0) const =0
RooExpensiveObjectCache * _eocache
Prohibit server redirects – Debugging tool.
RooArgSet * getComponents() const
std::set< std::string > _boolAttribTransient
void setLocalNoDirtyInhibit(Bool_t flag) const
RooAbsArg * findNewServer(const RooAbsCollection &newSet, Bool_t nameChange) const
Find the new server in the specified set that matches the old server.
Bool_t isConstant() const
virtual void fillTreeBranch(TTree &t)=0
void branchNodeServerList(RooAbsCollection *list, const RooAbsArg *arg=0, Bool_t recurseNonDerived=kFALSE) const
Fill supplied list with all branch nodes of the arg tree starting with ourself as top node.
void graphVizTree(const char *fileName, const char *delimiter="\n", bool useTitle=false, bool useLatex=false)
Create a GraphViz .dot file visualizing the expression tree headed by this RooAbsArg object.
virtual void operModeHook()
TIterator * clientIterator() const
virtual void optimizeDirtyHook(const RooArgSet *)
Bool_t getTransientAttribute(const Text_t *name) const
Check if a named attribute is set.
TIterator * serverIterator() const
std::map< std::string, std::string > _stringAttrib
virtual Bool_t inRange(const char *) const
RooArgSet * getParameters(const RooArgSet &set, Bool_t stripDisconnected=kTRUE) const
Int_t numCaches() const
Return number of registered caches.
RooAbsArg()
Default constructor.
void setValueDirty() const
Bool_t recursiveRedirectServers(const RooAbsCollection &newServerList, Bool_t mustReplaceAll=kFALSE, Bool_t nameChange=kFALSE, Bool_t recurseInNewSet=kTRUE)
Bool_t isValueServer(const char *name) const
void attachDataSet(const RooAbsData &set)
Replace server nodes with names matching the dataset variable names with those data set variables,...
virtual Bool_t hasRange(const char *) const
virtual TObject * clone(const char *newname=0) const =0
virtual void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
RooAbsArg * findServer(const char *name) const
void SetName(const char *name)
Set the name of the TNamed.
void addParameters(RooArgSet ¶ms, const RooArgSet *nset=0, Bool_t stripDisconnected=kTRUE) const
INTERNAL helper function for getParameters()
Bool_t localNoDirtyInhibit() const
OperMode operMode() const
RooRefCountList _clientList
Bool_t observableOverlaps(const RooAbsData *dset, const RooAbsArg &testArg) const
Test if any of the dependents of the arg tree (as determined by getObservables) overlaps with those o...
RooAbsCache is the abstract base class for data members of RooAbsArgs that cache other (composite) Ro...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
RooAbsDataStore is the abstract base class for data collection that use a TTree as internal storage m...
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsProxy is the abstact interface for proxy classes.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooArgProxy is the abstact interface for RooAbsArg proxy classes.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCompositeDataStore is the abstract base class for data collection that use a TTree as internal sto...
RooDataSet is a container class to hold unbinned data.
RooExpensiveObjectCache is a singleton class that serves as repository for objects that are expensive...
RooExtendPdf is a wrapper around an existing PDF that adds a parameteric extended likelihood term to ...
RooHistFunc implements a real-valued function sampled from a multidimensional histogram.
RooHistPdf implements a probablity density function sampled from a multidimensional histogram.
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
TObject * FindObject(const char *name) const
Return pointer to obejct with given name.
TIterator * MakeIterator(Bool_t dir=kTRUE) const
Return an iterator over this list.
RooFIter fwdIterator() const
TObject * At(Int_t index) const
Return object stored in sequential position given by index.
RooAbsArg * findArg(const RooAbsArg *) const
Return pointer to object with given name in collection.
RooListProxy is the concrete proxy for RooArgList objects.
RooMinuit is a wrapper class around TFitter/TMinuit that provides a seamless interface between the MI...
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer,...
RooProdPdf is an efficient implementation of a product of PDFs of the form.
Class RooProjectedPdf is a RooAbsPdf implementation that represent a projection of a given input p....
RooRealIntegral performs hybrid numerical/analytical integrals of RooAbsReal objects.
RooRealMPFE is the multi-processor front-end for parallel calculation of RooAbsReal objects.
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
const RooAbsReal & arg() const
RooRefArray(const RooRefArray &other)
A RooRefCountList is a RooLinkedList that keeps a reference counter with each added node.
RooSetProxy is the concrete proxy for RooArgSet objects.
RooTreeDataStore is the abstract base class for data collection that use a TTree as internal storage ...
RooTreeData is the abstract base class for data collection that use a TTree as internal storage mecha...
RooVectorDataStore is the abstract base class for data collection that use a TTree as internal storag...
The RooWorkspace is a persistable container for RooFit projects.
Iterator abstract base class.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
A TTree object has a header with a name and a title.
Print a TSeq at the prompt:
std::string printValue(const TDatime *val)
Print a TDatime at the prompt.