![]() |
Belle II Software release-09-00-04
|
Class to keep track of reference histograms with the original. More...
#include <RefHistObject.h>

Public Member Functions | |
| RefHistObject (void) | |
| Constructor. | |
| RefHistObject (RefHistObject &&other) noexcept | |
| Move constructor. | |
| RefHistObject & | operator= (RefHistObject &&other) noexcept |
| Move assignment operator. | |
| void | resetBeforeEvent (void) |
| Reset histogram and update flag, not the entries. | |
| TCanvas * | getCanvas (void) |
| Get canvas pointer. | |
| void | setCanvas (TCanvas *canvas) |
| Set canvas pointer. | |
| void | setRefHist (TH1 *refHist) |
| set ref hist pointer | |
| void | setRefCopy (TH1 *refCopy) |
| set scaled ref hist pointer | |
| TH1 * | getReference (void) |
| Get reference pointer for copy. | |
Public Attributes | |
| std::string | m_orghist_name |
| online histogram name | |
| std::string | m_refhist_name |
| reference histogram name | |
| std::unique_ptr< TCanvas > | m_canvas |
| canvas where we draw the histogram | |
| std::unique_ptr< TH1 > | m_refHist |
| Pointer to reference histogram. | |
| std::unique_ptr< TH1 > | m_refCopy |
| Pointer to scaled reference histogram. | |
Private Member Functions | |
| void | makeReferenceCopy (void) |
| Make a reference copy. | |
Class to keep track of reference histograms with the original.
Definition at line 22 of file RefHistObject.h.
|
inline |
Constructor.
Definition at line 34 of file RefHistObject.h.
|
inlinenoexcept |
Move constructor.
Definition at line 38 of file RefHistObject.h.
|
inline |
| TH1 * getReference | ( | void | ) |
Get reference pointer for copy.
Definition at line 40 of file RefHistObject.cc.
|
private |
Make a reference copy.
Definition at line 13 of file RefHistObject.cc.
|
inlinenoexcept |
Move assignment operator.
Definition at line 53 of file RefHistObject.h.
|
inline |
Set canvas pointer.
| canvas | input TCanvas pointer |
Definition at line 94 of file RefHistObject.h.
|
inline |
set scaled ref hist pointer
| refCopy | scaled reference TH1 pointer |
Definition at line 110 of file RefHistObject.h.
|
inline |
set ref hist pointer
| refHist | reference TH1 pointer |
Definition at line 102 of file RefHistObject.h.
| std::unique_ptr<TCanvas> m_canvas |
canvas where we draw the histogram
Definition at line 26 of file RefHistObject.h.
| std::string m_orghist_name |
online histogram name
Definition at line 24 of file RefHistObject.h.
| std::unique_ptr<TH1> m_refCopy |
Pointer to scaled reference histogram.
Definition at line 28 of file RefHistObject.h.
| std::unique_ptr<TH1> m_refHist |
Pointer to reference histogram.
Definition at line 27 of file RefHistObject.h.
| std::string m_refhist_name |
reference histogram name
Definition at line 25 of file RefHistObject.h.