Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TFitEditor.cxx File Reference
#include "TFitEditor.h"
#include "TROOT.h"
#include "TClass.h"
#include "TCanvas.h"
#include "TGTab.h"
#include "TGLabel.h"
#include "TG3DLine.h"
#include "TGComboBox.h"
#include "TGTextEntry.h"
#include "TGGC.h"
#include "TGButtonGroup.h"
#include "TGNumberEntry.h"
#include "TGDoubleSlider.h"
#include "TGStatusBar.h"
#include "TFitParametersDialog.h"
#include "TGMsgBox.h"
#include "TAxis.h"
#include "TGraph.h"
#include "TGraph2D.h"
#include "TH1.h"
#include "TH2.h"
#include "HFitInterface.h"
#include "TF1.h"
#include "TF1NormSum.h"
#include "TF1Convolution.h"
#include "TF2.h"
#include "TF3.h"
#include "THStack.h"
#include "Fit/UnBinData.h"
#include "Fit/BinData.h"
#include "TMultiGraph.h"
#include "TTree.h"
#include "TVirtualTreePlayer.h"
#include "TSelectorDraw.h"
#include "TTreeInput.h"
#include "TAdvancedGraphicsDialog.h"
#include "TVirtualX.h"
#include "strlcpy.h"
#include "RConfigure.h"
#include "TPluginManager.h"
#include <vector>
#include <queue>
#include "CommonDefs.h"
Include dependency graph for TFitEditor.cxx:

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 

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 1788 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.