Turning off magnetic fields?
From Anastatia Belozertseva:
Hello, I was just wondering how to go about controlling the magnetic field in MAUS switching it off completely. I can't seem to find the switch in the configuration files. Thanks, Anastasia
Updated by Tunnell, Christopher about 12 years ago
First, the default geometry that's used is specific in ConfigurationDefaults (click here).
That should say Stage6.dat (view the file here).
Which magnets are you wanting to turn off?
If you look here you can see where in Stage6.dat another MICE module is being called that stores the fields.
Looking in the CoilCurrent file that's referenced (click here) you should be able to sent the current density to zero.
PropertyDouble CurrentDensity 0.
For whatever magnets you want off.
You should check what I say (or maybe somebody else who does magnet stuff can comment). Most people turn off material and keep fields; not vice versa.