Loading [MathJax]/extensions/tex2jax.js
ROOT
6.12/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
n
o
p
r
s
v
w
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
math
mathcore
inc
Fit
DataOptions.h
Go to the documentation of this file.
1
// @(#)root/mathcore:$Id$
2
// Author: L. Moneta Wed Aug 30 11:04:59 2006
3
4
/**********************************************************************
5
* *
6
* Copyright (c) 2006 LCG ROOT Math Team, CERN/PH-SFT *
7
* *
8
* *
9
**********************************************************************/
10
11
// Header file for class DataOptions
12
13
#ifndef ROOT_Fit_DataOptions
14
#define ROOT_Fit_DataOptions
15
16
17
namespace
ROOT
{
18
19
namespace
Fit
{
20
21
22
//___________________________________________________________________________________
23
/**
24
DataOptions : simple structure holding the options on how the data are filled
25
26
@ingroup FitData
27
*/
28
struct
DataOptions
{
29
30
31
/**
32
Default constructor: use the default options
33
*/
34
DataOptions
() :
35
fIntegral
(false),
36
fBinVolume
(false),
37
fNormBinVolume
(false),
38
fUseEmpty
(false),
39
fUseRange
(false),
40
fErrors1
(false),
41
fExpErrors
(false),
42
fCoordErrors
(true),
43
fAsymErrors
(true)
44
{}
45
46
47
bool
fIntegral
;
// use integral of bin content instead of bin center (default is false)
48
bool
fBinVolume
;
// normalize data by the bin volume (it is used in the Poisson likelihood fits)
49
bool
fNormBinVolume
;
// normalize data by a normalized the bin volume ( bin volume divided by a reference value)
50
bool
fUseEmpty
;
// use empty bins (default is false) with a fixed error of 1
51
bool
fUseRange
;
// use the function range when creating the fit data (default is false)
52
bool
fErrors1
;
// use all errors equal to 1, i.e. fit without errors (default is false)
53
bool
fExpErrors
;
// use expected errors from the function and not from the data
54
bool
fCoordErrors
;
// use errors on the x coordinates when available (default is true)
55
bool
fAsymErrors
;
// use asymmetric errors in the value when available, selecting them according to the on sign of residual (default is true)
56
57
58
};
59
60
}
// end namespace Fit
61
62
}
// end namespace ROOT
63
64
65
#endif
/* ROOT_Fit_DataOptions */
ROOT::Fit::DataOptions::fUseEmpty
bool fUseEmpty
Definition:
DataOptions.h:50
ROOT
Namespace for new ROOT classes and functions.
Definition:
StringConv.hxx:21
ROOT::Fit::DataOptions::fBinVolume
bool fBinVolume
Definition:
DataOptions.h:48
ROOT::Fit::DataOptions::fAsymErrors
bool fAsymErrors
Definition:
DataOptions.h:55
ROOT::Fit::DataOptions::fExpErrors
bool fExpErrors
Definition:
DataOptions.h:53
ROOT::Fit::DataOptions::fErrors1
bool fErrors1
Definition:
DataOptions.h:52
ROOT::Fit::DataOptions::fIntegral
bool fIntegral
Definition:
DataOptions.h:47
ROOT::Fit::DataOptions
DataOptions : simple structure holding the options on how the data are filled.
Definition:
DataOptions.h:28
ROOT::Fit::DataOptions::fUseRange
bool fUseRange
Definition:
DataOptions.h:51
ROOT::Fit::DataOptions::fCoordErrors
bool fCoordErrors
Definition:
DataOptions.h:54
HFit::Fit
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
Definition:
HFitImpl.cxx:134
ROOT::Fit::DataOptions::fNormBinVolume
bool fNormBinVolume
Definition:
DataOptions.h:49
ROOT::Fit::DataOptions::DataOptions
DataOptions()
Default constructor: use the default options.
Definition:
DataOptions.h:34