DataOptions.h

Go to the documentation of this file.
00001 // @(#)root/mathcore:$Id: DataOptions.h 31180 2009-11-16 10:54:05Z moneta $
00002 // Author: L. Moneta Wed Aug 30 11:04:59 2006
00003 
00004 /**********************************************************************
00005  *                                                                    *
00006  * Copyright (c) 2006  LCG ROOT Math Team, CERN/PH-SFT                *
00007  *                                                                    *
00008  *                                                                    *
00009  **********************************************************************/
00010 
00011 // Header file for class DataOptions
00012 
00013 #ifndef ROOT_Fit_DataOptions
00014 #define ROOT_Fit_DataOptions
00015 
00016 
00017 namespace ROOT { 
00018 
00019    namespace Fit { 
00020 
00021 
00022 //___________________________________________________________________________________
00023 /** 
00024    DataOptions : simple structure holding the options on how the data are filled 
00025 
00026    @ingroup FitData
00027 */ 
00028 struct DataOptions {
00029 
00030 
00031    /** 
00032       Default constructor: use the default options
00033    */ 
00034    DataOptions () : 
00035       fIntegral(false), 
00036       fBinVolume(false),
00037       fUseEmpty(false), 
00038       fUseRange(false), 
00039       fErrors1(false),
00040       fCoordErrors(true),
00041       fAsymErrors(true)
00042    {}
00043 
00044 
00045    bool fIntegral;    // use integral of bin content instead of bin center (default is false)
00046    bool fBinVolume;   // normalize data by the bin volume (it is used in the Poisson likelihood fits)
00047    bool fUseEmpty;    // use empty bins (default is false) with a fixed error of 1
00048    bool fUseRange;    // use the function range when creating the fit data (default is false)
00049    bool fErrors1;     // use all errors equal to 1, i.e. fit without errors (default is false) 
00050    bool fCoordErrors; // use errors on the x coordinates when available (default is true)
00051    bool fAsymErrors;  // use asymmetric errors in the value when available, selecting them according to the on sign of residual (default is true)
00052 
00053 
00054 }; 
00055 
00056    } // end namespace Fit
00057 
00058 } // end namespace ROOT
00059 
00060 
00061 #endif /* ROOT_Fit_DataOptions */

Generated on Tue Jul 5 14:24:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1