10.101 SCRAPER—A collimating element that sticks into the beam from one side only. The directions 0, 1, 2, and 3 are from +x, +y, -x, and -y, respectively.

A collimating element that sticks into the beam from one side only. The directions 0, 1, 2, and 3 are from +x, +y, -x, and -y, respectively.
Parallel capable? : yes
GPU capable? : yes
Back-tracking capable? : yes






Parameter Name Units Type Default

Description






L M double 0.0

length






XO M double 0.0

radiation length






ENERGY_DECAY long 0

If nonzero, then particles will lose energy due to material using a simple exponential model.






ENERGY_STRAGGLE long 0

Use simple-minded energy straggling model coupled with ENERGY_DECAY=1?






NUCLEAR_BREMSSTRAHLUNG long 0

Model energy loss to nuclear bremsstrahlung? If enabled, set ENERGY_DECAY=0 to disable simpler model.






ELECTRON_RECOIL long 0

If non-zero, electron recoil during Coulomb scattering is included (results in energy change).






Z long 0

Atomic number






A AMU double 0.0

Atomic mass






RHO KG∕M3double 0.0

Density






PLIMIT double 0.05

Probability cutoff for each slice






POSITION M double 0.0

position of edge






DX M double 0.0

misalignment






DY M double 0.0

misalignment






INSERT_FROM STRINGNULL

direction from which inserted (+x, -x, x, +y, -y, y)






DIRECTION long -1

Deprecated. use INSERT_FROM.






GROUP string NULL

Optionally used to assign an element to a group, with a user-defined name. Group names will appear in the parameter output file in the column ElementGroup






The method used for material modeling is the same as that used for the MATTER element.

The DIRECTION parameter is deprecated and the more versatile INSERT_FROM parameter should be used instead. The values for the latter determine from which side the scraper is inserted. E.g., INSERT_FROM="-x",POSITION=0.005 means the scraper is inserted from the negative x side and extends from x = -∞ to x = 0.005m.

INSERT_FROM="x" or INSERT_FROM="y" means the scraper is inserted from both sides, in which case the interpretation of the position is different. E.g., INSERT_FROM="x",POSITION=0.005 means that only the region x : [-0.005,0.005]m is clear.

SCRIPT