ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
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
math
minuit2
inc
Minuit2
MnParabolaPoint.h
Generated on Tue May 5 2020 14:03:06 for ROOT by
1.8.5