gov.sns.tools.beam.optics
Class BendingMagnet

java.lang.Object
  |
  +--gov.sns.tools.beam.optics.BendingMagnet

public class BendingMagnet
extends java.lang.Object


Constructor Summary
BendingMagnet()
           
 
Method Summary
static double compCurvature(IProbe probe, double dblFld)
          Compute the path curvature of a magnetic dipole for the given probe.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BendingMagnet

public BendingMagnet()
Method Detail

compCurvature

public static double compCurvature(IProbe probe,
                                   double dblFld)
Compute the path curvature of a magnetic dipole for the given probe. The path curvature is 1/R where R is the bending radius of the dipole (radius of curvature). Note that for zero fields the radius of curvature is infinite while the path curvature is zero.

Parameters:
probe - probe object to be deflected
dblFld - constant field strength of magnet
Returns:
dipole path curvature for given probe (in 1/meters)