Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

Fitter Class Reference

#include <Fitter.h>

Inheritance diagram for Fitter:

Inheritance graph
[legend]
Collaboration diagram for Fitter:

Collaboration graph
[legend]
List of all members.

Detailed Description

An HVisitor that fits TH1 histograms with a TF1 function.

Definition at line 16 of file Fitter.h.

Public Member Functions

 Fitter (TF1 *f1_, Option_t *option_, Option_t *goption_, Axis_t xmin_=0, Axis_t xmax_=0)
 Constructor, takes the same arguments as TH1::Fit.

virtual void visit (RegO &h) const
 The visit function.


Private Attributes

TF1 * f1
 The fit function.

Option_t * option
 The option.

Option_t * goption
 The global option.

Axis_t xmin
 The minimal abscissa value for the fit range.

Axis_t xmax
 The maximal abscissa value for the fit range.


Constructor & Destructor Documentation

Fitter::Fitter TF1 *  f1_,
Option_t *  option_,
Option_t *  goption_,
Axis_t  xmin_ = 0,
Axis_t  xmax_ = 0
[inline]
 

Constructor, takes the same arguments as TH1::Fit.

Parameters:
f1_  The fit function
option_  The option
goption_  The global option
xmin_  The minimal abscissa value for the fit range
xmax_  The maximal abscissa value for the fit range

Definition at line 19 of file Fitter.h.

References f1, goption, option, xmax, and xmin.


Member Function Documentation

virtual void Fitter::visit RegO h  )  const [inline, virtual]
 

The visit function.

Parameters:
h  The object to be visited

Implements ConstHVisitor.

Definition at line 28 of file Fitter.h.

References f1, goption, option, xmax, and xmin.


The documentation for this class was generated from the following file:
Generated on Thu Oct 26 12:54:34 2006 for SFH by doxygen 1.3.2