ROOT
6.12/07
Reference Guide
hist
hist
inc
Foption.h
Go to the documentation of this file.
1
/* @(#)root/hist:$Id$ */
2
3
/*************************************************************************
4
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef ROOT_Foption
12
#define ROOT_Foption
13
14
//////////////////////////////////////////////////////////////////////////
15
// //
16
// Foption //
17
// //
18
// Histogram fit options structure. //
19
// //
20
//////////////////////////////////////////////////////////////////////////
21
22
#include "
Fit/FitExecutionPolicy.h
"
23
24
struct
Foption_t
{
25
//*-* chopt may be the concatenation of the following options:
26
//*-* =======================================================
27
//*-*
28
//*-* The following structure members are set to 1 if the option is selected:
29
int
Quiet
;
// "Q" Quiet mode. No print
30
int
Verbose
;
// "V" Verbose mode. Print results after each iteration
31
int
Bound
;
// "B" When using pre-defined functions user parameter settings are used instead of default one
32
int
Chi2
;
// "X" For fitting THnsparse use chi2 method (default is likelihood)
33
int
PChi2
;
// "P" Use Pearson chi2 built with the expected error instead of the observed ones
34
int
Like
;
// "L" Use Log Likelihood. Default is chisquare method except fitting THnsparse
35
int
User
;
// "U" Use a User specified fitting algorithm (via SetFCN)
36
int
W1
;
// "W" Set all the weights to 1. Ignore error bars
37
int
Errors
;
// "E" Performs a better error evaluation, calling HESSE and MINOS
38
int
More
;
// "M" Improve fit results.
39
int
Range
;
// "R" Use the range stored in function
40
int
Gradient
;
// "G" Option to compute derivatives analytically
41
int
Nostore
;
// "N" If set, do not store the function graph
42
int
Nograph
;
// "0" If set, do not display the function graph
43
int
Plus
;
// "+" Add new function (default is replace)
44
int
Integral
;
// "I" Use function integral instead of function in center of bin
45
int
Nochisq
;
// "C" In case of linear fitting, don't calculate the chisquare
46
int
Minuit
;
// "F" If fitting a polN, switch to minuit fitter
47
int
NoErrX
;
// "EX0" or "T" When fitting a TGraphErrors do not consider error in coordinates
48
int
Robust
;
// "ROB" or "H": For a TGraph use robust fitting
49
int
StoreResult
;
// "S": Stores the result in a TFitResult structure
50
int
BinVolume
;
// "WIDTH": scale content by the bin width/volume
51
double
hRobust
;
// value of h parameter used in robust fitting
52
ROOT::Fit::ExecutionPolicy
ExecPolicy
;
// Choose the execution Policy: "SERIAL", "MULTITHREAD" or "MULTIPROCESS"
53
54
Foption_t
() :
55
Quiet (0),
56
Verbose (0),
57
Bound (0),
58
Chi2 (0),
59
PChi2 (0),
60
Like (0),
61
User (0),
62
W1 (0),
63
Errors (0),
64
More (0),
65
Range (0),
66
Gradient (0),
67
Nostore (0),
68
Nograph (0),
69
Plus (0),
70
Integral (0),
71
Nochisq (0),
72
Minuit (0),
73
NoErrX (0),
74
Robust (0),
75
StoreResult (0),
76
BinVolume (0),
77
hRobust (0),
78
ExecPolicy (
ROOT
::
Fit
::
ExecutionPolicy
::kSerial)
79
{}
80
};
81
82
#endif
Foption_t::Errors
int Errors
Definition:
Foption.h:37
ROOT
Namespace for new ROOT classes and functions.
Definition:
StringConv.hxx:21
Foption_t::Verbose
int Verbose
Definition:
Foption.h:30
Foption_t
Definition:
Foption.h:24
Foption_t::Nograph
int Nograph
Definition:
Foption.h:42
Foption_t::Minuit
int Minuit
Definition:
Foption.h:46
Foption_t::Nostore
int Nostore
Definition:
Foption.h:41
Foption_t::hRobust
double hRobust
Definition:
Foption.h:51
Foption_t::Chi2
int Chi2
Definition:
Foption.h:32
ROOT::Fit::ExecutionPolicy
ExecutionPolicy
Definition:
FitExecutionPolicy.h:5
Foption_t::Plus
int Plus
Definition:
Foption.h:43
Foption_t::ExecPolicy
ROOT::Fit::ExecutionPolicy ExecPolicy
Definition:
Foption.h:52
Foption_t::BinVolume
int BinVolume
Definition:
Foption.h:50
Foption_t::User
int User
Definition:
Foption.h:35
Foption_t::PChi2
int PChi2
Definition:
Foption.h:33
Foption_t::Gradient
int Gradient
Definition:
Foption.h:40
Foption_t::StoreResult
int StoreResult
Definition:
Foption.h:49
Foption_t::More
int More
Definition:
Foption.h:38
Foption_t::Like
int Like
Definition:
Foption.h:34
Foption_t::Integral
int Integral
Definition:
Foption.h:44
Foption_t::W1
int W1
Definition:
Foption.h:36
Foption_t::Foption_t
Foption_t()
Definition:
Foption.h:54
Foption_t::Robust
int Robust
Definition:
Foption.h:48
Foption_t::Range
int Range
Definition:
Foption.h:39
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
Foption_t::Bound
int Bound
Definition:
Foption.h:31
Foption_t::Nochisq
int Nochisq
Definition:
Foption.h:45
FitExecutionPolicy.h
Foption_t::NoErrX
int NoErrX
Definition:
Foption.h:47
Foption_t::Quiet
int Quiet
Definition:
Foption.h:29