Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TFitEditor.cxx File Reference

Classes

class  pair< T1, T2 >
 STL class. More...

Typedefs

typedef std::multimap< TObject *, TF1 * > FitFuncMap_t

Functions

TF1copyTF1 (TF1 *f)
 Copies f into a new TF1 to be stored in the fitpanel with it's own ownership.
void GetParameters (TFitEditor::FuncParams_t &pars, TF1 *func)
 Stores the parameters of the given function into pars.
void GetTreeVarsAndCuts (TGComboBox *dataSet, TString &variablesStr, TString &cutsStr)
 Splits the entry in fDataSet to get the selected variables and cuts from the text.
template<class FitObject>
void InitParameters (TF1 *func, FitObject *fitobj)
 Parameter initialization for the function.
void SearchCanvases (TSeqCollection *canvases, std::vector< TObject * > &objects)
void SetParameters (TFitEditor::FuncParams_t &pars, TF1 *func)
 Restore the parameters from pars into the function.

Typedef Documentation

◆ FitFuncMap_t

typedef std::multimap<TObject*, TF1*> FitFuncMap_t

Definition at line 173 of file TFitEditor.cxx.

Function Documentation

◆ copyTF1()

TF1 * copyTF1 ( TF1 * f)

Copies f into a new TF1 to be stored in the fitpanel with it's own ownership.

This is taken from Fit::StoreAndDrawFitFunction in HFitImpl.cxx

Definition at line 216 of file TFitEditor.cxx.

◆ GetParameters()

void GetParameters ( TFitEditor::FuncParams_t & pars,
TF1 * func )

Stores the parameters of the given function into pars.

Definition at line 256 of file TFitEditor.cxx.

◆ GetTreeVarsAndCuts()

void GetTreeVarsAndCuts ( TGComboBox * dataSet,
TString & variablesStr,
TString & cutsStr )

Splits the entry in fDataSet to get the selected variables and cuts from the text.

Definition at line 307 of file TFitEditor.cxx.

◆ InitParameters()

template<class FitObject>
void InitParameters ( TF1 * func,
FitObject * fitobj )

Parameter initialization for the function.

Definition at line 288 of file TFitEditor.cxx.

◆ SearchCanvases()

void SearchCanvases ( TSeqCollection * canvases,
std::vector< TObject * > & objects )

Definition at line 1798 of file TFitEditor.cxx.

◆ SetParameters()

void SetParameters ( TFitEditor::FuncParams_t & pars,
TF1 * func )

Restore the parameters from pars into the function.

Definition at line 273 of file TFitEditor.cxx.