Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/Foption.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /* @(#)root/hist:$Id$ */
0002 
0003 /*************************************************************************
0004  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0005  * All rights reserved.                                                  *
0006  *                                                                       *
0007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0009  *************************************************************************/
0010 
0011 #ifndef ROOT_Foption
0012 #define ROOT_Foption
0013 
0014 //////////////////////////////////////////////////////////////////////////
0015 //                                                                      //
0016 // Foption                                                              //
0017 //                                                                      //
0018 // Histogram fit options structure.                                     //
0019 //                                                                      //
0020 //////////////////////////////////////////////////////////////////////////
0021 
0022 #include "ROOT/EExecutionPolicy.hxx"
0023 
0024 struct Foption_t {
0025 //*-*      chopt may be the concatenation of the following options:
0026 //*-*      =======================================================
0027 //*-*
0028 //*-*   The following structure members are set to 1 if the option is selected:
0029    int Quiet;       // "Q"  Quiet mode. No print
0030    int Verbose;     // "V"  Verbose mode. Print results after each iteration
0031    int Bound;       // "B"  When using pre-defined functions user parameter settings are used instead of default one
0032    int Chi2;        // "X"  For fitting THnsparse use chi2 method (default is likelihood)
0033    int PChi2;       // "P"  Use Pearson chi2 built with the expected error instead of the observed ones
0034    int Like;        // "L"  Use Log Likelihood. Default is chisquare method except fitting THnsparse
0035    int User;        // "U"  Use a User specified fitting algorithm (via SetFCN)
0036    int W1;          // "W"  Set all the weights to 1. Ignore error bars
0037    int Errors;      // "E"  Performs a better error evaluation, calling HESSE and MINOS
0038    int More;        // "M"  Improve fit results.
0039    int Range;       // "R"  Use the range stored in function
0040    int Gradient;    // "G"  Option to compute derivatives analytically
0041    int Nostore;     // "N"  If set, do not store the function graph
0042    int Nograph;     // "0"  If set, do not display the function graph
0043    int Plus;        // "+"  Add new function (default is replace)
0044    int Integral;    // "I"  Use function integral instead of function in center of bin
0045    int Nochisq;     // "C"  In case of linear fitting, don't calculate the chisquare
0046    int Minuit;      // "F"  If fitting a polN, switch to minuit fitter
0047    int NoErrX;      // "EX0" or "T" When fitting a TGraphErrors do not consider error in coordinates
0048    int Robust;      // "ROB" or "H":  For a TGraph use robust fitting
0049    int StoreResult; // "S": Stores the result in a TFitResult structure
0050    int BinVolume;   // "WIDTH": scale content by the bin width/volume
0051    double hRobust;  //  value of h parameter used in robust fitting
0052    ROOT::EExecutionPolicy ExecPolicy;  //  Choose the execution Policy: "SERIAL", "MULTITHREAD" or "MULTIPROCESS"
0053 
0054   Foption_t() :
0055       Quiet        (0),
0056       Verbose      (0),
0057       Bound        (0),
0058       Chi2         (0),
0059       PChi2        (0),
0060       Like         (0),
0061       User         (0),
0062       W1           (0),
0063       Errors       (0),
0064       More         (0),
0065       Range        (0),
0066       Gradient     (0),
0067       Nostore      (0),
0068       Nograph      (0),
0069       Plus         (0),
0070       Integral     (0),
0071       Nochisq      (0),
0072       Minuit       (0),
0073       NoErrX       (0),
0074       Robust       (0),
0075       StoreResult  (0),
0076       BinVolume    (0),
0077       hRobust      (0),
0078       ExecPolicy   (ROOT::EExecutionPolicy::kSequential)
0079    {}
0080 };
0081 
0082 #endif