#include <FitStrategy.h>
Inheritance diagram for SctFitter::FitStrategy:

Public Member Functions | |
| virtual void | fitTH1 (const TH1 &hist, TF1 &fit) const =0 throw (Sct::LogicError, Sct::MathsError) |
| Fit Root TH1 using the current options. | |
| virtual void | fitTGraph (const TGraph &graph, TF1 &fit) const =0 throw (Sct::LogicError, Sct::MathsError) |
| Fit Root TGraph using the current options. | |
| virtual void | fitTGraphErrors (const TGraphErrors &graph, TF1 &fit) const =0 throw (Sct::LogicError, Sct::MathsError) |
| Fit Root TGraph using the current options. | |
| virtual void | fitTGraphAsymmErrors (const TGraphAsymmErrors &graph, TF1 &fit) const =0 throw (Sct::LogicError, Sct::MathsError) |
| Fit Root TGraph using the current options. | |
| void | setOptions (string opt) throw () |
| const string & | getOptions () const throw () |
| virtual const string & | getName () const =0 throw () |
Protected Member Functions | |
| FitStrategy (string opt=string("")) throw () | |
| Clients can make a FitStrategy Object. | |
| virtual | ~FitStrategy () |
| virtual destructor. | |
Private Attributes | |
| string | options |
| a string containing fit options for this strategy | |
Allows easy switch from say ROOT fitting to a custom fitter. Concrete strategies should add themselves to the map using the addToMap function, at static initialization. It is assumed that:
o The histogram errors have been set
o The function limits have been set
o The histogram is truly a TH1 (not a silly ROOT TH2 which inherits from TH1!)
Definition at line 29 of file FitStrategy.h.
|
|
Clients can make a FitStrategy Object.
Definition at line 20 of file FitStrategy.cpp. |
|
|
virtual destructor.
Definition at line 14 of file FitStrategy.cpp. |
|
||||||||||||
|
Fit Root TGraph using the current options.
Implemented in SctFitter::MinuitFitStrategy, SctFitter::NagFitStrategy, and SctFitter::RootFitStrategy. Referenced by SctAnalysis::NPtGainAlgorithm::doFit(). |
|
||||||||||||
|
Fit Root TGraph using the current options.
Implemented in SctFitter::MinuitFitStrategy, SctFitter::NagFitStrategy, and SctFitter::RootFitStrategy. |
|
||||||||||||
|
Fit Root TGraph using the current options.
Implemented in SctFitter::MinuitFitStrategy, SctFitter::NagFitStrategy, and SctFitter::RootFitStrategy. |
|
||||||||||||
|
Fit Root TH1 using the current options.
Implemented in SctFitter::MinuitFitStrategy, SctFitter::NagFitStrategy, and SctFitter::RootFitStrategy. |
|
|
a string containing fit options for this strategy
Definition at line 69 of file FitStrategy.h. Referenced by getOptions(), and setOptions(). |
1.4.6