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
Definition at line 22 of file RooDirItem.h.
Public Member Functions | |
RooDirItem () | |
RooDirItem (const RooDirItem &) | |
virtual | ~RooDirItem () |
virtual TClass * | IsA () const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Member Functions | |
void | appendToDir (TObject *obj, bool forceMemoryResident=false) |
Append object to directory. | |
void | removeFromDir (TObject *obj) |
Remove object from directory it was added to. | |
Protected Attributes | |
TDirectory * | _dir {nullptr} |
! Associated directory | |
#include <RooDirItem.h>
|
inline |
Definition at line 24 of file RooDirItem.h.
|
inline |
Definition at line 25 of file RooDirItem.h.
|
inlinevirtual |
Definition at line 26 of file RooDirItem.h.
Append object to directory.
If forceMemoryResident is true, nothing happens.
Definition at line 51 of file RooDirItem.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 34 of file RooDirItem.h.
|
inlinestatic |
Definition at line 34 of file RooDirItem.h.
|
inlinevirtual |
Reimplemented in RooDataHist, RooDataSet, and RooFitResult.
Definition at line 34 of file RooDirItem.h.
|
protected |
Remove object from directory it was added to.
Definition at line 39 of file RooDirItem.cxx.
|
virtual |
Reimplemented in RooDataHist, RooDataSet, and RooFitResult.
|
inline |
Definition at line 34 of file RooDirItem.h.
|
protected |
! Associated directory
Definition at line 33 of file RooDirItem.h.