Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Minuit2::MnParabola Class Reference

This class defines a parabola of the form a*x*x + b*x + c.

Author
Fred James and Matthias Winkler; comments added by Andras Zsenei and Lorenzo Moneta

Definition at line 30 of file MnParabola.h.

Public Member Functions

 MnParabola (double a, double b, double c)
 Constructor that initializes the parabola with its three parameters.
 
double A () const
 Get the coefficient of the quadratic term.
 
double B () const
 Get the coefficient of the linear term.
 
double C () const
 Get the coefficient of the constant term.
 
double Min () const
 Calculate the x coordinate of the Minimum of the parabola.
 
double Y (double x) const
 Evaluates the parabola a the point x.
 
double YMin () const
 Calculate the y coordinate of the Minimum of the parabola.
 

Private Attributes

double fA
 
double fB
 
double fC
 

#include <Minuit2/MnParabola.h>

Constructor & Destructor Documentation

◆ MnParabola()

ROOT::Minuit2::MnParabola::MnParabola ( double a,
double b,
double c )
inline

Constructor that initializes the parabola with its three parameters.

Parameters
athe coefficient of the quadratic term.
bthe coefficient of the linear term.
cthe constant.

Definition at line 38 of file MnParabola.h.

Member Function Documentation

◆ A()

double ROOT::Minuit2::MnParabola::A ( ) const
inline

Get the coefficient of the quadratic term.

Definition at line 50 of file MnParabola.h.

◆ B()

double ROOT::Minuit2::MnParabola::B ( ) const
inline

Get the coefficient of the linear term.

Definition at line 53 of file MnParabola.h.

◆ C()

double ROOT::Minuit2::MnParabola::C ( ) const
inline

Get the coefficient of the constant term.

Definition at line 56 of file MnParabola.h.

◆ Min()

double ROOT::Minuit2::MnParabola::Min ( ) const
inline

Calculate the x coordinate of the Minimum of the parabola.

Definition at line 44 of file MnParabola.h.

◆ Y()

double ROOT::Minuit2::MnParabola::Y ( double x) const
inline

Evaluates the parabola a the point x.

Definition at line 41 of file MnParabola.h.

◆ YMin()

double ROOT::Minuit2::MnParabola::YMin ( ) const
inline

Calculate the y coordinate of the Minimum of the parabola.

Definition at line 47 of file MnParabola.h.

Member Data Documentation

◆ fA

double ROOT::Minuit2::MnParabola::fA
private

Definition at line 59 of file MnParabola.h.

◆ fB

double ROOT::Minuit2::MnParabola::fB
private

Definition at line 60 of file MnParabola.h.

◆ fC

double ROOT::Minuit2::MnParabola::fC
private

Definition at line 61 of file MnParabola.h.

Libraries for ROOT::Minuit2::MnParabola:

The documentation for this class was generated from the following file: