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

A point in x-y.

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

Definition at line 28 of file MnPoint.h.

Public Member Functions

 MnPoint (double x, double y)
 Initializes the point with its coordinates.
 
double X () const
 Get the x (first) coordinate.
 
double Y () const
 Get the y (second) coordinate.
 

Private Attributes

double fX
 
double fY
 

#include <Minuit2/MnPoint.h>

Constructor & Destructor Documentation

◆ MnPoint()

ROOT::Minuit2::MnPoint::MnPoint ( double x,
double y )
inline

Initializes the point with its coordinates.

Parameters
xthe x (first) coordinate of the point.
ythe y (second) coordinate of the point.

Definition at line 35 of file MnPoint.h.

Member Function Documentation

◆ X()

double ROOT::Minuit2::MnPoint::X ( ) const
inline

Get the x (first) coordinate.

Definition at line 38 of file MnPoint.h.

◆ Y()

double ROOT::Minuit2::MnPoint::Y ( ) const
inline

Get the y (second) coordinate.

Definition at line 41 of file MnPoint.h.

Member Data Documentation

◆ fX

double ROOT::Minuit2::MnPoint::fX
private

Definition at line 44 of file MnPoint.h.

◆ fY

double ROOT::Minuit2::MnPoint::fY
private

Definition at line 45 of file MnPoint.h.

Libraries for ROOT::Minuit2::MnPoint:

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