ROOT
6.13/01
Reference Guide
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:
TFoamSampler.h:19
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
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