|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
About McXtrace Documentation |
4.2 The Slit McXtrace ComponentRectangular/circular slit
Identification
DescriptionBased on Slit-comp by Kim Lefmann and Henrik Roennow A simple rectangular or circular slit. You may either specify the radius (circular shape), which takes precedence, or rectangular bounds. No transmission around the slit is allowed. Example: Slit(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01) Slit(radius=0.01)
Input parametersParameters in boldface are required; the others are optional.
Links
A beam defining diaphragmThe component Slit is a very simple construction. It sets up an opening at \(z=0\), and propagates the photon rays onto this plane (by the kernel call PROP_Z0). Photons within the slit opening are unaffected, while all other photons are discarded by the kernel call ABSORB. By using Slit, some photons contributing to the background in a real experiment will be neglected. These are, for instance, the ones that scatter off the inner side of the slit, penetrate the slit material, or clear the outer edges of the slit. The opening of the slit is determined by specifying either a radius, a width (xwidth) and a height (yheight), or absolute limits in \(x\) and \(y\) (xmin, xmax, ymin, ymax), in order of precedence. If radius is set, the opening is considered circular. Slit may be used to model slit diffraction, thourgh judicious use of the resmapling parameters: focus_xw,focus_yh, focus_x0, focus_y0. The similarity in parameter naming for sources (chapter 3) is intentional as computationally the processes are the same. If present the focus parameters cause the ray to be regarded as a Huygens wave and a new direction going towards the resampling window is computed. The resulting difference in phase gives rise to maxima and minima as expected. This feature should be used with care: the further away from the optical axis, the more statistics and finer binning is needed to get meaningful results. Please refer to [BK+13] for more deatils. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||