16 #ifndef ROOT7_TFitPanel 17 #define ROOT7_TFitPanel 19 #include <ROOT/TWebWindow.hxx> 28 namespace Experimental {
73 void ProcessData(
unsigned connid,
const std::string &arg);
80 virtual ~TFitPanel() { printf(
"Fit panel destructor!!!\n"); }
86 void Show(
const std::string &where =
"");
92 void UseCanvas(std::shared_ptr<TCanvas> &canv);
95 void DoFit(
const std::string &dname,
const std::string &mname);
std::vector< ComboBoxItem > fModelNames
TFitPanel(const TFitPanel &)=delete
!< histogram created when fit is performed
Namespace for new ROOT classes and functions.
std::vector< ComboBoxItem > fDataNames
std::string fSelectModelId
ComboBoxItem(const std::string &id, const std::string &name)
TFitPanel(const std::string &title="Fit panel")
normal constructor
std::shared_ptr< TH1D > fFitHist
!< canvas used to display results
std::string fSelectDataId
std::string fTitle
! title
virtual ~TFitPanel()
destructor
unsigned fConnId
! connection id
struct ROOT::Experimental::TFitPanelModelModel, used to initialized openui5 FitPanel ...
std::shared_ptr< TWebWindow > GetWindow()
Returns TWebWindow instance, used to display FitPanel.
std::shared_ptr< TWebWindow > fWindow
void Show(const std::string &where="")
show FitPanel in specified place
void ProcessData(unsigned connid, const std::string &arg)
process data from UI
web-based FitPanel prototype.
TFitPanel & operator=(const TFitPanel &)=delete
Disable assignment.
void DoFit(const std::string &dname, const std::string &mname)
Dummy function, called when "Fit" button pressed in UI.
struct ROOT::Experimental::ComboBoxItemDescriptor for the openui5 ComboBox, used in FitPanel ...
void UseCanvas(std::shared_ptr< TCanvas > &canv)
let use canvas to display fit results
std::shared_ptr< TCanvas > fCanvas
!< configured display