Logo ROOT   6.14/05
Reference Guide
Typedefs | Functions
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 "TGFont.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 "TTimer.h"
#include "THStack.h"
#include "TMath.h"
#include "Fit/UnBinData.h"
#include "Fit/BinData.h"
#include "TMultiGraph.h"
#include "TTree.h"
#include "TTreePlayer.h"
#include "TTreeInput.h"
#include "TAdvancedGraphicsDialog.h"
#include "RConfigure.h"
#include "TPluginManager.h"
#include <sstream>
#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 182 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 230 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 270 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 321 of file TFitEditor.cxx.

◆ InitParameters()

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

Parameter initialization for the function.

Definition at line 302 of file TFitEditor.cxx.

◆ SearchCanvases()

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

Definition at line 1794 of file TFitEditor.cxx.

◆ SetParameters()

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

Restore the parameters from pars into the function.

Definition at line 287 of file TFitEditor.cxx.