Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Experimental::TFitPanel Class Reference

web-based FitPanel prototype.

Definition at line 55 of file TFitPanel.hxx.

Public Member Functions

 TFitPanel (const std::string &title="Fit panel")
 normal constructor More...
 
virtual ~TFitPanel ()
 destructor More...
 
void DoFit (const std::string &dname, const std::string &mname)
 Dummy function, called when "Fit" button pressed in UI. More...
 
std::shared_ptr< TWebWindow > GetWindow ()
 Returns TWebWindow instance, used to display FitPanel. More...
 
void Hide ()
 hide FitPanel More...
 
void Show (const std::string &where="")
 show FitPanel in specified place More...
 
void UseCanvas (std::shared_ptr< TCanvas > &canv)
 let use canvas to display fit results More...
 

Private Member Functions

 TFitPanel (const TFitPanel &)=delete
 !< histogram created when fit is performed More...
 
TFitPaneloperator= (const TFitPanel &)=delete
 Disable assignment. More...
 
void ProcessData (unsigned connid, const std::string &arg)
 process data from UI More...
 

Private Attributes

std::shared_ptr< TCanvasfCanvas
 !< configured display More...
 
unsigned fConnId {0}
 ! connection id More...
 
std::shared_ptr< TH1DfFitHist
 !< canvas used to display results More...
 
std::string fTitle
 ! title More...
 
std::shared_ptr< TWebWindow > fWindow
 

#include <ROOT/TFitPanel.hxx>

Constructor & Destructor Documentation

◆ TFitPanel() [1/2]

ROOT::Experimental::TFitPanel::TFitPanel ( const TFitPanel )
privatedelete

!< histogram created when fit is performed

Disable copy construction.

◆ TFitPanel() [2/2]

ROOT::Experimental::TFitPanel::TFitPanel ( const std::string &  title = "Fit panel")
inline

normal constructor

Definition at line 77 of file TFitPanel.hxx.

◆ ~TFitPanel()

virtual ROOT::Experimental::TFitPanel::~TFitPanel ( )
inlinevirtual

destructor

Definition at line 80 of file TFitPanel.hxx.

Member Function Documentation

◆ DoFit()

void ROOT::Experimental::TFitPanel::DoFit ( const std::string &  dname,
const std::string &  mname 
)

Dummy function, called when "Fit" button pressed in UI.

Definition at line 128 of file TFitPanel.cxx.

◆ GetWindow()

std::shared_ptr< ROOT::Experimental::TWebWindow > ROOT::Experimental::TFitPanel::GetWindow ( )

Returns TWebWindow instance, used to display FitPanel.

Definition at line 35 of file TFitPanel.cxx.

◆ Hide()

void ROOT::Experimental::TFitPanel::Hide ( )

hide FitPanel

Hide FitPanel.

Definition at line 61 of file TFitPanel.cxx.

◆ operator=()

TFitPanel& ROOT::Experimental::TFitPanel::operator= ( const TFitPanel )
privatedelete

Disable assignment.

◆ ProcessData()

void ROOT::Experimental::TFitPanel::ProcessData ( unsigned  connid,
const std::string &  arg 
)
private

process data from UI

Process data from FitPanel OpenUI5-based FitPanel sends commands or status changes.

Definition at line 73 of file TFitPanel.cxx.

◆ Show()

void ROOT::Experimental::TFitPanel::Show ( const std::string &  where = "")

show FitPanel in specified place

Show FitPanel.

Definition at line 53 of file TFitPanel.cxx.

◆ UseCanvas()

void ROOT::Experimental::TFitPanel::UseCanvas ( std::shared_ptr< TCanvas > &  canv)

let use canvas to display fit results

Let use canvas to display fit results.

Definition at line 116 of file TFitPanel.cxx.

Member Data Documentation

◆ fCanvas

std::shared_ptr<TCanvas> ROOT::Experimental::TFitPanel::fCanvas
private

!< configured display

Definition at line 62 of file TFitPanel.hxx.

◆ fConnId

unsigned ROOT::Experimental::TFitPanel::fConnId {0}
private

! connection id

Definition at line 58 of file TFitPanel.hxx.

◆ fFitHist

std::shared_ptr<TH1D> ROOT::Experimental::TFitPanel::fFitHist
private

!< canvas used to display results

Definition at line 64 of file TFitPanel.hxx.

◆ fTitle

std::string ROOT::Experimental::TFitPanel::fTitle
private

! title

Definition at line 57 of file TFitPanel.hxx.

◆ fWindow

std::shared_ptr<TWebWindow> ROOT::Experimental::TFitPanel::fWindow
private

Definition at line 60 of file TFitPanel.hxx.

Libraries for ROOT::Experimental::TFitPanel:
[legend]

The documentation for this class was generated from the following files: