#include <R3BDataMonitor.h>
|
| DataMonitor ()=default |
|
template<typename... Args> |
auto | create_canvas (std::string_view canvas_name, std::string_view canvas_title, Args &&... args) -> DataMonitorCanvas & |
|
auto | add_hist (std::unique_ptr< TH1 > hist) -> TH1 * |
|
template<typename Hist, typename... Args> |
auto | add_hist (std::string_view histName, std::string_view histTitle, Args &&... args) -> Hist * |
|
template<typename GraphType> |
auto | add_graph (std::string_view graph_name, std::unique_ptr< GraphType > graph) -> GraphType * |
|
template<typename... Args> |
auto | add_graph (std::string_view graph_name, Args &&... args) -> TGraph * |
|
auto | get (const std::string &histName) -> TH1 * |
|
auto | get_canvas (const std::string &histName) -> DataMonitorCanvas & |
|
void | save_to_sink (std::string_view folderName="", FairSink *sinkFile=FairRun::Instance() ->GetSink()) |
|
void | save_to_file (std::string_view filename="") |
|
void | draw_canvases () |
|
void | register_canvases (FairRun *run) |
|
void | reset_all_hists () |
|
Definition at line 29 of file R3BDataMonitor.h.
◆ DataMonitor()
R3B::DataMonitor::DataMonitor |
( |
| ) |
|
|
default |
◆ add_graph() [1/2]
template<typename... Args>
auto R3B::DataMonitor::add_graph |
( |
std::string_view | graph_name, |
|
|
Args &&... | args ) -> TGraph*
|
|
inline |
◆ add_graph() [2/2]
template<typename GraphType>
auto R3B::DataMonitor::add_graph |
( |
std::string_view | graph_name, |
|
|
std::unique_ptr< GraphType > | graph ) -> GraphType*
|
|
inline |
◆ add_hist() [1/2]
template<typename Hist, typename... Args>
auto R3B::DataMonitor::add_hist |
( |
std::string_view | histName, |
|
|
std::string_view | histTitle, |
|
|
Args &&... | args ) -> Hist* |
◆ add_hist() [2/2]
auto R3B::DataMonitor::add_hist |
( |
std::unique_ptr< TH1 > | hist | ) |
-> TH1* |
|
inline |
◆ create_canvas()
template<typename... Args>
auto R3B::DataMonitor::create_canvas |
( |
std::string_view | canvas_name, |
|
|
std::string_view | canvas_title, |
|
|
Args &&... | args ) -> DataMonitorCanvas& |
◆ draw_canvases()
void R3B::DataMonitor::draw_canvases |
( |
| ) |
|
◆ get()
auto R3B::DataMonitor::get |
( |
const std::string & | histName | ) |
-> TH1* |
◆ get_canvas()
auto R3B::DataMonitor::get_canvas |
( |
const std::string & | histName | ) |
-> DataMonitorCanvas& |
◆ register_canvases()
void R3B::DataMonitor::register_canvases |
( |
FairRun * | run | ) |
|
◆ reset_all_hists()
void R3B::DataMonitor::reset_all_hists |
( |
| ) |
|
◆ save_to_file()
void R3B::DataMonitor::save_to_file |
( |
std::string_view | filename = "" | ) |
|
◆ save_to_sink()
void R3B::DataMonitor::save_to_sink |
( |
std::string_view | folderName = "", |
|
|
FairSink * | sinkFile = FairRun::Instance()->GetSink() ) |
The documentation for this class was generated from the following files: