Package cnuphys.magfield
Class TorusProbe
java.lang.Object
cnuphys.magfield.FieldProbe
cnuphys.magfield.TorusProbe
- All Implemented Interfaces:
IField
- Author:
- gavalian
-
Field Summary
Fields inherited from class cnuphys.magfield.FieldProbe
_field, _name, cosSect, q1Coordinate, q2Coordinate, q3Coordinate, ROOT3OVER2, sinSect, X, Y, Z
-
Constructor Summary
ConstructorsConstructorDescriptionTorusProbe
(Torus field) Create a probe for use with the torusTorusProbe
(Torus field, boolean set) Create a probe for use with the torus Used only for the weird DoubleTorus -
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
-
TorusProbe
Create a probe for use with the torus- Parameters:
field
- the torus field
-
TorusProbe
Create a probe for use with the torus Used only for the weird DoubleTorus- Parameters:
field
- the torus field
-
-
Method Details
-
field
public void field(float x, float y, float z, float[] result) Get the field in kG- 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
-