|
||||
File indexing completed on 2025-01-18 10:10:25
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 ~MnParabolaPoint() {} 0051 0052 /** 0053 0054 Accessor to the x (first) coordinate. 0055 0056 @return the x (first) coordinate of the point. 0057 0058 */ 0059 0060 double X() const { return fX; } 0061 0062 /** 0063 0064 Accessor to the y (second) coordinate. 0065 0066 @return the y (second) coordinate of the point. 0067 0068 */ 0069 0070 double Y() const { return fY; } 0071 0072 private: 0073 double fX; 0074 double fY; 0075 }; 0076 0077 } // namespace Minuit2 0078 0079 } // namespace ROOT 0080 0081 #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 |