Corrector magnet
Notes
It is assumed to go round a pipe. Pipe outer surface is added to the corrector magnet with
Mag->setCutSurf("Inner",Pipe,"LinkPoint");
Where pipe is some kind of FixedComp
.
The position of the corrector magnet is not a standard connection linkage. Expect to have to set a YStep
relative to something, or like the the middle of a pipe etc.
Generator function CorrectorMagGenerator
, has been provided. It has the additional flag to rotate the magnet around the Y axis by 90 deg. and we typically have two magnets in pairs down beamlines.
There are lots of corrector magnets in the MAX IV TDC geometry. For instance, check out segment 33, where vertical and horizontal corrector magnets are located at both ends of the segment:
maxiv -defaultConfig LINAC Segment33 -povray \\
-v InjectionHallFloorMat Void -v InjectionHallRoofMat Void \\
-v InjectionHallWallMat Void b
povray +A +W1600 +H1200 povray/tdc.pov
Build
Compilation instructions are described in this section.
make singleItem
MCNP geometry
singleItem --singleItem CorrectorMag a
FLUKA and
PHITS
models can be build by adding the -fluka
or
-phits
arguments.
POV-Ray scene
singleItem --singleItem CorrectorMag -povray b povray povray/singleItem.pov <<< '"CorrectorMag"'