Package cnuphys.magfield
Class TransverseSolenoidProbe
java.lang.Object
cnuphys.magfield.FieldProbe
cnuphys.magfield.SolenoidProbe
cnuphys.magfield.TransverseSolenoidProbe
- All Implemented Interfaces:
- IField
- 
Field SummaryFields inherited from class cnuphys.magfield.FieldProbe_field, _name, cosSect, q1Coordinate, q2Coordinate, q3Coordinate, ROOT3OVER2, sinSect, X, Y, Z
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a probe for use with the transverse solenoid field
- 
Method SummaryModifier and TypeMethodDescriptionvoidfield(float x, float y, float z, float[] result) Obtain the magnetic field at a given location expressed in Cartesian coordinates.Methods inherited from class cnuphys.magfield.FieldProbecontains, 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- 
TransverseSolenoidProbeCreate a probe for use with the transverse solenoid field- Parameters:
- field- the transverse solenoid field
 
 
- 
- 
Method Details- 
fieldpublic void field(float x, float y, float z, float[] result) Description copied from interface:IFieldObtain the magnetic field at a given location expressed in Cartesian coordinates. The field is returned as a Cartesian vector in kiloGauss.- Specified by:
- fieldin interface- IField
- Overrides:
- fieldin class- SolenoidProbe
- Parameters:
- x- the x coordinate in cm
- y- the y coordinate in cm
- z- the z coordinate in cm
- result- a float array holding the retrieved field in kiloGauss. The 0,1 and 2 indices correspond to x, y, and z components.
 
 
-