11#ifndef HISTFACTORY_HISTREF_H
12#define HISTFACTORY_HISTREF_H
18namespace HistFactory {
43 if (
this == &other)
return *
this;
Internal class wrapping an histogram and managing its content.
HistRef & operator=(const HistRef &other)
assignment operator (delete previous contained histogram)
HistRef(const HistRef &other)
void SetObject(TH1 *h)
set the object - user gives away the ownerhisp
static TH1 * CopyObject(TH1 *h)
HistRef(TH1 *h=0)
constructor - use gives away ownerhip of the given pointer
static void DeleteObject(TH1 *h)
@(#)root/roostats:$Id$ Author: George Lewis, Kyle Cranmer