Logo ROOT  
Reference Guide
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
17namespace 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*/
29
30
31 /**
32 Default constructor: use the default options
33 */
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 */
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
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: StringConv.hxx:21
DataOptions : simple structure holding the options on how the data are filled.
Definition: DataOptions.h:28
DataOptions()
Default constructor: use the default options.
Definition: DataOptions.h:34