![]() |
![]() |
The SPOTTRAN card is used in conjunction with SPOTBEAM, SPOTDIR, SPOTPOS, and SPOTTIME to define transformation of multiple beam spots. Warning : These five cards are activated only by indicatingSDUM= BEAMSPOT in the SPECSOUR card. Barring this, the spot cards will be discarded. See also SPOTBEAM, SPOTDIR, SPOTPOS, SPOTTIME For noSDUMorSDUM= DIRECT or INVERSE:WHAT(1)= index or name of the transformation to be applied to one or more beamlets A -99999 value means unit transformation, whichever other negative value resets to default Zero is ignoredDefault: 0 - no transformationWHAT(2)= index or name of a dummy transformation needed internally by the code. This transformation must be defined, and never used (it is internally overwritten)Default: 0 - no transformationWHAT(3)= not usedWHAT(4)= from spot numberWHAT(4)...Default: 0WHAT(5)= ... to spot numberWHAT(5)...Default:WHAT(4)WHAT(6)= ... in step ofWHAT(6)Default: 1SDUM: DIRECT : the WHAT(1/2) transformation is applied to the beam spot position and axes as well INVERSE: the WHAT(1/2) inverse transformation is applied to the beam spot position and axes noSDUM: no transformation is applied to the beam spot position and axesDefault: noSDUMWhen a beam spot in the range indicated by WHAT(4/5/6) is selected the transformation indicated inWHAT(2)is overwritten by the one indicated inWHAT(1). Please note that the transformationWHAT(2)is not restored after being overwritten ForSDUM= BACKTRACWHAT(1)= flag for enabling/disabling back-tracing >= 1: back-tracing is enabled =< -1: back-tracing is disabled Zero is ignoredDefault: 0 - no back-tracingWHAT(2)= back-tracing distance (cm) for what(1)=1: the beam position and angular spread are generated backward according to the nominal beam direction as defined by SPOTDIR at the requested distance from the spot nominal position point as defined by SPOTPOS (eg to generate them at a beam optics waist) and then the resulting beam moved forward by the same distance. for what(1)=2: the beam position and angular spread are generated at the nominal spot point as defined by SPOTPOS (eg isocentre), then the beam is backtraced by a distance equal to what(2)Default: 0 - no back-tracing distanceWHAT(3)= not usedWHAT(4)= from spot numberWHAT(4)...Default: 0WHAT(5)= ... to spot numberWHAT(5)...Default:WHAT(4)WHAT(6)= ... in step ofWHAT(6)Default: 1