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