Data structure for the fit panel.
Definition at line 37 of file RFitPanelModel.hxx.
Classes | |
struct | RComboBoxItem |
Generic item for ui5 ComboBox. More... | |
struct | RFuncPar |
Function parameter info, used in edit parameters dialog. More... | |
struct | RFuncParsList |
Class used to transfer functions parameters list from/to client. More... | |
struct | RItemInfo |
Basic function info, used in combo boxes. More... | |
struct | RMethodInfo |
struct | RMinimezerAlgorithm |
Entry in minimizer algorithm combo. More... | |
Public Types | |
enum | EFitObjectType { kObjectNone , kObjectHisto , kObjectGraph , kObjectGraph2D , kObjectHStack , kObjectMultiGraph , kObjectNotSupported } |
Public Member Functions | |
RFitPanelModel ()=default | |
TString | GetDrawOption () |
Retrun draw option - dummy now. | |
Foption_t | GetFitOptions () |
Provide initialized Foption_t instance. | |
ROOT::Math::MinimizerOptions | GetMinimizerOptions () |
Provide initialized ROOT::Math::MinimizerOptions instance. | |
ROOT::Fit::DataRange | GetRanges () |
bool | HasFunction (const std::string &id) |
Check if function id is exists. | |
void | Initialize () |
Initialize model - set some meaningful default values. | |
bool | IsDataSelected () const |
void | SelectedFunc (const std::string &name, TF1 *func) |
Select function. | |
bool | SelectHistogram (const std::string &hname, TH1 *hist) |
void | SetObjectKind (EFitObjectType kind) |
Update setting dependent from object type. | |
void | UpdateAdvanced (TFitResult *res) |
Update advanced parameters associated with fit function. | |
void | UpdateRange (TH1 *hist) |
Update range values. | |
Public Attributes | |
bool | fAddToList {false} |
std::vector< RComboBoxItem > | fAdvancedPars |
std::string | fAdvancedTab |
bool | fAllWeights1 {false} |
bool | fBestErrors {false} |
std::string | fConfidenceColor |
Confidence sub-tab. | |
float | fConfidenceLevel {0.683} |
std::string | fContourColor |
std::string | fContourPar1Id |
std::string | fContourPar2Id |
int | fContourPoints {0} |
Contour sub-tab. | |
bool | fContourSuperImpose {false} |
std::vector< RItemInfo > | fDataSet |
list of available data sources | |
EFitObjectType | fDataType {kObjectNone} |
selected object type, provided by server | |
int | fDim {0} |
number of dimensions in selected data object | |
bool | fEmptyBins1 {false} |
float | fErrorDef {1.00} |
int | fFitMethod {0} |
selected fit method | |
std::vector< RMethodInfo > | fFitMethods |
all supported for selected data | |
std::vector< RItemInfo > | fFuncList |
all available fit functions | |
RFuncParsList | fFuncPars |
Parameters. | |
bool | fHasAdvanced {false} |
Advanced Options. | |
bool | fHasGenetics {false} |
is genetics available | |
bool | fImproveFitResults {false} |
bool | fInitialized {false} |
! indicates if data were initialized | |
bool | fIntegral {false} |
int | fLibrary {0} |
selected minimization library | |
bool | fLinearFit {false} |
int | fMaxIterations {0} |
float | fMaxRangeX {1} |
float | fMaxRangeY {1} |
float | fMaxTolerance {0.01} |
std::vector< RMinimezerAlgorithm > | fMethodMinAll |
all items for all methods | |
float | fMinRangeX {0} |
float | fMinRangeY {0} |
bool | fNoDrawing {false} |
bool | fNoStoreDraw {false} |
int | fPrint {0} |
float | fRangeX [2] = {0,1} |
float | fRangeY [2] = {0,1} |
bool | fRobust {false} |
float | fRobustLevel {0.95} |
bool | fSame {false} |
std::string | fScanColor |
std::string | fScanId |
float | fScanMax {0} |
float | fScanMin {0} |
int | fScanPoints {0} |
std::string | fSelectedData |
selected data | |
std::string | fSelectedFunc |
id of selected fit function like dflt::gaus | |
std::string | fSelectedTab |
key of selected tab, useful for drawing | |
int | fSelectMethodMin {0} |
float | fStepX {0.01} |
float | fStepY {0.01} |
std::string | fTitle |
title of the fit panel | |
bool | fUseGradient {false} |
bool | fUseRange {false} |
#include <ROOT/RFitPanelModel.hxx>
Enumerator | |
---|---|
kObjectNone | |
kObjectHisto | |
kObjectGraph | |
kObjectGraph2D | |
kObjectHStack | |
kObjectMultiGraph | |
kObjectNotSupported |
Definition at line 39 of file RFitPanelModel.hxx.
|
default |
TString ROOT::Experimental::RFitPanelModel::GetDrawOption | ( | ) |
Retrun draw option - dummy now.
Definition at line 440 of file RFitPanelModel.cxx.
Foption_t ROOT::Experimental::RFitPanelModel::GetFitOptions | ( | ) |
Provide initialized Foption_t instance.
Definition at line 341 of file RFitPanelModel.cxx.
ROOT::Math::MinimizerOptions ROOT::Experimental::RFitPanelModel::GetMinimizerOptions | ( | ) |
Provide initialized ROOT::Math::MinimizerOptions instance.
Definition at line 386 of file RFitPanelModel.cxx.
ROOT::Fit::DataRange ROOT::Experimental::RFitPanelModel::GetRanges | ( | ) |
Definition at line 325 of file RFitPanelModel.cxx.
bool ROOT::Experimental::RFitPanelModel::HasFunction | ( | const std::string & | id | ) |
Check if function id is exists.
Definition at line 142 of file RFitPanelModel.cxx.
void ROOT::Experimental::RFitPanelModel::Initialize | ( | ) |
Initialize model - set some meaningful default values.
Definition at line 174 of file RFitPanelModel.cxx.
|
inline |
Definition at line 221 of file RFitPanelModel.hxx.
Select function.
Definition at line 157 of file RFitPanelModel.cxx.
void ROOT::Experimental::RFitPanelModel::SetObjectKind | ( | EFitObjectType | kind | ) |
Update setting dependent from object type.
Definition at line 251 of file RFitPanelModel.cxx.
void ROOT::Experimental::RFitPanelModel::UpdateAdvanced | ( | TFitResult * | res | ) |
Update advanced parameters associated with fit function.
Definition at line 302 of file RFitPanelModel.cxx.
Update range values.
Definition at line 111 of file RFitPanelModel.cxx.
bool ROOT::Experimental::RFitPanelModel::fAddToList {false} |
Definition at line 139 of file RFitPanelModel.hxx.
std::vector<RComboBoxItem> ROOT::Experimental::RFitPanelModel::fAdvancedPars |
Definition at line 183 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fAdvancedTab |
Definition at line 182 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fAllWeights1 {false} |
Definition at line 138 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fBestErrors {false} |
Definition at line 136 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fConfidenceColor |
Confidence sub-tab.
Definition at line 201 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fConfidenceLevel {0.683} |
Definition at line 184 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fContourColor |
Definition at line 190 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fContourPar1Id |
Definition at line 188 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fContourPar2Id |
Definition at line 189 of file RFitPanelModel.hxx.
int ROOT::Experimental::RFitPanelModel::fContourPoints {0} |
Contour sub-tab.
Definition at line 187 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fContourSuperImpose {false} |
Definition at line 191 of file RFitPanelModel.hxx.
std::vector<RItemInfo> ROOT::Experimental::RFitPanelModel::fDataSet |
list of available data sources
Definition at line 112 of file RFitPanelModel.hxx.
EFitObjectType ROOT::Experimental::RFitPanelModel::fDataType {kObjectNone} |
selected object type, provided by server
Definition at line 114 of file RFitPanelModel.hxx.
int ROOT::Experimental::RFitPanelModel::fDim {0} |
number of dimensions in selected data object
Definition at line 116 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fEmptyBins1 {false} |
Definition at line 140 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fErrorDef {1.00} |
Definition at line 157 of file RFitPanelModel.hxx.
int ROOT::Experimental::RFitPanelModel::fFitMethod {0} |
selected fit method
Definition at line 127 of file RFitPanelModel.hxx.
std::vector<RMethodInfo> ROOT::Experimental::RFitPanelModel::fFitMethods |
all supported for selected data
Definition at line 126 of file RFitPanelModel.hxx.
std::vector<RItemInfo> ROOT::Experimental::RFitPanelModel::fFuncList |
all available fit functions
Definition at line 118 of file RFitPanelModel.hxx.
RFuncParsList ROOT::Experimental::RFitPanelModel::fFuncPars |
Parameters.
Definition at line 177 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fHasAdvanced {false} |
Advanced Options.
Definition at line 181 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fHasGenetics {false} |
is genetics available
Definition at line 153 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fImproveFitResults {false} |
Definition at line 137 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fInitialized {false} |
! indicates if data were initialized
Definition at line 203 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fIntegral {false} |
Definition at line 134 of file RFitPanelModel.hxx.
int ROOT::Experimental::RFitPanelModel::fLibrary {0} |
selected minimization library
Definition at line 152 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fLinearFit {false} |
Definition at line 129 of file RFitPanelModel.hxx.
int ROOT::Experimental::RFitPanelModel::fMaxIterations {0} |
Definition at line 159 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fMaxRangeX {1} |
Definition at line 165 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fMaxRangeY {1} |
Definition at line 170 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fMaxTolerance {0.01} |
Definition at line 158 of file RFitPanelModel.hxx.
std::vector<RMinimezerAlgorithm> ROOT::Experimental::RFitPanelModel::fMethodMinAll |
all items for all methods
Definition at line 154 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fMinRangeX {0} |
Definition at line 164 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fMinRangeY {0} |
Definition at line 169 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fNoDrawing {false} |
Definition at line 145 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fNoStoreDraw {false} |
Definition at line 146 of file RFitPanelModel.hxx.
int ROOT::Experimental::RFitPanelModel::fPrint {0} |
Definition at line 160 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fRangeX[2] = {0,1} |
Definition at line 167 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fRangeY[2] = {0,1} |
Definition at line 172 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fRobust {false} |
Definition at line 130 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fRobustLevel {0.95} |
Definition at line 131 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fSame {false} |
Definition at line 144 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fScanColor |
Definition at line 198 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fScanId |
Definition at line 195 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fScanMax {0} |
Definition at line 197 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fScanMin {0} |
Definition at line 196 of file RFitPanelModel.hxx.
int ROOT::Experimental::RFitPanelModel::fScanPoints {0} |
Definition at line 194 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fSelectedData |
selected data
Definition at line 113 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fSelectedFunc |
id of selected fit function like dflt::gaus
Definition at line 119 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fSelectedTab |
key of selected tab, useful for drawing
Definition at line 121 of file RFitPanelModel.hxx.
int ROOT::Experimental::RFitPanelModel::fSelectMethodMin {0} |
Definition at line 155 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fStepX {0.01} |
Definition at line 166 of file RFitPanelModel.hxx.
float ROOT::Experimental::RFitPanelModel::fStepY {0.01} |
Definition at line 171 of file RFitPanelModel.hxx.
std::string ROOT::Experimental::RFitPanelModel::fTitle |
title of the fit panel
Definition at line 110 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fUseGradient {false} |
Definition at line 141 of file RFitPanelModel.hxx.
bool ROOT::Experimental::RFitPanelModel::fUseRange {false} |
Definition at line 135 of file RFitPanelModel.hxx.