![]() |
|
|||
File indexing completed on 2025-09-18 09:31:46
0001 // @(#)root/minuit2:$Id$ 0002 // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005 0003 0004 /********************************************************************** 0005 * * 0006 * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT * 0007 * * 0008 **********************************************************************/ 0009 0010 #ifndef ROOT_Minuit2_MnParabolaPoint 0011 #define ROOT_Minuit2_MnParabolaPoint 0012 0013 namespace ROOT { 0014 0015 namespace Minuit2 { 0016 0017 /** 0018 0019 A point of a parabola. 0020 0021 <p> 0022 0023 ????!!!! in reality it is just a general point in two dimensional space, 0024 there is nothing that would indicate, that it belongs to a parabola. 0025 This class defines simply an (x,y) pair!!!! 0026 0027 @author Fred James and Matthias Winkler; comments added by Andras Zsenei 0028 and Lorenzo Moneta 0029 0030 @ingroup Minuit 0031 0032 \todo Should it be called MnParabolaPoint or just Point? 0033 0034 */ 0035 0036 class MnParabolaPoint { 0037 0038 public: 0039 /** 0040 0041 Initializes the point with its coordinates. 0042 0043 @param x the x (first) coordinate of the point. 0044 @param y the y (second) coordinate of the point. 0045 0046 */ 0047 0048 MnParabolaPoint(double x, double y) : fX(x), fY(y) {} 0049 0050 /** 0051 0052 Accessor to the x (first) coordinate. 0053 0054 @return the x (first) coordinate of the point. 0055 0056 */ 0057 0058 double X() const { return fX; } 0059 0060 /** 0061 0062 Accessor to the y (second) coordinate. 0063 0064 @return the y (second) coordinate of the point. 0065 0066 */ 0067 0068 double Y() const { return fY; } 0069 0070 private: 0071 double fX; 0072 double fY; 0073 }; 0074 0075 } // namespace Minuit2 0076 0077 } // namespace ROOT 0078 0079 #endif // ROOT_Minuit2_MnParabolaPoint
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |