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 (HistRef &&other) | |
| HistRef (TH1 *h=nullptr) | |
| constructor - use gives away ownerhip of the given pointer   | |
| ~HistRef () | |
| TH1 * | GetObject () const | 
| HistRef & | operator= (const HistRef &other) | 
| assignment operator (delete previous contained histogram)   | |
| HistRef & | operator= (HistRef &&other) | 
| void | operator= (TH1 *h) | 
| operator= passing an object pointer : user gives away its ownerhisp   | |
| TH1 * | ReleaseObject () | 
| Release ownership of object.   | |
| void | SetObject (TH1 *h) | 
| set the object - user gives away the ownerhisp   | |
Static Private Member Functions | |
| static TH1 * | CopyObject (const TH1 *h) | 
Private Attributes | |
| std::unique_ptr< TH1 > | fHist | 
| pointer to contained histogram   | |
#include <RooStats/HistFactory/HistRef.h>
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 24 of file HistRef.cxx.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  private |