TChi2ExtendedFCN Class Reference

#include <TChi2ExtendedFCN.h>

Inheritance diagram for TChi2ExtendedFCN:

ROOT::Minuit2::FCNBase ROOT::Minuit2::FCNBase ROOT::Minuit2::GenericFunction ROOT::Minuit2::GenericFunction ROOT::Minuit2::GenericFunction ROOT::Minuit2::GenericFunction List of all members.

Public Types

typedef TF1 ModelFunction
typedef TF1 ModelFunction

Public Member Functions

 TChi2ExtendedFCN (const TVirtualFitter &fitter)
 ~TChi2ExtendedFCN ()
double operator() (const std::vector< double > &) const
double Up () const
void SetErrorDef (double up)
 TChi2ExtendedFCN (const TVirtualFitter &fitter)
 ~TChi2ExtendedFCN ()
double operator() (const std::vector< double > &) const
double Up () const
void SetErrorDef (double up)

Private Attributes

double fUp
ModelFunctionfFunc
TChi2ExtendedFitDatafData
ModelFunctionfFunc
TChi2ExtendedFitDatafData

Detailed Description

Extended Chi2 Fit method. Use errors in X as well, if asymmetric make them symmetric taking the average

Definition at line 27 of file TChi2ExtendedFCN.h.


Member Typedef Documentation

typedef TF1 TChi2ExtendedFCN::ModelFunction

Definition at line 32 of file TChi2ExtendedFCN.h.

typedef TF1 TChi2ExtendedFCN::ModelFunction

Definition at line 32 of file TChi2ExtendedFCN.h.


Constructor & Destructor Documentation

TChi2ExtendedFCN::TChi2ExtendedFCN ( const TVirtualFitter fitter  ) 

construct passing fitter which has ROOT data object and model function.

Definition at line 21 of file TChi2ExtendedFCN.cxx.

References fData, fFunc, TVirtualFitter::GetUserFunc(), TF1::SetNumberFitPoints(), and TChi2FitData::Size().

TChi2ExtendedFCN::~TChi2ExtendedFCN (  ) 

this class manages the fit data class. Delete it at the end

Definition at line 36 of file TChi2ExtendedFCN.cxx.

References fData.

TChi2ExtendedFCN::TChi2ExtendedFCN ( const TVirtualFitter fitter  ) 

construct passing fitter which has ROOT data object and model function.

TChi2ExtendedFCN::~TChi2ExtendedFCN (  ) 

this class manages the fit data class. Delete it at the end


Member Function Documentation

double TChi2ExtendedFCN::operator() ( const std::vector< double > &   )  const [virtual]

evaluate objective function

Implements ROOT::Minuit2::FCNBase.

Definition at line 45 of file TChi2ExtendedFCN.cxx.

References TChi2FitData::Coords(), TF1::Derivative(), TChi2ExtendedFitData::ErrorXLow(), TChi2ExtendedFitData::ErrorXUp(), TChi2ExtendedFitData::ErrorY(), TF1::EvalPar(), fData, fFunc, i, TF1::InitArgs(), n, TChi2FitData::Size(), TChi2FitData::Value(), x, and y.

double TChi2ExtendedFCN::Up (  )  const [inline, virtual]

return error definition for chi2 should be 1

Implements ROOT::Minuit2::FCNBase.

Definition at line 65 of file TChi2ExtendedFCN.h.

References fUp.

void TChi2ExtendedFCN::SetErrorDef ( double  up  )  [inline, virtual]

add interface to set dynamically a new error definition Re-implement this function if needed.

Reimplemented from ROOT::Minuit2::FCNBase.

Definition at line 67 of file TChi2ExtendedFCN.h.

References fUp.

double TChi2ExtendedFCN::operator() ( const std::vector< double > &   )  const [virtual]

evaluate objective function

Implements ROOT::Minuit2::FCNBase.

double TChi2ExtendedFCN::Up (  )  const [inline, virtual]

return error definition for chi2 should be 1

Implements ROOT::Minuit2::FCNBase.

Definition at line 65 of file TChi2ExtendedFCN.h.

References fUp.

void TChi2ExtendedFCN::SetErrorDef ( double  up  )  [inline, virtual]

add interface to set dynamically a new error definition Re-implement this function if needed.

Reimplemented from ROOT::Minuit2::FCNBase.

Definition at line 67 of file TChi2ExtendedFCN.h.

References fUp.


Member Data Documentation

double TChi2ExtendedFCN::fUp [private]

Definition at line 72 of file TChi2ExtendedFCN.h.

Referenced by SetErrorDef(), and Up().

ModelFunction* TChi2ExtendedFCN::fFunc [private]

Definition at line 73 of file TChi2ExtendedFCN.h.

Referenced by operator()(), and TChi2ExtendedFCN().

TChi2ExtendedFitData* TChi2ExtendedFCN::fData [private]

Definition at line 74 of file TChi2ExtendedFCN.h.

Referenced by operator()(), TChi2ExtendedFCN(), and ~TChi2ExtendedFCN().

ModelFunction* TChi2ExtendedFCN::fFunc [private]

Definition at line 73 of file TChi2ExtendedFCN.h.

TChi2ExtendedFitData* TChi2ExtendedFCN::fData [private]

Definition at line 74 of file TChi2ExtendedFCN.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:35:14 2011 for ROOT_528-00b_version by  doxygen 1.5.1