Logo ROOT  
Reference Guide
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 A point of a parabola.
20 
21 <p>
22 
23 ????!!!! in reality it is just a general point in two dimensional space,
24 there is nothing that would indicate, that it belongs to a parabola.
25 This class defines simpy an (x,y) pair!!!!
26 
27 @author Fred James and Matthias Winkler; comments added by Andras Zsenei
28 and Lorenzo Moneta
29 
30 @ingroup Minuit
31 
32 \todo Should it be called MnParabolaPoint or just Point?
33 
34  */
35 
37 
38 public:
39  /**
40 
41  Initializes the point with its coordinates.
42 
43  @param x the x (first) coordinate of the point.
44  @param y the y (second) coordinate of the point.
45 
46  */
47 
48  MnParabolaPoint(double x, double y) : fX(x), fY(y) {}
49 
51 
52  /**
53 
54  Accessor to the x (first) coordinate.
55 
56  @return the x (first) coordinate of the point.
57 
58  */
59 
60  double X() const { return fX; }
61 
62  /**
63 
64  Accessor to the y (second) coordinate.
65 
66  @return the y (second) coordinate of the point.
67 
68  */
69 
70  double Y() const { return fY; }
71 
72 private:
73  double fX;
74  double fY;
75 };
76 
77 } // namespace Minuit2
78 
79 } // namespace ROOT
80 
81 #endif // ROOT_Minuit2_MnParabolaPoint
ROOT::Minuit2::MnParabolaPoint
A point of a parabola.
Definition: MnParabolaPoint.h:36
ROOT::Minuit2::MnParabolaPoint::fY
double fY
Definition: MnParabolaPoint.h:74
x
Double_t x[n]
Definition: legend1.C:17
ROOT::Minuit2::MnParabolaPoint::fX
double fX
Definition: MnParabolaPoint.h:73
ROOT::Minuit2::MnParabolaPoint::~MnParabolaPoint
~MnParabolaPoint()
Definition: MnParabolaPoint.h:50
y
Double_t y[n]
Definition: legend1.C:17
ROOT::Minuit2::MnParabolaPoint::Y
double Y() const
Accessor to the y (second) coordinate.
Definition: MnParabolaPoint.h:70
ROOT::Minuit2::MnParabolaPoint::MnParabolaPoint
MnParabolaPoint(double x, double y)
Initializes the point with its coordinates.
Definition: MnParabolaPoint.h:48
ROOT::Minuit2::MnParabolaPoint::X
double X() const
Accessor to the x (first) coordinate.
Definition: MnParabolaPoint.h:60
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: EExecutionPolicy.hxx:4