|
R3BROOT
R3B analysis software
|
#include <R3BDataMonitorCanvas.h>
Public Types | |
| using | DrawableElementPtr = std::variant<TH1*, TGraph*> |
Public Member Functions | |
| DataMonitorCanvas (DataMonitor *monitor) | |
| template<typename... Args> | |
| DataMonitorCanvas (DataMonitor *monitor, Args &&... args) | |
| template<int div_num = 1, typename ElementType, typename... Args> | |
| constexpr auto | add (Args &&... args) -> CanvasElement< ElementType > |
| template<typename ElementType, typename... Args> | |
| constexpr auto | add (int div_num, Args &&... args) -> CanvasElement< ElementType > |
| template<typename... Args> | |
| void | divide (Args &&... args) |
| auto | get_canvas () -> TCanvas * |
| void | draw () |
| void | reset () |
Private Attributes | |
| DataMonitor * | monitor_ = nullptr |
| std::unique_ptr< TCanvas > | canvas_ |
| std::map< int, std::vector< DrawableElementPtr > > | figures_ |
Definition at line 46 of file R3BDataMonitorCanvas.h.
| using R3B::DataMonitorCanvas::DrawableElementPtr = std::variant<TH1*, TGraph*> |
Definition at line 49 of file R3BDataMonitorCanvas.h.
|
explicit |
Definition at line 8 of file R3BDataMonitorCanvas.cxx.
|
explicit |
Definition at line 135 of file R3BDataMonitor.h.
|
nodiscardconstexpr |
Definition at line 142 of file R3BDataMonitor.h.
|
nodiscardconstexpr |
Definition at line 149 of file R3BDataMonitor.h.
|
inline |
Definition at line 62 of file R3BDataMonitorCanvas.h.
| void R3B::DataMonitorCanvas::draw | ( | ) |
Definition at line 13 of file R3BDataMonitorCanvas.cxx.
|
inline |
Definition at line 67 of file R3BDataMonitorCanvas.h.
| void R3B::DataMonitorCanvas::reset | ( | ) |
Definition at line 40 of file R3BDataMonitorCanvas.cxx.
|
private |
Definition at line 74 of file R3BDataMonitorCanvas.h.
|
private |
Definition at line 75 of file R3BDataMonitorCanvas.h.
|
private |
Definition at line 73 of file R3BDataMonitorCanvas.h.