Jpp
|
General purpose fit program using ROOT. More...
#include <string>
#include <iostream>
#include <iomanip>
#include <vector>
#include <algorithm>
#include "TROOT.h"
#include "TFile.h"
#include "TKey.h"
#include "TH2.h"
#include "TGraph2D.h"
#include "TProfile.h"
#include "TF12.h"
#include "TString.h"
#include "TRegexp.h"
#include "JLang/JType.hh"
#include "JLang/JTypeList.hh"
#include "JLang/JToken.hh"
#include "JTools/JTuple.hh"
#include "JGizmo/JRootObjectID.hh"
#include "JGizmo/JGizmoToolkit.hh"
#include "Jeep/JPrint.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
General purpose fit program using ROOT.
The option -f
corresponds to <file name>:<object name>
.
The expressions for the fit function, start and fixed values should comply with ROOT class TFormula.
In the expressions of the start and fixed values, names of member methods of corresponding class of the fit object may appear, such as TH1::GetMaximum, TH1::GetRMS, etc., e.g:
-F "[0]*exp(-0.5*x*x/([1]*[1])*exp(-0.5*y*y/([2]*[2])" -@ "p0 = GetMaximum; p1 = 2*GetRMS" -= "p2 = 0"
The result of the formulas for the start and fixed values will be evaluated for each histogram separately.
Definition in file JFit2D.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 92 of file JFit2D.cc.