Class CalibratorsPlotWidget¶
Defined in File CalibratorsPlotWidget.h
Inheritance Relationships¶
Base Type¶
public SmartPeak::GenericGraphicWidget(Class GenericGraphicWidget)
Class Documentation¶
-
class SmartPeak::CalibratorsPlotWidget : public SmartPeak::GenericGraphicWidget¶
Class for Calibrators.
Public Functions
-
inline CalibratorsPlotWidget(const std::string title = "")¶
-
inline void setValues(const std::vector<std::vector<float>> *x_fit_data, const std::vector<std::vector<float>> *y_fit_data, const std::vector<std::vector<float>> *x_raw_data, const std::vector<std::vector<float>> *y_raw_data, const std::vector<std::string> *series_names, const std::string &x_axis_title, const std::string &y_axis_title, const float &x_min, const float &x_max, const float &y_min, const float &y_max, const std::string &plot_title)¶
-
virtual void draw() override¶
Interface to show the widget
NOTE: free to override in inherited implmementations
Protected Attributes
-
const std::vector<std::vector<float>> *x_fit_data_¶
-
const std::vector<std::vector<float>> *y_fit_data_¶
-
const std::vector<std::vector<float>> *x_raw_data_¶
-
const std::vector<std::vector<float>> *y_raw_data_¶
-
const std::vector<std::string> *series_names_¶
-
std::string x_axis_title_¶
-
std::string y_axis_title_¶
-
float x_min_¶
-
float x_max_¶
-
float y_min_¶
-
float y_max_¶
-
std::string plot_title_¶
-
inline CalibratorsPlotWidget(const std::string title = "")¶