ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooWorkspace

class RooWorkspace: public TNamed



The RooWorkspace is a persistable container for RooFit projects. A workspace can contain and own variables, p.d.f.s, functions and datasets. All objects that live in the workspace are owned by the workspace. The import() method enforces consistency of objects upon insertion into the workspace (e.g. no duplicate object with the same name are allowed) and makes sure all objects in the workspace are connected to each other. Easy accessor methods like pdf(), var() and data() allow to refer to the contents of the workspace by object name. The entire RooWorkspace can be saved into a ROOT TFile and organises the consistent streaming of its contents without duplication.

If a RooWorkspace contains custom classes, i.e. classes not in the ROOT distribution, portability of workspaces can be enhanced by storing the source code of those classes in the workspace as well. This process is also organized by the workspace through the importClassCode() method.


Function Members (Methods)

public:
RooWorkspace()
RooWorkspace(const RooWorkspace& other)
RooWorkspace(const char* name, Bool_t doCINTExport)
RooWorkspace(const char* name, const char* title = 0)
virtual~RooWorkspace()
voidTObject::AbstractMethod(const char* method) const
static voidaddClassDeclImportDir(const char* dir)
static voidaddClassImplImportDir(const char* dir)
Bool_taddStudy(RooAbsStudy& study)
RooArgSetallCatFunctions() const
RooArgSetallCats() const
list<RooAbsData*>allData() const
list<RooAbsData*>allEmbeddedData() const
RooArgSetallFunctions() const
list<TObject*>allGenericObjects() const
RooArgSetallPdfs() const
RooArgSetallResolutionModels() const
RooArgSetallVars() const
virtual voidTObject::AppendPad(Option_t* option = "")
RooAbsArg*arg(const char* name) const
RooArgSetargSet(const char* nameList) const
static voidautoImportClassCode(Bool_t flag)
virtual voidTObject::Browse(TBrowser* b)
Bool_tcancelTransaction()
RooCategory*cat(const char* name) const
RooAbsCategory*catfunc(const char* name) const
Bool_tcd(const char* path = 0)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
voidclearStudies()
virtual TObject*TNamed::Clone(const char* newname = "") const
Bool_tcommitTransaction()
virtual Int_tTNamed::Compare(const TObject* obj) const
TIterator*componentIterator() const
const RooArgSet&components() const
virtual voidTNamed::Copy(TObject& named) const
RooAbsData*data(const char* name) const
Bool_tdefineSet(const char* name, const char* contentList)
Bool_tdefineSet(const char* name, const RooArgSet& aset, Bool_t importMissing = kFALSE)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
RooAbsData*embeddedData(const char* name) const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
RooExpensiveObjectCache&expensiveObjectCache()
voidexportToCint(const char* namespaceName = 0)
Bool_textendSet(const char* name, const char* newContents)
RooFactoryWSTool&factory()
RooAbsArg*factory(const char* expr)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
RooAbsReal*function(const char* name) const
RooAbsArg*fundArg(const char* name) const
TObject*genobj(const char* name) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const RooArgSet*getSnapshot(const char* name) const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
Bool_timport(TObject& object, Bool_t replaceExisting = kFALSE)
Bool_timport(TObject& object, const char* aliasName, Bool_t replaceExisting = kFALSE)
Bool_timport(const RooAbsArg& arg, const RooCmdArg& arg1 = RooCmdArg(), const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
Bool_timport(const RooArgSet& args, const RooCmdArg& arg1 = RooCmdArg(), const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
Bool_timport(RooAbsData& data, const RooCmdArg& arg1 = RooCmdArg(), const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
Bool_timport(const char* fileSpec, const RooCmdArg& arg1 = RooCmdArg(), const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
Bool_timportClassCode(const char* pat = "*", Bool_t doReplace = kFALSE)
Bool_timportClassCode(TClass* theClass, Bool_t doReplace = kFALSE)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
Bool_tloadSnapshot(const char* name)
virtual voidTNamed::ls(Option_t* option = "") const
Bool_tmakeDir()
voidTObject::MayNotUse(const char* method) const
voidmerge(const RooWorkspace&)
virtual Bool_tTObject::Notify()
TObject*obj(const char* name) const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
RooWorkspace&operator=(const RooWorkspace&)
virtual voidTObject::Paint(Option_t* option = "")
RooAbsPdf*pdf(const char* name) const
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opts = 0) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
Bool_tremoveSet(const char* name)
Bool_trenameSet(const char* name, const char* newName)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
Bool_tsaveSnapshot(const char* name, const char* paramNames)
Bool_tsaveSnapshot(const char* name, const RooArgSet& params, Bool_t importValues = kFALSE)
const RooArgSet*set(const char* name)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
static voidsetClassFileExportDir(const char* dir = 0)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
Bool_tstartTransaction()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TIterator*studyIterator()
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
const TUUID&uuid() const
RooRealVar*var(const char* name) const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Bool_twriteToFile(const char* fileName, Bool_t recreate = kTRUE)
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
voidexportObj(TObject* obj)
Bool_tisValidCPPID(const char* name)
voidunExport()

Data Members

protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
RooArgSet_allOwnedNodesList of owned pdfs and components
static Bool_t_autoClassAutomatic import of non-distribution class code
static list<std::string>_classDeclDirList
static string_classFileExportDir
static list<std::string>_classImplDirList
RooWorkspace::CodeRepo_classesRepository of embedded class code. This data member _must_ be first
RooLinkedList_dataListList of owned datasets
RooWorkspace::WSDir*_dir! Transient ROOT directory representation of workspace
Bool_t_doExport! Export contents of workspace to CINT?
RooLinkedList_embeddedDataListList of owned datasets that are embedded in pdfs
RooExpensiveObjectCache_eocacheCache for expensive objects
string_exportNSName! Name of CINT namespace to which contents are exported
RooFactoryWSTool*_factory! Factory tool associated with workspace
RooLinkedList_genObjectsList of generic objects
map<std::string,RooArgSet>_namedSetsMap of named RooArgSets
Bool_t_openTrans! Is there a transaction open?
RooArgSet_sandboxNodes! Sandbox for incoming objects in a transaction
RooLinkedList_snapshotsList of parameter snapshots
RooLinkedList_studyModsList if StudyManager modules
TUUID_uuidUnique workspace ID
RooLinkedList_viewsList of model views

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void addClassDeclImportDir(const char* dir)
 Add 'dir' to search path for class declaration (header) files, when
 attempting to import class code with importClassClode()
void addClassImplImportDir(const char* dir)
 Add 'dir' to search path for class implementation (.cxx) files, when
 attempting to import class code with importClassClode()
void setClassFileExportDir(const char* dir = 0)
 Specify the name of the directory in which embedded source
 code is unpacked and compiled. The specified string may contain
 one '%s' token which will be substituted by the workspace name
void autoImportClassCode(Bool_t flag)
 If flag is true, source code of classes not the the ROOT distribution
 is automatically imported if on object of such a class is imported
 in the workspace
RooWorkspace()
 Default constructor
RooWorkspace(const char* name, const char* title = 0)
 Construct empty workspace with given name and title
RooWorkspace(const char* name, Bool_t doCINTExport)
 Construct empty workspace with given name and option to export reference to all workspace contents to a CINT namespace with the same name
RooWorkspace(const RooWorkspace& other)
 Workspace copy constructor
~RooWorkspace()
 Workspace destructor
Bool_t import(const char* fileSpec, const RooCmdArg& arg1 = RooCmdArg(), const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
 Import a RooAbsArg or RooAbsData set from a workspace in a file. Filespec should be constructed as "filename:wspacename:objectname"
 The arguments will be passed on to the relevant RooAbsArg& or RooAbsData& import call
Bool_t import(const RooArgSet& args, const RooCmdArg& arg1 = RooCmdArg(), const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
 Import multiple RooAbsArg objects into workspace. For details on arguments see documentation
 of import() method for single RooAbsArg
Bool_t import(const RooAbsArg& arg, const RooCmdArg& arg1 = RooCmdArg(), const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
  Import a RooAbsArg object, e.g. function, p.d.f or variable into the workspace. This import function clones the input argument and will
  own the clone. If a composite object is offered for import, e.g. a p.d.f with parameters and observables, the
  complete tree of objects is imported. If any of the _variables_ of a composite object (parameters/observables) are already
  in the workspace the imported p.d.f. is connected to the already existing variables. If any of the _function_ objects (p.d.f, formulas)
  to be imported already exists in the workspace an error message is printed and the import of the entire tree of objects is cancelled.
  Several optional arguments can be provided to modify the import procedure.

  Accepted arguments

  RenameConflictNodes(const char* suffix) -- Add suffix to branch node name if name conflicts with existing node in workspace
  RenameAllNodes(const char* suffix) -- Add suffix to all branch node names including top level node
  RenameAllVariables(const char* suffix) -- Add suffix to all variables names
  RenameAllVariablesExcept(const char* suffix, const char* exceptionList) -- Add suffix to all variables names, except ones listed
  RenameVariable(const char* inputName, const char* outputName) -- Rename variable as specified upon import.
  RecycleConflictNodes() -- If any of the function objects to be imported already exist in the name space, connect the
                            imported expression to the already existing nodes. WARNING: use with care! If function definitions
                            do not match, this alters the definition of your function upon import
  Silence() -- Do not issue any info message

  The RenameConflictNodes, RenameNodes and RecycleConflictNodes arguments are mutually exclusive. The RenameVariable argument can be repeated
  as often as necessary to rename multiple variables. Alternatively, a single RenameVariable argument can be given with
  two comma separated lists.
Bool_t import(RooAbsData& data, const RooCmdArg& arg1 = RooCmdArg(), const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
  Import a dataset (RooDataSet or RooDataHist) into the work space. The workspace will contain a copy of the data
  The dataset and its variables can be renamed upon insertion with the options below

  Accepted arguments

  Rename(const char* suffix) -- Rename dataset upon insertion
  RenameVariable(const char* inputName, const char* outputName) -- Change names of observables in dataset upon insertion
Bool_t defineSet(const char* name, const RooArgSet& aset, Bool_t importMissing = kFALSE)
 Define a named RooArgSet with given constituents. If importMissing is true, any constituents
 of aset that are not in the workspace will be imported, otherwise an error is returned
 for missing components
Bool_t defineSet(const char* name, const char* contentList)
 Define a named set in the work space through a comma separated list of
 names of objects already in the workspace
Bool_t extendSet(const char* name, const char* newContents)
 Define a named set in the work space through a comma separated list of
 names of objects already in the workspace
const RooArgSet* set(const char* name)
 Return pointer to previously defined named set with given nmame
 If no such set is found a null pointer is returned
Bool_t renameSet(const char* name, const char* newName)
 Rename set to a new name
Bool_t removeSet(const char* name)
 Remove a named set from the workspace
Bool_t startTransaction()
 Open an import transaction operations. Returns kTRUE if successful, kFALSE
 if there is already an ongoing transaction
Bool_t cancelTransaction()
 Cancel an ongoing import transaction. All objects imported since startTransaction()
 will be removed and the transaction will be terminated. Return kTRUE if cancel operation
 succeeds, return kFALSE if there was no open transaction
Bool_t commitTransaction()
 Commit an ongoing import transaction. Returns kTRUE if commit succeeded,
 return kFALSE if there was no ongoing transaction
Bool_t importClassCode(TClass* theClass, Bool_t doReplace = kFALSE)
Bool_t importClassCode(const char* pat = "*", Bool_t doReplace = kFALSE)
 Inport code of all classes in the workspace that have a class name
 that matches pattern 'pat' and which are not found to be part of
 the standard ROOT distribution. If doReplace is true any existing
 class code saved in the workspace is replaced
Bool_t saveSnapshot(const char* name, const char* paramNames)
 Save snapshot of values and attributes (including "Constant") of parameters 'params'
 If importValues is FALSE, the present values from the object in the workspace are
 saved. If importValues is TRUE, the values of the objects passed in the 'params'
 argument are saved
Bool_t saveSnapshot(const char* name, const RooArgSet& params, Bool_t importValues = kFALSE)
 Save snapshot of values and attributes (including "Constant") of parameters 'params'
 If importValues is FALSE, the present values from the object in the workspace are
 saved. If importValues is TRUE, the values of the objects passed in the 'params'
 argument are saved
Bool_t loadSnapshot(const char* name)
 Load the values and attributes of the parameters in the snapshot saved with
 the given name
const RooArgSet* getSnapshot(const char* name) const
 Return the RooArgSet containgin a snapshot of variables contained in the workspace

 Note that the variables of the objects in the snapshots are _copies_ of the
 variables in the workspace. To load the values of a snapshot in the workspace
 variables use loadSnapshot() instead
RooAbsPdf* pdf(const char* name) const
 Retrieve p.d.f (RooAbsPdf) with given name. A null pointer is returned if not found
RooAbsReal* function(const char* name) const
 Retrieve function (RooAbsReal) with given name. Note that all RooAbsPdfs are also RooAbsReals. A null pointer is returned if not found.
RooRealVar* var(const char* name) const
 Retrieve real-valued variable (RooRealVar) with given name. A null pointer is returned if not found
RooCategory* cat(const char* name) const
 Retrieve discrete variable (RooCategory) with given name. A null pointer is returned if not found
RooAbsCategory* catfunc(const char* name) const
 Retrieve discrete function (RooAbsCategory) with given name. A null pointer is returned if not found
RooAbsArg* arg(const char* name) const
 Return RooAbsArg with given name. A null pointer is returned if none is found.
RooArgSet argSet(const char* nameList) const
 Return set of RooAbsArgs matching to given list of names
RooAbsArg* fundArg(const char* name) const
 Return fundamental (i.e. non-derived) RooAbsArg with given name. Fundamental types
 are e.g. RooRealVar, RooCategory. A null pointer is returned if none is found.
RooAbsData* data(const char* name) const
 Retrieve dataset (binned or unbinned) with given name. A null pointer is returned if not found
RooAbsData* embeddedData(const char* name) const
 Retrieve dataset (binned or unbinned) with given name. A null pointer is returned if not found
RooArgSet allVars() const
 Return set with all variable objects
RooArgSet allCats() const
 Return set with all category objects
RooArgSet allFunctions() const
 Return set with all function objects
RooArgSet allCatFunctions() const
 Return set with all category function objects
RooArgSet allResolutionModels() const
 Return set with all resolution model objects
RooArgSet allPdfs() const
 Return set with all probability density function objects
list<RooAbsData*> allData() const
 Return list of all dataset in the workspace
list<RooAbsData*> allEmbeddedData() const
 Return list of all dataset in the workspace
list<TObject*> allGenericObjects() const
 Return list of all generic objects in the workspace
Bool_t makeDir()
 Create transient TDirectory representation of this workspace. This directory
 will appear as a subdirectory of the directory that contains the workspace
 and will have the name of the workspace suffixed with "Dir". The TDirectory
 interface is read-only. Any attempt to insert objects into the workspace
 directory representation will result in an error message. Note that some
 ROOT object like TH1 automatically insert themselves into the current directory
 when constructed. This will give error messages when done in a workspace
 directory.
Bool_t import(TObject& object, Bool_t replaceExisting = kFALSE)
 Import a clone of a generic TObject into workspace generic object container. Imported
 object can be retrieved by name through the obj() method. The object is cloned upon
 importation and the input argument does not need to live beyond the import call

 Returns kTRUE if an error has occurred.
Bool_t import(TObject& object, const char* aliasName, Bool_t replaceExisting = kFALSE)
 Import a clone of a generic TObject into workspace generic object container.
 The imported object will be stored under the given alias name rather than its
 own name. Imported object can be retrieved its alias name through the obj() method.
 The object is cloned upon importation and the input argument does not need to live beyond the import call
 This method is mostly useful for importing objects that do not have a settable name such as TMatrix

 Returns kTRUE if an error has occurred.
Bool_t addStudy(RooAbsStudy& study)
 Insert RooStudyManager module
void clearStudies()
 Remove all RooStudyManager modules
TObject* obj(const char* name) const
 Return any type of object (RooAbsArg, RooAbsData or generic object) with given name)
TObject* genobj(const char* name) const
 Return generic object with given name
Bool_t cd(const char* path = 0)
Bool_t writeToFile(const char* fileName, Bool_t recreate = kTRUE)
 Save this current workspace into given file
RooFactoryWSTool& factory()
 Return instance to factory tool
RooAbsArg* factory(const char* expr)
 Short-hand function for factory()->process(expr) ;
void Print(Option_t* opts = 0) const
 Print contents of the workspace
void Streamer(TBuffer& )
 Stream an object of class RooWorkspace. This is a standard ROOT streamer for the
 I/O part. This custom function exists to detach all external client links
 from the payload prior to writing the payload so that these client links
 are not persisted. (Client links occur if external function objects use
 objects contained in the workspace as input)
 After the actual writing, these client links are restored.
void exportToCint(const char* namespaceName = 0)
 Activate export of workspace symbols to CINT in a namespace with given name. If no name
 is given the namespace will have the same name as the workspace
void exportObj(TObject* obj)
 Export reference to given workspace object to CINT
Bool_t isValidCPPID(const char* name)
 Return true if given name is a valid C++ identifier name
void unExport()
 Delete exported reference in CINT namespace
void merge(const RooWorkspace& )
{}
TIterator* componentIterator() const
const RooArgSet& components() const
{ return _allOwnedNodes ; }
TIterator* studyIterator()
{ return _studyMods.MakeIterator() ; }
const TUUID& uuid() const
{ return _uuid ; }
RooExpensiveObjectCache& expensiveObjectCache()
{ return _eocache ; }