ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:

Go to the source code of this file.

Typedefs

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

Functions

void SearchCanvases (TSeqCollection *canvases, std::vector< TObject * > &objects)
 
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 SetParameters (TFitEditor::FuncParams_t &pars, TF1 *func)
 Restore the parameters from pars into the function. More...
 
template<class FitObject >
void InitParameters (TF1 *func, FitObject *fitobj)
 Parameter initialization for the function. 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...
 

Typedef Documentation

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

Definition at line 182 of file TFitEditor.cxx.

Function Documentation

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.

Referenced by TFitEditor::DoFit(), TFitEditor::GetFunctionsFromSystem(), and TFitEditor::HasFitFunction().

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.

Referenced by TFitEditor::DoFit(), TFitEditor::DoSetParameters(), TFitEditor::GetFitFunction(), and TFitEditor::SetFitObject().

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.

Referenced by TFitEditor::DoFit(), and TFitEditor::SetObjectType().

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

Parameter initialization for the function.

Definition at line 302 of file TFitEditor.cxx.

Referenced by TFitEditor::DoSetParameters().

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

Definition at line 1780 of file TFitEditor.cxx.

Referenced by TFitEditor::FillDataSetList(), and TFitEditor::TFitEditor().

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