1
1
In this series of tutorial, I will demonstrate how to use CREN ROOT package
2
2
to do fitting. And the following is the structure of this series.
3
3
For gaus + bg, or double gaus + bg, one can use ROOTSCOPE to fit.
4
+ (https://www.youtube.com/watch?v=TWnbxetz4A8)
4
5
5
6
6
7
File description
@@ -11,7 +12,7 @@ it covers the most common case, in which we store our data in
11
12
a TGraph (or a TH1) object, and we invoke TGraph::Fit to do the fitting.
12
13
We also demo a generic method to set the TF1 object.
13
14
We also show some basic options to set up fitting ( SetParLimits, FixParameter )
14
-
15
+ (https://www.youtube.com/watch?v=IXqYmD4piAA)
15
16
===============================================================================
16
17
17
18
_02_setup_TF1.C
@@ -21,8 +22,7 @@ it covers alternative ways to setup TF1 objects.
21
22
(2) by inline method by [0], [1], [2], ...
22
23
(3) by a method from a class
23
24
(4) by a lambda function.
24
-
25
-
25
+ (https://www.youtube.com/watch?v=VWA_5KfizxM)
26
26
===============================================================================
27
27
28
28
_03_fit_2D.C
@@ -40,8 +40,7 @@ There is no TGraph3D class yet ( but we have TH3 class). So to fit 3 variables
40
40
v=v(x,y,z) case, will use somewhat different method. One can use more general
41
41
TMinuit or use the tools provided in the ROOT::Fit (namespace). Here is a demo
42
42
by the latter one. we will use use BinData, WrappedMultiTF1, Fitter, and FitResult.
43
-
44
-
43
+ (https://www.youtube.com/watch?v=dfbKNe83Wh8)
45
44
===============================================================================
46
45
47
46
_05_Minuit_part1.C
@@ -50,17 +49,22 @@ by the latter one. we will use use BinData, WrappedMultiTF1, Fitter, and FitResu
50
49
51
50
First, we revisit a single Gaussian fit by using TMinuit class.
52
51
Then in the part2, we fit a v=v(x0,x1,x2,x3) function.
53
-
52
+ (https://www.youtube.com/watch?v=ReENiA3srBk&t)
53
+ (https://www.youtube.com/watch?v=dTyWtrNLq_w)
54
54
===============================================================================
55
55
56
56
_06_multiDimFit.C
57
57
58
58
This script follows multidimfit.C in $ROOTSYS/tutorial/fit/
59
59
we will demo the basic concept and operations of TMultiDimFit class.
60
-
60
+ (https://www.youtube.com/watch?v=K_N4fBoBDuk)
61
61
62
62
===============================================================================
63
63
64
64
for artificial neural network by TMultiLayerPerceptron and TMLPAnalyzer,
65
65
please refer to the previous video at
66
66
https://www.youtube.com/watch?v=WhzduU9ZXgo
67
+
68
+
69
+
70
+
0 commit comments