BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
MnParabolaPoint.h
Go to the documentation of this file.
1
// @(#)root/minuit2:$Id$
2
// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4
/**********************************************************************
5
* *
6
* Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7
* *
8
**********************************************************************/
9
10
#ifndef ROOT_Minuit2_MnParabolaPoint
11
#define ROOT_Minuit2_MnParabolaPoint
12
13
namespace
ROOT
{
14
15
namespace
Minuit2 {
16
17
18
19
/**
20
21
A point of a parabola.
22
23
<p>
24
25
????!!!! in reality it is just a general point in two dimensional space,
26
there is nothing that would indicate, that it belongs to a parabola.
27
This class defines simpy an (x,y) pair!!!!
28
29
@author Fred James and Matthias Winkler; comments added by Andras Zsenei
30
and Lorenzo Moneta
31
32
@ingroup Minuit
33
34
\todo Should it be called MnParabolaPoint or just Point?
35
36
*/
37
38
39
class
MnParabolaPoint
{
40
41
public
:
42
43
44
/**
45
46
Initializes the point with its coordinates.
47
48
@param x the x (first) coordinate of the point.
49
@param y the y (second) coordinate of the point.
50
51
*/
52
53
MnParabolaPoint
(
double
x,
double
y) :
fX
(x),
fY
(y) {}
54
55
~MnParabolaPoint
() {}
56
57
58
/**
59
60
Accessor to the x (first) coordinate.
61
62
@return the x (first) coordinate of the point.
63
64
*/
65
66
double
X
()
const
{
return
fX
;}
67
68
69
/**
70
71
Accessor to the y (second) coordinate.
72
73
@return the y (second) coordinate of the point.
74
75
*/
76
77
double
Y
()
const
{
return
fY
;}
78
79
private
:
80
81
double
fX
;
82
double
fY
;
83
};
84
85
}
// namespace Minuit2
86
87
}
// namespace ROOT
88
89
#endif
// ROOT_Minuit2_MnParabolaPoint
ROOT::Minuit2::MnParabolaPoint
Definition:
MnParabolaPoint.h:39
ROOT::Minuit2::MnParabolaPoint::fY
double fY
Definition:
MnParabolaPoint.h:82
ROOT::Minuit2::MnParabolaPoint::MnParabolaPoint
MnParabolaPoint(double x, double y)
Definition:
MnParabolaPoint.h:53
ROOT::Minuit2::MnParabolaPoint::fX
double fX
Definition:
MnParabolaPoint.h:81
ROOT::Minuit2::MnParabolaPoint::Y
double Y() const
Definition:
MnParabolaPoint.h:77
ROOT::Minuit2::MnParabolaPoint::~MnParabolaPoint
~MnParabolaPoint()
Definition:
MnParabolaPoint.h:55
ROOT::Minuit2::MnParabolaPoint::X
double X() const
Definition:
MnParabolaPoint.h:66
ROOT
Definition:
TUUID.h:7
Fit
3rdparty
RootMinimizers
Minuit2
MnParabolaPoint.h
Generated by
1.9.1