|
JG ROOT Tools libraries
version 5.0 - august 2014
|
Go to the source code of this file.
Functions | |
| Double_t | RGaus2D_XYR (const Double_t x, const Double_t y, const Double_t Sx, const Double_t Sy, const Double_t Rho) |
| Double_t | RGaus2D_ABT (const Double_t x, const Double_t y, const Double_t Sa, const Double_t Sb, const Double_t Theta) |
| bool | REllipseABTtoXYR (const Double_t Sa, const Double_t Sb, const Double_t Theta, Double_t &Sx, Double_t &Sy, Double_t &Rho) |
| bool | REllipseXYRtoABT (const Double_t Sx, const Double_t Sy, const Double_t Rho, Double_t &Sa, Double_t &Sb, Double_t &Theta) |
Include file for 2D Gauss functions.
| Double_t RGaus2D_XYR | ( | const Double_t | x, |
| const Double_t | y, | ||
| const Double_t | Sx, | ||
| const Double_t | Sy, | ||
| const Double_t | Rho | ||
| ) |
2D Gauss function. Amplitude (maximum) is 1 and center at (0,0).
| x | point X coordinate |
| y | point Y coordinate |
| Sx | width along X axis |
| Sy | width along Y axis |
| Rho | correlation coefficient |
Referenced by RFitGaus2DFunction().
| Double_t RGaus2D_ABT | ( | const Double_t | x, |
| const Double_t | y, | ||
| const Double_t | Sa, | ||
| const Double_t | Sb, | ||
| const Double_t | Theta | ||
| ) |
2D Gauss function. Amplitude (maximum) is 1 and center at (0,0).
| x | point X coordinate |
| y | point Y coordinate |
| Sa | width along first principal axis |
| Sb | width along second principal axis |
| Theta | rotation angle of principal axis |
References PI.
Referenced by RFitGaus2DFunction().
| bool REllipseABTtoXYR | ( | const Double_t | Sa, |
| const Double_t | Sb, | ||
| const Double_t | Theta, | ||
| Double_t & | Sx, | ||
| Double_t & | Sy, | ||
| Double_t & | Rho | ||
| ) |
Function converting parameters (Sa,Sb,theta) (width along principal axis and rotation angle) to (Sa,Sb,theta) (width along X and Y and correlation coefficient). The function returns true if calculation is possible.
| Sa | width along first principal axis |
| Sb | width along second principal axis |
| Theta | rotation angle of principal axis |
| Sx | width along X axis |
| Sy | width along Y axis |
| Rho | correlation coefficient |
References PI.
Referenced by RGFitGaus2D::PointsToParamComponent(), and RGFitGaus2D::PointsToWidgetComponent().
| bool REllipseXYRtoABT | ( | const Double_t | Sx, |
| const Double_t | Sy, | ||
| const Double_t | Rho, | ||
| Double_t & | Sa, | ||
| Double_t & | Sb, | ||
| Double_t & | Theta | ||
| ) |
Function converting parameters (Sa,Sb,theta) (width along X and Y and correlation coefficient) to (Sa,Sb,theta) (width along principal axis and rotation angle). The function returns true if calculation is possible.
| Sx | width along X axis |
| Sy | width along Y axis |
| Rho | correlation coefficient |
| Sa | width along first principal axis |
| Sb | width along second principal axis |
| Theta | rotation angle of principal axis |
References PI.
Referenced by RFitGaus2D::DrawEllipse(), RFitGaus2D::GetEllipse(), RFitGaus2D::GetTheta(), RGFitGaus2D::ParamToPointComponent(), and RGFitGaus2D::WidgetsToPointComponent().