#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 "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"Go to the source code of this file.
Typedefs | |
| typedef std::multimap< TObject *, TF1 * > | FitFuncMap_t |
Functions | |
| void | SearchCanvases (TSeqCollection *canvases, vector< TObject * > &objects) |
| TF1 * | copyTF1 (TF1 *f) |
| void | GetParameters (TFitEditor::FuncParams_t &pars, TF1 *func) |
| void | SetParameters (TFitEditor::FuncParams_t &pars, TF1 *func) |
| template<class FitObject> | |
| void | InitParameters (TF1 *func, FitObject *fitobj) |
| void | GetTreeVarsAndCuts (TGComboBox *dataSet, TString &variablesStr, TString &cutsStr) |
| typedef std::multimap<TObject*, TF1*> FitFuncMap_t |
Definition at line 180 of file TFitEditor.cxx.
Definition at line 224 of file TFitEditor.cxx.
References TF3::Copy(), TF2::Copy(), TFormula::GetExpFormula(), TFormula::kNotGlobal, TF2::Save(), TF1::Save(), TObject::SetBit(), TF1::SetParent(), TF3::SetRange(), TF2::SetRange(), TF1::SetRange(), xmax, xmin, ymax, and ymin.
Referenced by TFitEditor::DoFit(), TFitEditor::GetFunctionsFromSystem(), and TFitEditor::HasFitFunction().
| void GetParameters | ( | TFitEditor::FuncParams_t & | pars, | |
| TF1 * | func | |||
| ) |
Definition at line 265 of file TFitEditor.cxx.
References func(), i, PAR_MAX, PAR_MIN, and PAR_VAL.
Referenced by TFitEditor::DoFit(), TFitEditor::DoSetParameters(), G__G__Gui3_268_0_3(), G__G__Hist_229_0_47(), G__G__Hist_229_0_48(), G__G__Minuit_199_0_42(), G__G__RooStats_206_0_5(), G__G__RooStats_542_0_12(), TFitEditor::GetFitFunction(), and TFitEditor::SetFitObject().
| void GetTreeVarsAndCuts | ( | TGComboBox * | dataSet, | |
| TString & | variablesStr, | |||
| TString & | cutsStr | |||
| ) |
Definition at line 315 of file TFitEditor.cxx.
References TGListBox::GetEntry(), TGComboBox::GetListBox(), TGComboBox::GetSelected(), TGString::GetString(), and TGTextLBEntry::GetText().
Referenced by TFitEditor::DoFit(), and TFitEditor::SetObjectType().
| void InitParameters | ( | TF1 * | func, | |
| FitObject * | fitobj | |||
| ) |
Definition at line 297 of file TFitEditor.cxx.
References data, ROOT::Fit::FillData(), func(), ROOT::Fit::Init2DGaus(), and ROOT::Fit::InitGaus().
Referenced by TFitEditor::DoSetParameters().
| void SearchCanvases | ( | TSeqCollection * | canvases, | |
| vector< TObject * > & | objects | |||
| ) |
Definition at line 1745 of file TFitEditor.cxx.
References i.
Referenced by TFitEditor::FillDataSetList(), and TFitEditor::TFitEditor().
| void SetParameters | ( | TFitEditor::FuncParams_t & | pars, | |
| TF1 * | func | |||
| ) |
Definition at line 282 of file TFitEditor.cxx.
References func(), i, PAR_MAX, PAR_MIN, and PAR_VAL.
Referenced by TFitEditor::DoFit(), TFitEditor::DoSetParameters(), G__G__Genetic_147_0_17(), G__G__Hist_229_0_58(), G__G__Hist_229_0_59(), G__G__MathCore_182_0_2(), G__G__MathMore_167_0_20(), G__G__MathMore_167_0_21(), G__G__RooStats_207_0_10(), G__G__RooStats_514_0_15(), G__G__RooStats_558_0_8(), G__G__RooStats_563_0_7(), G__G__RooStats_641_0_6(), G__G__RooStats_652_0_12(), G__G__RooStats_655_0_10(), G__G__RooStats_727_0_4(), G__G__RooStats_730_0_11(), G__G__TMVA3_196_0_2(), G__G__TMVA3_197_0_2(), G__G__TMVA3_198_0_2(), and TFitEditor::GetFitFunction().
1.5.1