ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooDirItem

class RooDirItem



RooDirItem is a utility base class for RooFit objects that are to be attached to ROOT directories. Concrete classes inherit the appendToDir and removeToDir methods that can be used to safely attach and detach one self from a TDirectory

Function Members (Methods)

public:
RooDirItem()
RooDirItem(const RooDirItem& other)
virtual~RooDirItem()
static TClass*Class()
virtual TClass*IsA() const
RooDirItem&operator=(const RooDirItem&)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
voidappendToDir(TObject* obj, Bool_t forceMemoryResident = kFALSE)
voidremoveFromDir(TObject* obj)

Data Members

protected:
TDirectory*_dir! Associated directory

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooDirItem()
 Default constructor
RooDirItem(const RooDirItem& other)
 Copy constructor
~RooDirItem()
 Destructor
void removeFromDir(TObject* obj)
 Remove object from directory it was added to
void appendToDir(TObject* obj, Bool_t forceMemoryResident = kFALSE)
 Append object to directory. If forceMemoryResident is
 true, force addition to ROOT memory directory if that
 is not the current directory