ROOT 6.16/01 Reference Guide |
Internal class wrapping an histogram and managing its content.
convenient for dealing with histogram pointers in the HistFactory class
Public Member Functions | |
HistRef (const HistRef &other) | |
HistRef (TH1 *h=0) | |
constructor - use gives away ownerhip of the given pointer More... | |
~HistRef () | |
TH1 * | GetObject () const |
HistRef & | operator= (const HistRef &other) |
assignment operator (delete previous contained histogram) More... | |
void | operator= (TH1 *h) |
operator= passing an object pointer : user gives away its ownerhisp More... | |
void | SetObject (TH1 *h) |
set the object - user gives away the ownerhisp More... | |
Static Public Member Functions | |
static TH1 * | CopyObject (TH1 *h) |
static void | DeleteObject (TH1 *h) |
Protected Attributes | |
TH1 * | fHist |
#include <RooStats/HistFactory/HistRef.h>
|
inline |
|
inline |
Definition at line 24 of file HistRef.cxx.
Definition at line 31 of file HistRef.cxx.
|
inline |