Package cnuphys.magfield
Class StandardSolenoidProbe
java.lang.Object
cnuphys.magfield.FieldProbe
cnuphys.magfield.SolenoidProbe
cnuphys.magfield.StandardSolenoidProbe
- All Implemented Interfaces:
IField
-
Field Summary
Fields inherited from class cnuphys.magfield.FieldProbe
_field, _name, cosSect, q1Coordinate, q2Coordinate, q3Coordinate, ROOT3OVER2, sinSect, X, Y, Z
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
field
(float x, float y, float z, float[] result) Get the field in kGMethods inherited from class cnuphys.magfield.FieldProbe
contains, factory, factory, field, fieldMagnitude, getB1, getB2, getB3, getCompositeIndex, getField, getMaxFieldMagnitude, getName, getPhiCoordinate, getPhiMax, getPhiMin, getRCoordinate, getRhoMax, getRhoMin, getSector, getZCoordinate, getZMax, getZMin, gradient, isZeroField
-
Constructor Details
-
StandardSolenoidProbe
-
-
Method Details
-
field
public void field(float x, float y, float z, float[] result) Get the field in kG- Specified by:
field
in interfaceIField
- Overrides:
field
in classSolenoidProbe
- Parameters:
x
- the x coordinate in cmy
- the y coordinate in cmz
- the z coordinate in cmresult
- holds the resuts, the Cartesian coordinates of B in kG
-