Logo ROOT  
Reference Guide
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:

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. More...
 
void GetParameters (TFitEditor::FuncParams_t &pars, TF1 *func)
 Stores the parameters of the given function into pars. More...
 
void GetTreeVarsAndCuts (TGComboBox *dataSet, TString &variablesStr, TString &cutsStr)
 Splits the entry in fDataSet to get the selected variables and cuts from the text. More...
 
template<class FitObject >
void InitParameters (TF1 *func, FitObject *fitobj)
 Parameter initialization for the function. More...
 
void SearchCanvases (TSeqCollection *canvases, std::vector< TObject * > &objects)
 
void SetParameters (TFitEditor::FuncParams_t &pars, TF1 *func)
 Restore the parameters from pars into the function. More...
 

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.