The Java Beamline Simulator: Conventions
Coordinates of the optical elements can be absolute (relative to the Laboratory reference system) or relative (relative to the optical path).
Xrays in the events and when stored in the optical elemnts are expressed in absolute coordinates
Before activating the transfer function Xrays are transformed in the coordinate system of the optical element and propagated in the plane Y=0. The transfer function is activated and the modified Xrays are transformed back in the coordinate system of the Laboratory.