Jpp
15.0.0-rc.2
the software that should make you happy
|
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 "TH1.h"
#include "TGraph.h"
#include "TProfile.h"
#include "TF1.h"
#include "TString.h"
#include "TRegexp.h"
#include "JLang/JType.hh"
#include "JLang/JTypeList.hh"
#include "JLang/JToken.hh"
#include "JTools/JRange.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(x/[1])+[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 JFit.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 96 of file JFit.cc.