|
qupid 0.2
Quasi-Signal Generation Model for Pixelized Detector
|
Normalized Gaussian profiles. More...
Functions | |
| double | Simple1D (double x, double integral=1., double mean=0., double sigma=1.) |
| 1D Gaussian | |
| double | Simple2D (double x, double y, double integral=1., double meanx=0, double meany=0, double sigma=1.) |
| Isotropic 2D Gaussian | |
| double | UniAxis2D (double x, double y, double integral=1., double meanx=0., double meany=0., double sigmax=1., double sigmay=1.) |
| Axis-aligned elliptic 2D Gaussian | |
| double | RotAxis2D (double x, double y, double integral=1., double meanx=0., double meany=0., double sigmax=1., double sigmay=1., double rotation=0.) |
Elliptic 2D Gaussian with principal axes rotated by rotation: the offsets are first turned into the ellipse frame, | |
| double | Assymetry2D (double x, double y, double integral=1., double meanx=0., double meany=0., double sigmax=1., double sigmay=1., double rotation=0., double length=0., double tilt=0., double dispersion=1.) |
| Gaussian of an inclined track with depth-dependent widening. | |
| double | MatrixForm2D (QPVector &x, QPVector &x0, QPMatrix &S) |
| 2D Gaussian in covariance-matrix form, | |
Normalized Gaussian profiles.
integral is the total integral of the distribution — the deposited charge in electrons when the profile is used as a signal.
| double QPMath::Gaussian::Simple1D | ( | double | x, |
| double | integral = 1., |
||
| double | mean = 0., |
||
| double | sigma = 1. |
||
| ) |
1D Gaussian 
| x | evaluation point |
| integral | total integral |
| mean | mean |
| sigma | width |
x; 0 when 
Definition at line 10 of file QPMath.cpp.
References QPMath::Gaus().
Referenced by RotAxis2D(), Simple2D(), and UniAxis2D().
| double QPMath::Gaussian::Simple2D | ( | double | x, |
| double | y, | ||
| double | integral = 1., |
||
| double | meanx = 0, |
||
| double | meany = 0, |
||
| double | sigma = 1. |
||
| ) |
Isotropic 2D Gaussian 
| x | evaluation point x |
| y | evaluation point y |
| integral | total integral |
| meanx | mean |
| meany | mean |
| sigma | common width |

Definition at line 18 of file QPMath.cpp.
References QPMath::InvSqrt2Pi, QPMath::Power(), Simple1D(), and QPMath::Sqrt().
| double QPMath::Gaussian::UniAxis2D | ( | double | x, |
| double | y, | ||
| double | integral = 1., |
||
| double | meanx = 0., |
||
| double | meany = 0., |
||
| double | sigmax = 1., |
||
| double | sigmay = 1. |
||
| ) |
Axis-aligned elliptic 2D Gaussian ![$ \dfrac{I}{2\pi\sigma_x\sigma_y}
\exp\!\left(-\dfrac12\left[\dfrac{(x-\mu_x)^2}{\sigma_x^2}
+\dfrac{(y-\mu_y)^2}{\sigma_y^2}\right]\right) $](form_31.png)
| x | evaluation point x |
| y | evaluation point y |
| integral | total integral |
| meanx | mean |
| meany | mean |
| sigmax | width |
| sigmay | width |

Definition at line 29 of file QPMath.cpp.
References QPMath::InvSqrt2Pi, QPMath::Power(), Simple1D(), and QPMath::Sqrt().
| double QPMath::Gaussian::RotAxis2D | ( | double | x, |
| double | y, | ||
| double | integral = 1., |
||
| double | meanx = 0., |
||
| double | meany = 0., |
||
| double | sigmax = 1., |
||
| double | sigmay = 1., |
||
| double | rotation = 0. |
||
| ) |
Elliptic 2D Gaussian with principal axes rotated by rotation: the offsets are first turned into the ellipse frame, 
| x | evaluation point x |
| y | evaluation point y |
| integral | total integral |
| meanx | mean |
| meany | mean |
| sigmax | width |
| sigmay | width |
| rotation | axis rotation |

Definition at line 41 of file QPMath.cpp.
References QPMath::Cos(), QPMath::InvSqrt2Pi, QPMath::Power(), Simple1D(), QPMath::Sin(), and QPMath::Sqrt().
Referenced by Assymetry2D().
| double QPMath::Gaussian::Assymetry2D | ( | double | x, |
| double | y, | ||
| double | integral = 1., |
||
| double | meanx = 0., |
||
| double | meany = 0., |
||
| double | sigmax = 1., |
||
| double | sigmay = 1., |
||
| double | rotation = 0., |
||
| double | length = 0., |
||
| double | tilt = 0., |
||
| double | dispersion = 1. |
||
| ) |
Gaussian of an inclined track with depth-dependent widening.
With 



| x | evaluation point x |
| y | evaluation point y |
| integral | total integral |
| meanx | mean |
| meany | mean |
| sigmax | base width |
| sigmay | base width |
| rotation | axis rotation |
| length | depth offset |
| tilt | track tilt |
| dispersion | widening rate |

Definition at line 100 of file QPMath.cpp.
References QPMath::Cos(), RotAxis2D(), and QPMath::Sin().
2D Gaussian in covariance-matrix form,
![\[ p(\vec{x}) = \frac{1}{2\pi\sqrt{\det S}}
\exp\!\left(-\tfrac12(\vec{x}-\vec{x}_0)^{T} S^{-1}
(\vec{x}-\vec{x}_0)\right) \]](form_44.png)
evaluated with the hand-rolled QPMatrix inverse and determinant.
| x | evaluation point (first two components used) |
| x0 | mean |
| S | 2×2 matrix |
x Definition at line 56 of file QPMath.cpp.
References QPMatrix::Det(), QPMath::Exp(), QPMatrix::Inverse(), QPMath::InvPi, QPMath::Sqrt(), and QPMatrix::Transpose().
Referenced by QPSignalGaussian::GetPDF().