Index

A C D F G H I J K L M N O P Q R S T V W X Y Z _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

acos(double) - Static method in class cnuphys.magfield.FastMath
 
acos2Deg(double) - Static method in class cnuphys.magfield.FastMath
Arc cosine returned in degrees
add(IMagField) - Method in class cnuphys.magfield.CompositeField
 
addMagneticFieldChangeListener(MagneticFieldChangeListener) - Method in class cnuphys.magfield.MagneticFields
Add a magnetic field change listener
addToField(int, float[]) - Method in class cnuphys.magfield.Torus
Used to add the solenoid into the torus.
addTrajectory(double[], double[], double[], Color, Stroke) - Method in class cnuphys.magfield.MagneticFieldCanvas
Set a trajectory
angularUnit - Variable in class cnuphys.magfield.MagneticField
The angular unit.
AngularUnit - Enum Class in cnuphys.magfield
Angular units either DEGREES or RADIANS.
asciiFileToString(File) - Static method in class cnuphys.magfield.converter.AsciiReadSupport
Read an entire ascii file into a single string.
AsciiReader - Class in cnuphys.magfield.converter
Simplifies the reading of an ascii file.
AsciiReader(File) - Constructor for class cnuphys.magfield.converter.AsciiReader
Constructor
AsciiReader(File, int) - Constructor for class cnuphys.magfield.converter.AsciiReader
Constructor
AsciiReadSupport - Class in cnuphys.magfield.converter
Support for simpe ASCII reads
AsciiReadSupport() - Constructor for class cnuphys.magfield.converter.AsciiReadSupport
 
atan2(double, double) - Static method in class cnuphys.magfield.FastMath
Might use standard or fast atan2
atan2(float, float) - Static method in class cnuphys.magfield.FastMath
Might use standard or fast atan2
atan2(float, float) - Static method in class cnuphys.magfield.Icecore
 
atan2Deg(double, double) - Static method in class cnuphys.magfield.FastMath
Might use standard or fast atan2
atan2Deg(float, float) - Static method in class cnuphys.magfield.FastMath
Might use standard or fast atan2
avgField - Variable in class cnuphys.magfield.MagneticField
The average magnitude of the field.

C

calculate(double, double, double, float[]) - Method in class cnuphys.magfield.Cell3D
Calculate the field in kG
calculate(double, double, float[]) - Method in class cnuphys.magfield.Cell2D
Calculate the field in kG in cylindrical components
CARTESIAN - Enum constant in enum class cnuphys.magfield.CoordinateSystem
 
Cell2D - Class in cnuphys.magfield
 
Cell2D(FieldProbe) - Constructor for class cnuphys.magfield.Cell2D
Create a 2D cell (for solenoid)
Cell3D - Class in cnuphys.magfield
Cells are used by the probes. 3D cells for the torus, 2D cells for the solenoid.
Cell3D(FieldProbe) - Constructor for class cnuphys.magfield.Cell3D
Create a 3D cell (for Torus and Transverse solenoid)
changedScale(MagneticField) - Method in class cnuphys.magfield.MagneticFields
 
changedShift(MagneticField) - Method in class cnuphys.magfield.MagneticFields
 
changeFieldsAndMenus(double, double) - Method in class cnuphys.magfield.MagneticFields
This programatically adjusts everything for new scale factors.
clearTrajectories() - Method in class cnuphys.magfield.MagneticFieldCanvas
Remove all trajectories
clone() - Method in class cnuphys.magfield.GridCoordinate
Make a clone of this grid coordinate
CM - Enum constant in enum class cnuphys.magfield.LengthUnit
 
cnuphys.magfield - package cnuphys.magfield
 
cnuphys.magfield.converter - package cnuphys.magfield.converter
 
colors - Variable in class cnuphys.magfield.ColorScaleModel
The array of colors
ColorScaleModel - Class in cnuphys.magfield
 
ColorScaleModel(double[], Color[]) - Constructor for class cnuphys.magfield.ColorScaleModel
This creates a ColorScaleModel for converting a value into a color.
ColorScaleModel(String, double[], Color[]) - Constructor for class cnuphys.magfield.ColorScaleModel
This creates a ColorScaleModel for converting a value into a color.
ColorScaleModel(String, double[], Color[], int, int) - Constructor for class cnuphys.magfield.ColorScaleModel
This creates a ColorScaleModel for converting a value into a color.
commentChar - Static variable in class cnuphys.magfield.converter.AsciiReadSupport
 
compareTo(ZFile) - Method in class cnuphys.magfield.converter.ZFile
 
Comparison - Class in cnuphys.magfield
Used for testing only
Comparison() - Constructor for class cnuphys.magfield.Comparison
 
ComponentZoomer - Class in cnuphys.magfield
 
ComponentZoomer(IComponentZoomable) - Constructor for class cnuphys.magfield.ComponentZoomer
 
COMPOSITE - Enum constant in enum class cnuphys.magfield.MagneticFields.FieldType
 
CompositeField - Class in cnuphys.magfield
A composition of multiple magnetic field maps.
CompositeField() - Constructor for class cnuphys.magfield.CompositeField
 
CompositeProbe - Class in cnuphys.magfield
 
CompositeProbe(CompositeField) - Constructor for class cnuphys.magfield.CompositeProbe
Create a composite probe from a composite field.
COMPOSITEROTATED - Enum constant in enum class cnuphys.magfield.MagneticFields.FieldType
 
computeMaxField() - Method in class cnuphys.magfield.MagneticField
 
contained(double, double, double) - Method in class cnuphys.magfield.Cell3D
Check whether the cell boundaries (not the map boundaries) include the point
containedCylindrical(double, double) - Method in class cnuphys.magfield.Cell2D
Check whether the cell boundaries (not the map boundaries) include the point
contains(double, double, double) - Method in class cnuphys.magfield.CompositeField
 
contains(double, double, double) - Method in class cnuphys.magfield.FieldProbe
Check whether the field boundaries include the point
contains(double, double, double) - Method in interface cnuphys.magfield.IField
Check whether the field boundaries include the point
contains(double, double, double) - Method in interface cnuphys.magfield.IMagField
Checks whether the field boundary contain the given point.
contains(double, double, double) - Method in class cnuphys.magfield.MagneticField
Checks whether the field boundary contain the given point.
contains(double, double, double) - Method in class cnuphys.magfield.TransverseSolenoid
Checks whether the field boundary contain the given point.
contains(double, double, double) - Method in class cnuphys.magfield.ZeroProbe
 
Converter - Class in cnuphys.magfield.converter
Convert the new ascii maps to the old ascii format so that they can then be converted to binary.
Converter() - Constructor for class cnuphys.magfield.converter.Converter
 
ConverterSolenoid - Class in cnuphys.magfield.converter
 
ConverterSolenoid() - Constructor for class cnuphys.magfield.converter.ConverterSolenoid
 
convertGEMCtoBinary(String) - Static method in class cnuphys.magfield.converter.Converter
 
convertToBinary(ArrayList<ZFile>, ConverterSolenoid.GridData[]) - Static method in class cnuphys.magfield.converter.ConverterSolenoid
Convert to binary
convertToBinary(ArrayList<File>, Converter.GridData[]) - Static method in class cnuphys.magfield.converter.Converter
 
convertToGemc(ArrayList<ZFile>, ConverterSolenoid.GridData[]) - Static method in class cnuphys.magfield.converter.ConverterSolenoid
Convert to GEMC ascii
convertToGemc(ArrayList<File>, Converter.GridData[]) - Static method in class cnuphys.magfield.converter.Converter
 
CoordinateSystem - Enum Class in cnuphys.magfield
Different coordinate systems for either field or grid, for data in field map files.
cos(double) - Static method in class cnuphys.magfield.FastMath
Might use standard or fast cos
cos(float) - Static method in class cnuphys.magfield.FastMath.Riven
 
cosSect - Static variable in class cnuphys.magfield.FieldProbe
 
count() - Method in class cnuphys.magfield.TestData
 
countLines(File) - Static method in class cnuphys.magfield.converter.AsciiReadSupport
Count the lines in an ASCII file, without skipping comment
countNonCommentLines(File) - Static method in class cnuphys.magfield.converter.AsciiReadSupport
Counts the number of non-comment lines in a file
CYLINDRICAL - Enum constant in enum class cnuphys.magfield.CoordinateSystem
 

D

dateStringLong(long) - Static method in class cnuphys.magfield.MagneticFields
Returns the time as a string.
DEFAULT - Enum constant in enum class cnuphys.magfield.FastMath.MathLib
 
DEGREES - Enum constant in enum class cnuphys.magfield.AngularUnit
 
done() - Method in class cnuphys.magfield.converter.AsciiReader
Done reading
drawGrid(Graphics, Rectangle) - Method in class cnuphys.magfield.MagneticFieldCanvas
 
drawMagneticField(Graphics, Rectangle) - Method in class cnuphys.magfield.MagneticFieldCanvas
 
drawTrajectories(Graphics, Rectangle) - Method in class cnuphys.magfield.MagneticFieldCanvas
Draw a single trajectory

F

factory() - Static method in class cnuphys.magfield.FieldProbe
Get the appropriate probe for the active field
factory(IMagField) - Static method in class cnuphys.magfield.FieldProbe
Get the appropriate probe for the given field
FAST - Enum constant in enum class cnuphys.magfield.FastMath.MathLib
 
FastMath - Class in cnuphys.magfield
 
FastMath() - Constructor for class cnuphys.magfield.FastMath
 
FastMath.MathLib - Enum Class in cnuphys.magfield
Which atan2, etc. algorithms to use
FastMath.Riven - Class in cnuphys.magfield
 
field - Variable in class cnuphys.magfield.MagneticField
holds the field in a float buffer.
field(float, float, float, float[]) - Method in class cnuphys.magfield.CompositeProbe
 
field(float, float, float, float[]) - Method in interface cnuphys.magfield.IField
Obtain the magnetic field at a given location expressed in Cartesian coordinates.
field(float, float, float, float[]) - Method in class cnuphys.magfield.RotatedCompositeProbe
Obtain the magnetic field at a given location expressed in Cartesian coordinates.
field(float, float, float, float[]) - Method in class cnuphys.magfield.SolenoidProbe
 
field(float, float, float, float[]) - Method in class cnuphys.magfield.StandardSolenoidProbe
Get the field in kG
field(float, float, float, float[]) - Method in class cnuphys.magfield.TorusProbe
Get the field in kG
field(float, float, float, float[]) - Method in class cnuphys.magfield.TransverseSolenoidProbe
 
field(float, float, float, float[]) - Method in class cnuphys.magfield.ZeroProbe
 
field(int, float, float, float, float[]) - Method in class cnuphys.magfield.CompositeProbe
Obtain the magnetic field at a given location expressed in Cartesian coordinates for the sector system.
field(int, float, float, float, float[]) - Method in class cnuphys.magfield.FieldProbe
Obtain the magnetic field at a given location expressed in Cartesian coordinates in the sector (not lab or global) system.
field(int, float, float, float, float[]) - Method in interface cnuphys.magfield.IField
Obtain the magnetic field at a given location expressed in Cartesian coordinates for the sector system.
field(int, float, float, float, float[]) - Method in class cnuphys.magfield.RotatedCompositeProbe
Obtain the magnetic field at a given location expressed in Cartesian coordinates of the tilted sector system.
fieldCoordinateSystem - Variable in class cnuphys.magfield.MagneticField
The field coordinate system.
fieldMagnitude(float, float, float) - Method in class cnuphys.magfield.FieldProbe
Get the field magnitude in kiloGauss at a given location expressed in Cartesian coordinates.
fieldMagnitude(float, float, float) - Method in interface cnuphys.magfield.IField
Get the field magnitude in kiloGauss at a given location expressed in Cartesian coordinates.
fieldMagnitude(float, float, float) - Method in class cnuphys.magfield.ZeroProbe
 
fieldMagnitude(int) - Method in class cnuphys.magfield.MagneticField
Get the magnitude for a given index.
FieldProbe - Class in cnuphys.magfield
 
FieldProbe(IMagField) - Constructor for class cnuphys.magfield.FieldProbe
Create a probe, which is a thread safe way to use the field
fieldUnit - Variable in class cnuphys.magfield.MagneticField
The field unit.
FieldUnit - Enum Class in cnuphys.magfield
Units for the magnetic field in a field map file.
file - Variable in class cnuphys.magfield.converter.ZFile
 
fileBaseNames() - Method in class cnuphys.magfield.MagneticFields
Get a description of the torus and solenoid base file names
fixMenus() - Method in class cnuphys.magfield.MagneticFields
Make sure the menus are consistent.
fixText() - Method in class cnuphys.magfield.MisplacedPanel
 
fixText() - Method in class cnuphys.magfield.ScaleFieldPanel
 
FloatVect - Class in cnuphys.magfield
 
FloatVect() - Constructor for class cnuphys.magfield.FloatVect
 
FloatVect(float, float, float) - Constructor for class cnuphys.magfield.FloatVect
 
font - Variable in class cnuphys.magfield.MagneticFieldCanvas
 
font2 - Variable in class cnuphys.magfield.MagneticFieldCanvas
 
fromBinaryFile(File) - Static method in class cnuphys.magfield.StandardSolenoid
Obtain a solenoid object from a binary file, probably "clas12_solenoid_fieldmap_binary.dat"
fromBinaryFile(File) - Static method in class cnuphys.magfield.Torus
Obtain a torus object from a binary file, probably "clas12-fieldmap-torus.dat"
fromBinaryFile(File) - Static method in class cnuphys.magfield.TransverseSolenoid
Obtain a transverse solenoid object from a binary file.
fromInt(int) - Static method in enum class cnuphys.magfield.AngularUnit
Get the angular unit from an integer
fromInt(int) - Static method in enum class cnuphys.magfield.CoordinateSystem
Get the coordinate system from an integer
fromInt(int) - Static method in enum class cnuphys.magfield.FieldUnit
Get the field unit from an integer
fromInt(int) - Static method in enum class cnuphys.magfield.LengthUnit
Get the length unit from an integer

G

G - Enum constant in enum class cnuphys.magfield.FieldUnit
 
GEMCTransverseAsciiToBinary() - Static method in class cnuphys.magfield.converter.ConverterSolenoid
Convert the GEMCAsciiTransverseMap ToBinary
getActiveField() - Method in class cnuphys.magfield.MagneticFields
Get the active field
getActiveFieldDescription() - Method in class cnuphys.magfield.MagneticFields
Get a string description of the active field
getActiveFieldType() - Method in class cnuphys.magfield.MagneticFields
Get the field type of the active field
getB1(int) - Method in class cnuphys.magfield.CompositeField
 
getB1(int) - Method in class cnuphys.magfield.FieldProbe
Get B1 at a given composite index.
getB1(int) - Method in interface cnuphys.magfield.IMagField
Get B1 at a given index.
getB1(int) - Method in class cnuphys.magfield.MagneticField
Get the B1 component at a given composite index.
getB2(int) - Method in class cnuphys.magfield.CompositeField
 
getB2(int) - Method in class cnuphys.magfield.FieldProbe
Get B2 at a given index.
getB2(int) - Method in interface cnuphys.magfield.IMagField
Get B2 at a given index.
getB2(int) - Method in class cnuphys.magfield.MagneticField
Get the B2 component at a given composite index.
getB3(int) - Method in class cnuphys.magfield.CompositeField
 
getB3(int) - Method in class cnuphys.magfield.FieldProbe
Get B3 at a given composite index.
getB3(int) - Method in interface cnuphys.magfield.IMagField
Get B3 at a given index.
getB3(int) - Method in class cnuphys.magfield.MagneticField
Get the B3 component at a given composite index.
getBaseFileName() - Method in class cnuphys.magfield.MagneticField
Get the base file name of the field map
getBComponent(int, int) - Method in class cnuphys.magfield.MagneticField
Get a component of the magnetic field
getColor(double) - Method in class cnuphys.magfield.ColorScaleModel
Given a value, returns the corresponding color.
getColor(double, boolean) - Method in class cnuphys.magfield.ColorScaleModel
Given a value, returns the corresponding color.
getColors() - Method in class cnuphys.magfield.ColorScaleModel
Get the color array.
getComment() - Method in class cnuphys.magfield.ColorScaleModel
Get the comment of the color scale.
getComponent() - Method in interface cnuphys.magfield.IComponentZoomable
Get the component being zoomed
getComponent() - Method in class cnuphys.magfield.MagneticFieldCanvas
 
getCompositeField() - Method in class cnuphys.magfield.MagneticFields
Get the composite field
getCompositeIndex(int, int, int) - Method in class cnuphys.magfield.FieldProbe
Get the composite index to take me to the correct place in the buffer.
getCompositeIndex(int, int, int) - Method in class cnuphys.magfield.MagneticField
Get the composite index to take me to the correct place in the buffer.
getCoordinateIndices(int, int[]) - Method in class cnuphys.magfield.MagneticField
Convert a composite index back to the coordinate indices
getCreationDate() - Method in class cnuphys.magfield.MagneticField
Get the creation date
getCurrentConfiguration() - Method in class cnuphys.magfield.MagneticFields
 
getCurrentConfigurationMultiLine() - Method in class cnuphys.magfield.MagneticFields
 
getDelta() - Method in class cnuphys.magfield.GridCoordinate
Get the computed coordinate spacing.
getFakeZMax() - Method in class cnuphys.magfield.MagneticField
Get the fake z lim used to remove overlap with torus
getField() - Method in class cnuphys.magfield.FieldProbe
Get the underlying field
getFieldColors() - Static method in class cnuphys.magfield.MagneticFieldCanvas
Get the color array for the plot.
getFieldValues() - Static method in class cnuphys.magfield.MagneticFieldCanvas
Get the values array for the plot.
getFraction(double) - Method in class cnuphys.magfield.GridCoordinate
Get the fractional part for use in interpolation.
getIField(MagneticFields.FieldType) - Method in class cnuphys.magfield.MagneticFields
Get a specific field map.
getIndex(double) - Method in class cnuphys.magfield.GridCoordinate
Returns an index [0..numPoints-2] such that the grid values index and index+1 enclose the value.
getInstance() - Static method in class cnuphys.magfield.MagneticFields
public access to the singleton
getLocation(int, float[]) - Method in class cnuphys.magfield.MagneticField
Get the location at a given index
getMagneticFieldMenu() - Method in class cnuphys.magfield.MagneticFields
Get the magnetic field menu
getMagneticFieldMenu(boolean, boolean) - Method in class cnuphys.magfield.MagneticFields
Get the magnetic field menu
getMathLib() - Static method in class cnuphys.magfield.FastMath
Get the math lib being used
getMax() - Method in class cnuphys.magfield.GridCoordinate
Get the maximum value of the grid coordinate.
getMax(int) - Method in class cnuphys.magfield.GridCoordinate
Get the maximum for a given index
getMaxFieldMagnitude() - Method in class cnuphys.magfield.CompositeField
 
getMaxFieldMagnitude() - Method in class cnuphys.magfield.FieldProbe
Obtain the maximum field magnitude of any point in the map.
getMaxFieldMagnitude() - Method in interface cnuphys.magfield.IField
Get the maximum field magnitude in kiloGauss
getMaxFieldMagnitude() - Method in interface cnuphys.magfield.IMagField
Obtain the maximum field magnitude of any point in the map.
getMaxFieldMagnitude() - Method in class cnuphys.magfield.MagneticField
Obtain the maximum field magnitude of any point in the map.
getMaxFieldMagnitude() - Method in class cnuphys.magfield.ZeroProbe
 
getMaxValue() - Method in class cnuphys.magfield.ColorScaleModel
Get the maximum value of the values array.
getMin() - Method in class cnuphys.magfield.GridCoordinate
Get the minimum value of the grid coordinate.
getMin(int) - Method in class cnuphys.magfield.GridCoordinate
Get the minimum for a given index
getMinValue() - Method in class cnuphys.magfield.ColorScaleModel
Get the minimum value of the values array.
getName() - Method in class cnuphys.magfield.CompositeField
 
getName() - Method in class cnuphys.magfield.FieldProbe
Get the name of the field
getName() - Method in class cnuphys.magfield.GridCoordinate
Get the name of the coordinate
getName() - Method in interface cnuphys.magfield.IField
 
getName() - Method in interface cnuphys.magfield.IMagField
Get the name of the field
getName() - Method in class cnuphys.magfield.RotatedCompositeField
 
getName() - Method in class cnuphys.magfield.Solenoid
 
getName() - Method in class cnuphys.magfield.StandardSolenoid
Get the name of the field
getName() - Method in class cnuphys.magfield.Torus
Get the name of the field
getName() - Method in class cnuphys.magfield.TransverseSolenoid
 
getNonCommentLineCount() - Method in class cnuphys.magfield.converter.AsciiReader
 
getNumberOfRows() - Method in class cnuphys.magfield.ColorScaleModel
 
getNumPoints() - Method in class cnuphys.magfield.GridCoordinate
Get the number of points on the grid (including endpoints).
getPanelWithStatus(int, int) - Method in class cnuphys.magfield.MagneticFieldCanvas
 
getPhiCoordinate() - Method in class cnuphys.magfield.FieldProbe
 
getPhiCoordinate() - Method in class cnuphys.magfield.MagneticField
Get the phi coordinate which will be q1
getPhiMax() - Method in class cnuphys.magfield.FieldProbe
Get the maximum phi coordinate of the field boundary (deg)
getPhiMax() - Method in class cnuphys.magfield.Torus
Get the maximum phi coordinate of the field boundary (deg)
getPhiMin() - Method in class cnuphys.magfield.FieldProbe
Get the minimum phi coordinate of the field boundary (deg)
getPhiMin() - Method in class cnuphys.magfield.Torus
Get the minimum phi coordinate of the field boundary (deg)
getPrecision() - Method in class cnuphys.magfield.ColorScaleModel
Get the precision used for display.
getQ1Coordinate() - Method in class cnuphys.magfield.MagneticField
Get the q1 coordinate.
getQ2Coordinate() - Method in class cnuphys.magfield.MagneticField
Get the q2 coordinate.
getQ3Coordinate() - Method in class cnuphys.magfield.MagneticField
Get the q3 coordinate.
getRCoordinate() - Method in class cnuphys.magfield.FieldProbe
 
getRCoordinate() - Method in class cnuphys.magfield.MagneticField
Get the R (rho) coordinate which will be q2
getRhoMax() - Method in class cnuphys.magfield.FieldProbe
Get the maximum rho coordinate of the field boundary
getRhoMax() - Method in class cnuphys.magfield.MagneticField
 
getRhoMin() - Method in class cnuphys.magfield.FieldProbe
Get the minimum rho coordinate of the field boundary
getRhoMin() - Method in class cnuphys.magfield.MagneticField
 
getRotatedCompositeField() - Method in class cnuphys.magfield.MagneticFields
Get the rotated composite field
getRoundedIndex(double) - Method in class cnuphys.magfield.GridCoordinate
Gets the nearest index [0..numPoints-1] for nearest neighbor
getScaleFactor() - Method in class cnuphys.magfield.CompositeField
 
getScaleFactor() - Method in interface cnuphys.magfield.IMagField
Get the scale factor
getScaleFactor() - Method in class cnuphys.magfield.MagneticField
 
getScaleFactor(MagneticFields.FieldType) - Method in class cnuphys.magfield.MagneticFields
Get the scale factor got the field type.
getSector(double) - Method in class cnuphys.magfield.FieldProbe
Get the sector [1..6] from the phi value
getSector(double) - Static method in class cnuphys.magfield.MagneticFields
Get the sector [1..6] from the phi value
getSector(double, double) - Static method in class cnuphys.magfield.MagneticFields
Get the sector [1..6] from the lab x and y coordinates
getShiftX() - Method in class cnuphys.magfield.MagneticField
Get the shift in x.
getShiftY() - Method in class cnuphys.magfield.MagneticField
Get the shift in y.
getShiftZ() - Method in class cnuphys.magfield.MagneticField
Get the shift in z.
getShiftZ(MagneticFields.FieldType) - Method in class cnuphys.magfield.MagneticFields
Get the shift Z given the field type.
getSolenoid() - Method in class cnuphys.magfield.MagneticFields
Get the solenoid field
getSolenoidBaseName() - Method in class cnuphys.magfield.MagneticFields
Get the solenoid file base name
getSolenoidPath() - Method in class cnuphys.magfield.MagneticFields
Get the full solenoid path
getTestMenu() - Static method in class cnuphys.magfield.MagTests
 
getTooBigColor() - Method in class cnuphys.magfield.ColorScaleModel
Get the too-big color.
getTooSmallColor() - Method in class cnuphys.magfield.ColorScaleModel
Get the too-small color.
getTorus() - Method in class cnuphys.magfield.MagneticFields
Get the torus field
getTorusBaseName() - Method in class cnuphys.magfield.MagneticFields
Get the torus file base name
getTorusPath() - Method in class cnuphys.magfield.MagneticFields
Get the full torus path
getValue(int) - Method in class cnuphys.magfield.GridCoordinate
Get the value at a given index.
getValues() - Method in class cnuphys.magfield.ColorScaleModel
Get the values array.
getValues() - Method in class cnuphys.magfield.GridCoordinate
Get the values of the grid points
getVersion() - Method in class cnuphys.magfield.MagneticFields
Get the version of the magfield package
getWorldSystem() - Method in interface cnuphys.magfield.IComponentZoomable
Get the current world system
getWorldSystem() - Method in class cnuphys.magfield.MagneticFieldCanvas
 
getXCoordinate() - Method in class cnuphys.magfield.MagneticField
Get the x coordinate which will be q1
getYCoordinate() - Method in class cnuphys.magfield.MagneticField
Get the y coordinate which will be q2
getZCoordinate() - Method in class cnuphys.magfield.FieldProbe
 
getZCoordinate() - Method in class cnuphys.magfield.MagneticField
Get the z coordinate which will be q3
getZMax() - Method in class cnuphys.magfield.FieldProbe
Get the maximum z coordinate of the field boundary
getZMax() - Method in class cnuphys.magfield.MagneticField
 
getZMin() - Method in class cnuphys.magfield.FieldProbe
Get the minimum z coordinate of the field boundary
getZMin() - Method in class cnuphys.magfield.MagneticField
 
gradient(float, float, float, float[]) - Method in class cnuphys.magfield.CompositeProbe
Obtain an approximation for the magnetic field gradient at a given location expressed in Cartesian coordinates.
gradient(float, float, float, float[]) - Method in class cnuphys.magfield.FieldProbe
Obtain an approximation for the magnetic field gradient at a given location expressed in Cartesian coordinates.
gradient(float, float, float, float[]) - Method in interface cnuphys.magfield.IField
Obtain an approximation for the magnetic field gradient at a given location expressed in Cartesian coordinates.
gradient(float, float, float, float[]) - Method in class cnuphys.magfield.RotatedCompositeProbe
Obtain an approximation for the magnetic field gradient at a given location expressed in Cartesian coordinates.
gradient(float, float, float, float[]) - Method in class cnuphys.magfield.ZeroProbe
 
GridCoordinate - Class in cnuphys.magfield
This class holds the grid parameters for one direction.
GridCoordinate(String, double, double, int) - Constructor for class cnuphys.magfield.GridCoordinate
Construct a grid coordinate.
GridCoordinate(String, float, float, int) - Constructor for class cnuphys.magfield.GridCoordinate
Construct a grid coordinate.
gridCoordinateSystem - Variable in class cnuphys.magfield.MagneticField
The grid coordinate system.

H

hasActiveSolenoid() - Method in class cnuphys.magfield.MagneticFields
Check whether we have an active solenoid field
hasActiveTorus() - Method in class cnuphys.magfield.MagneticFields
Check whether we have an active torus field
hasSolenoid() - Method in class cnuphys.magfield.CompositeField
Check whether we have a solenoid field
hasSolenoid() - Method in class cnuphys.magfield.CompositeProbe
Check whether we have a solenoid field
hasTorus() - Method in class cnuphys.magfield.CompositeField
Check whether we have a torus field
hasTorus() - Method in class cnuphys.magfield.CompositeProbe
Check whether we have a torus field
hasTransverseSolenoid() - Method in class cnuphys.magfield.CompositeField
Check whether we have a transverse solenoid field
highTime - Variable in class cnuphys.magfield.MagneticField
high word of unix creation time
hypot(double, double) - Static method in class cnuphys.magfield.FastMath
 

I

Icecore - Class in cnuphys.magfield
 
Icecore() - Constructor for class cnuphys.magfield.Icecore
 
IComponentZoomable - Interface in cnuphys.magfield
 
IField - Interface in cnuphys.magfield
The Interface IField.
IMagField - Interface in cnuphys.magfield
 
initializeMagneticFields() - Method in class cnuphys.magfield.MagneticFields
Tries to load the magnetic fields from fieldmaps
initializeMagneticFields(String, String, String) - Method in class cnuphys.magfield.MagneticFields
Initialize the magnetic field package
initializeMagneticFields(String, String, String, String) - Method in class cnuphys.magfield.MagneticFields
Deprecated. 
initializeMagneticFieldsFromEnv() - Method in class cnuphys.magfield.MagneticFields
Attempts to initialize the magnetic fields using the property or environment variables TORUSMAP and SOLENOIDMAP as full paths to the torus and solenoid
initializeMagneticFieldsFromPath(String, String) - Method in class cnuphys.magfield.MagneticFields
Initialize the field from the two full paths.
inRange(double) - Method in class cnuphys.magfield.GridCoordinate
Check whether a value is in range
isActive() - Method in class cnuphys.magfield.MagneticField
Checks this field active.
isActive() - Method in class cnuphys.magfield.Solenoid
 
isActive() - Method in class cnuphys.magfield.StandardSolenoid
Checks this field active.
isActive() - Method in class cnuphys.magfield.Torus
Checks this field active.
isActive() - Method in class cnuphys.magfield.TransverseSolenoid
Checks this field active.
isCompositeField() - Method in class cnuphys.magfield.MagneticFields
Is the active field composite
isFullMap() - Method in class cnuphys.magfield.Torus
Check whether there is an assume 12-fold symmetry
isInterpolate() - Static method in class cnuphys.magfield.MagneticField
Check whether we interpolate or use nearest neighbor
isMisaligned() - Method in class cnuphys.magfield.MagneticField
Is the map misaligned in any direction?
isMisalignedX() - Method in class cnuphys.magfield.MagneticField
Is the map misaligned in the X direction?
isMisalignedY() - Method in class cnuphys.magfield.MagneticField
Is the map misaligned in the Y direction?
isMisalignedZ() - Method in class cnuphys.magfield.MagneticField
Is the map misaligned in the Z direction?
isProbeOrCompositeProbe(IField) - Method in class cnuphys.magfield.MagneticFields
Is this a probe or a composite probe?
isSolenoidAdded() - Method in class cnuphys.magfield.Torus
Has part of the solenoid been added in to remove the overlap?
isSolenoidOnly() - Method in class cnuphys.magfield.MagneticFields
Is the active field solenoid only
isTorusOnly() - Method in class cnuphys.magfield.MagneticFields
Is the active field torus only
isZeroField() - Method in class cnuphys.magfield.CompositeField
Checks whether the field has been set to always return zero.
isZeroField() - Method in class cnuphys.magfield.CompositeProbe
Checks whether the field has been set to always return zero.
isZeroField() - Method in class cnuphys.magfield.FieldProbe
Checks whether the field has been set to always return zero.
isZeroField() - Method in interface cnuphys.magfield.IField
Check whether this field is the zero field (possibly because the scale factor is set to 0)
isZeroField() - Method in interface cnuphys.magfield.IMagField
Checks whether the field has been set to always return zero.
isZeroField() - Method in class cnuphys.magfield.MagneticField
Checks whether the field has been set to always return zero.
isZeroField() - Method in class cnuphys.magfield.Solenoid
Checks whether the field has been set to always return zero.
isZeroField() - Method in class cnuphys.magfield.Torus
Checks whether the field has been set to always return zero.
isZeroField() - Method in class cnuphys.magfield.ZeroProbe
 
iVal - Variable in class cnuphys.magfield.converter.AsciiReader
 

J

javaVersion - Variable in class cnuphys.magfield.TestData
 

K

kG - Enum constant in enum class cnuphys.magfield.FieldUnit
 

L

labToSector(int, float[], float, float, float) - Static method in class cnuphys.magfield.MagneticFields
Converts the clas (lab) 3D coordinates to sector 3D coordinates to
lengthUnit - Variable in class cnuphys.magfield.MagneticField
The length unit.
LengthUnit - Enum Class in cnuphys.magfield
Length unit, either CM or M.
lineColor - Variable in class cnuphys.magfield.MagneticFieldCanvas.Trajectory
 
localToWorld(Point, Point2D.Double) - Method in interface cnuphys.magfield.IComponentZoomable
Convert a screen point to a world point
localToWorld(Point, Point2D.Double) - Method in class cnuphys.magfield.MagneticFieldCanvas
This converts a screen or pixel point to a world point.
localToWorld(Rectangle, Rectangle2D.Double) - Method in class cnuphys.magfield.ComponentZoomer
 
LOGGER - Static variable in class cnuphys.magfield.MagneticField
 
LOGGER - Static variable in class cnuphys.magfield.MagneticFields
 
LOGGER - Static variable in class cnuphys.magfield.Torus
 
lowTime - Variable in class cnuphys.magfield.MagneticField
low word of unix creation time

M

M - Enum constant in enum class cnuphys.magfield.LengthUnit
 
MAGICNUMBER - Static variable in class cnuphys.magfield.MagneticField
Magic number used to check if byteswapping is necessary.
MagneticField - Class in cnuphys.magfield
For magnetic fields stored in a specific format.
MagneticField() - Constructor for class cnuphys.magfield.MagneticField
 
MagneticFieldCanvas - Class in cnuphys.magfield
 
MagneticFieldCanvas(int, double, double, double, double, MagneticFieldCanvas.CSType) - Constructor for class cnuphys.magfield.MagneticFieldCanvas
Create a canvas
MagneticFieldCanvas.CSType - Enum Class in cnuphys.magfield
 
MagneticFieldCanvas.Trajectory - Class in cnuphys.magfield
 
magneticFieldChanged() - Method in interface cnuphys.magfield.MagneticFieldChangeListener
 
MagneticFieldChangeListener - Interface in cnuphys.magfield
 
MagneticFieldInitializationException - Exception in cnuphys.magfield
 
MagneticFieldInitializationException() - Constructor for exception cnuphys.magfield.MagneticFieldInitializationException
 
MagneticFields - Class in cnuphys.magfield
Static support for magnetic fields
MagneticFields.FieldType - Enum Class in cnuphys.magfield
 
MagTests - Class in cnuphys.magfield
Static testing of the magnetic field
MagTests() - Constructor for class cnuphys.magfield.MagTests
 
main(String[]) - Static method in class cnuphys.magfield.converter.Converter
 
main(String[]) - Static method in class cnuphys.magfield.converter.ConverterSolenoid
 
main(String[]) - Static method in class cnuphys.magfield.MagneticFields
For testing and also as an example
main(String[]) - Static method in class cnuphys.magfield.StandardSolenoid
main method used for testing.
maxCompDiff() - Method in class cnuphys.magfield.Comparison
 
maxField - Variable in class cnuphys.magfield.MagneticField
The maximum magnitude of the field.
maxFieldIndex - Variable in class cnuphys.magfield.MagneticField
Index where max field magnitude resides
maxFieldLocation - Variable in class cnuphys.magfield.MagneticField
The location of the maximum field.
maxFieldMagnitude() - Method in class cnuphys.magfield.MagneticField
Get the maximum field magnitude.
maxFieldMagnitude() - Method in class cnuphys.magfield.MagneticFields
Get the maximum value of the active field in kG
maxVectorField - Variable in class cnuphys.magfield.MagneticField
The max vector field.
memoryReport(String) - Static method in class cnuphys.magfield.MagTests
Print a memory report
memoryToGEMCSolenoidConverter() - Static method in class cnuphys.magfield.converter.Converter
Convert the in memory solenoid to GEMC format
memoryToGEMCTorusConverter() - Static method in class cnuphys.magfield.converter.Converter
Convert the in memory torus to GEMC format
MISALIGNTOL - Static variable in class cnuphys.magfield.MagneticField
misalignment tolerance
MisplacedPanel - Class in cnuphys.magfield
 
MisplacedPanel(MagneticFields.FieldType, String, double, int) - Constructor for class cnuphys.magfield.MisplacedPanel
 
mouseClicked(MouseEvent) - Method in class cnuphys.magfield.ComponentZoomer
 
mouseDragged(MouseEvent) - Method in class cnuphys.magfield.ComponentZoomer
 
mouseEntered(MouseEvent) - Method in class cnuphys.magfield.ComponentZoomer
 
mouseExited(MouseEvent) - Method in class cnuphys.magfield.ComponentZoomer
 
mouseMoved(MouseEvent) - Method in class cnuphys.magfield.ComponentZoomer
 
mousePressed(MouseEvent) - Method in class cnuphys.magfield.ComponentZoomer
 
mouseReleased(MouseEvent) - Method in class cnuphys.magfield.ComponentZoomer
 

N

newResult - Variable in class cnuphys.magfield.Comparison
 
nextNonComment(BufferedReader) - Static method in class cnuphys.magfield.converter.AsciiReadSupport
Get the next non comment line
nextTokens(BufferedReader) - Static method in class cnuphys.magfield.converter.AsciiReadSupport
Get the next tokens from a buffered reader
notifyListeners() - Method in class cnuphys.magfield.MagneticFields
Notify all listeners that a change has occurred in the magnetic fields
numFieldPoints - Variable in class cnuphys.magfield.MagneticField
Total number of field points.

O

oldResult - Variable in class cnuphys.magfield.Comparison
 
openNewTorus() - Method in class cnuphys.magfield.MagneticFields
Open a new torus map from the file selector
openNewTorus(String) - Method in class cnuphys.magfield.MagneticFields
Open a new torus map from a full path
openSolenoid(File, boolean) - Method in class cnuphys.magfield.MagneticFields
Open a new solenoid map from a file

P

paintComponent(Graphics) - Method in class cnuphys.magfield.MagneticFieldCanvas
 
printConfiguration(PrintStream) - Method in class cnuphys.magfield.CompositeField
Print the current configuration
printConfiguration(PrintStream) - Method in interface cnuphys.magfield.IMagField
Print the current configuration
printConfiguration(PrintStream) - Method in class cnuphys.magfield.RotatedCompositeField
Print the current configuration
printConfiguration(PrintStream) - Method in class cnuphys.magfield.Solenoid
 
printConfiguration(PrintStream) - Method in class cnuphys.magfield.StandardSolenoid
Print the current configuration
printConfiguration(PrintStream) - Method in class cnuphys.magfield.Torus
Print the current configuration
printConfiguration(PrintStream) - Method in class cnuphys.magfield.TransverseSolenoid
Print the current configuration
printCurrentConfiguration(PrintStream) - Method in class cnuphys.magfield.MagneticFields
Print a one line version of the magnetic field configuration
probes - Variable in class cnuphys.magfield.CompositeProbe
 
processLine(String) - Method in class cnuphys.magfield.converter.AsciiReader
Process one non comment line from the file.

Q

q1Coordinate - Variable in class cnuphys.magfield.FieldProbe
Holds the grid info for the slowest changing coordinate.
q1Coordinate - Variable in class cnuphys.magfield.MagneticField
Holds the grid info for the slowest changing coordinate (as stored in the file).
q1Max - Variable in class cnuphys.magfield.Cell3D
 
q1Min - Variable in class cnuphys.magfield.Cell3D
 
q2Coordinate - Variable in class cnuphys.magfield.FieldProbe
Holds the grid info for the medium changing coordinate This is cloned from the field.
q2Coordinate - Variable in class cnuphys.magfield.MagneticField
Holds the grid info for the medium changing coordinate (as stored in the file).
q2Max - Variable in class cnuphys.magfield.Cell2D
 
q2Max - Variable in class cnuphys.magfield.Cell3D
 
q2Min - Variable in class cnuphys.magfield.Cell2D
 
q2Min - Variable in class cnuphys.magfield.Cell3D
 
q3Coordinate - Variable in class cnuphys.magfield.FieldProbe
Holds the grid info for the fastest changing coordinate This is cloned from the field.
q3Coordinate - Variable in class cnuphys.magfield.MagneticField
Holds the grid info for the fastest changing coordinate (as stored in the file).
q3Max - Variable in class cnuphys.magfield.Cell2D
 
q3Max - Variable in class cnuphys.magfield.Cell3D
 
q3Min - Variable in class cnuphys.magfield.Cell2D
 
q3Min - Variable in class cnuphys.magfield.Cell3D
 

R

RADIANS - Enum constant in enum class cnuphys.magfield.AngularUnit
 
readAsciiTorus(String) - Static method in class cnuphys.magfield.ToAscii
 
readBinaryMagneticField(File) - Method in class cnuphys.magfield.MagneticField
Read a magnetic field from a binary file.
rectangleFromPoints(Point, Point) - Static method in class cnuphys.magfield.ComponentZoomer
Given two points, return the rectangle
removeMagneticFieldChangeListener(MagneticFieldChangeListener) - Method in class cnuphys.magfield.MagneticFields
Remove a MagneticFieldChangeListener.
removeMapOverlap() - Method in class cnuphys.magfield.MagneticFields
Removes the overlap between the solenoid and the torus.
reserved3 - Variable in class cnuphys.magfield.MagneticField
reserved word
reserved4 - Variable in class cnuphys.magfield.MagneticField
reserved word
reserved5 - Variable in class cnuphys.magfield.MagneticField
reserved word
reset() - Method in class cnuphys.magfield.Cell2D
 
result - Variable in class cnuphys.magfield.TestData
 
Riven() - Constructor for class cnuphys.magfield.FastMath.Riven
 
ROOT3OVER2 - Static variable in class cnuphys.magfield.FieldProbe
 
RotatedCompositeField - Class in cnuphys.magfield
 
RotatedCompositeField() - Constructor for class cnuphys.magfield.RotatedCompositeField
 
RotatedCompositeProbe - Class in cnuphys.magfield
 
RotatedCompositeProbe(RotatedCompositeField) - Constructor for class cnuphys.magfield.RotatedCompositeProbe
 
runTests() - Static method in class cnuphys.magfield.MagTests
 

S

ScaleFieldPanel - Class in cnuphys.magfield
 
ScaleFieldPanel(MagneticFields.FieldType, String, double) - Constructor for class cnuphys.magfield.ScaleFieldPanel
 
sectorToLab(int, float[], float, float, float) - Static method in class cnuphys.magfield.MagneticFields
Converts the sector 3D coordinates to clas (lab) 3D coordinates
serialRead(String) - Static method in class cnuphys.magfield.TestData
Reads a serializable object from a file.
serialWrite(TestData, String) - Static method in class cnuphys.magfield.TestData
serialWrite writes out a TestData object to a file.
setActiveField(IMagField) - Method in class cnuphys.magfield.MagneticFields
Sets the active field
setActiveField(MagneticFields.FieldType) - Method in class cnuphys.magfield.MagneticFields
Sets the active field
setAffineTransforms() - Method in class cnuphys.magfield.MagneticFieldCanvas
 
setCoordinateNames(String, String, String) - Method in class cnuphys.magfield.MagneticField
Set the names of the coordinate grid directions.
setEnabled(boolean) - Method in class cnuphys.magfield.MisplacedPanel
 
setEnabled(boolean) - Method in class cnuphys.magfield.ScaleFieldPanel
 
setExtraText(String) - Method in class cnuphys.magfield.MagneticFieldCanvas
 
setFakeZMax(double) - Method in class cnuphys.magfield.MagneticField
Set the fake z lim used to remove overlap with torus
setInterpolate(boolean) - Static method in class cnuphys.magfield.MagneticField
Set whether we interpolate or use nearest neighbor
setMathLib(FastMath.MathLib) - Static method in class cnuphys.magfield.FastMath
Set the math library to use
setName(String) - Method in class cnuphys.magfield.GridCoordinate
Set the name of the grid coordinate.
setScaleFactor(double) - Method in class cnuphys.magfield.MagneticField
Scale the field.
setSector(int) - Method in class cnuphys.magfield.MagneticFieldCanvas
 
setShiftX(double) - Method in class cnuphys.magfield.MagneticField
Change the shift in the x direction
setShiftY(double) - Method in class cnuphys.magfield.MagneticField
Change the shift in the y direction
setShiftZ(double) - Method in class cnuphys.magfield.MagneticField
Change the shift in the z direction
setShowGradient(boolean) - Method in class cnuphys.magfield.MagneticFieldCanvas
 
setSolenoid(Solenoid) - Method in class cnuphys.magfield.MagneticFields
In case someone loads a solenoid externally.
setSolenoidShift(double) - Method in class cnuphys.magfield.MagneticFields
Shift the solenoid along Z for misplacement.
setTooBigColor(Color) - Method in class cnuphys.magfield.ColorScaleModel
 
setTooSmallColor(Color) - Method in class cnuphys.magfield.ColorScaleModel
 
setTorus(Torus) - Method in class cnuphys.magfield.MagneticFields
In case someone loads a torus externally.
setWorldSystem(Rectangle2D.Double) - Method in interface cnuphys.magfield.IComponentZoomable
Set the world system
setWorldSystem(Rectangle2D.Double) - Method in class cnuphys.magfield.MagneticFieldCanvas
 
setZeroField(boolean) - Method in class cnuphys.magfield.MagneticField
For debugging you can set the field to always return 0.
shiftMagneticField(MagneticField, double, double, double) - Method in class cnuphys.magfield.MagneticFields
Shift the magnetic field (i.e., a misalignment)
SHIFTX - Static variable in class cnuphys.magfield.MisplacedPanel
 
SHIFTY - Static variable in class cnuphys.magfield.MisplacedPanel
 
SHIFTZ - Static variable in class cnuphys.magfield.MisplacedPanel
 
sin(double) - Static method in class cnuphys.magfield.FastMath
Might use standard or fast sin
sin(float) - Static method in class cnuphys.magfield.FastMath.Riven
 
sinSect - Static variable in class cnuphys.magfield.FieldProbe
 
size() - Method in class cnuphys.magfield.MagneticFieldCanvas.Trajectory
 
skipLines(int, BufferedReader) - Static method in class cnuphys.magfield.converter.AsciiReadSupport
Skip lines in an ascii file
Solenoid - Class in cnuphys.magfield
 
Solenoid() - Constructor for class cnuphys.magfield.Solenoid
 
SOLENOID - Enum constant in enum class cnuphys.magfield.MagneticFields.FieldType
 
solenoidFile - Variable in class cnuphys.magfield.TestData
 
SolenoidProbe - Class in cnuphys.magfield
 
SolenoidProbe(IMagField) - Constructor for class cnuphys.magfield.SolenoidProbe
 
solenoidToAscii(StandardSolenoidProbe, String) - Static method in class cnuphys.magfield.ToAscii
Write the Solenoid to Ascii
sqrt(double) - Static method in class cnuphys.magfield.FastMath
Fast version of usual square root
squareMagnitude(int) - Method in class cnuphys.magfield.MagneticField
Get the square of magnitude for a given index.
StandardSolenoid - Class in cnuphys.magfield
The Class Solenoid.
StandardSolenoidProbe - Class in cnuphys.magfield
 
StandardSolenoidProbe(StandardSolenoid) - Constructor for class cnuphys.magfield.StandardSolenoidProbe
 
stop() - Method in class cnuphys.magfield.converter.AsciiReader
Stop the reading
stroke - Variable in class cnuphys.magfield.MagneticFieldCanvas.Trajectory
 
SUPERFAST - Enum constant in enum class cnuphys.magfield.FastMath.MathLib
 

T

T - Enum constant in enum class cnuphys.magfield.FieldUnit
 
TestData - Class in cnuphys.magfield
 
TestData(int) - Constructor for class cnuphys.magfield.TestData
 
TestMode - Static variable in class cnuphys.magfield.MagTests
 
testResult - Variable in class cnuphys.magfield.TestData
 
testTestData(String) - Static method in class cnuphys.magfield.MagTests
 
ToAscii - Class in cnuphys.magfield
 
ToAscii() - Constructor for class cnuphys.magfield.ToAscii
 
tokens(String) - Static method in class cnuphys.magfield.converter.AsciiReadSupport
This method breaks a string into an array of tokens.
tokens(String, String) - Static method in class cnuphys.magfield.converter.AsciiReadSupport
This method breaks a string into an array of tokens.
tokens(String, String) - Static method in class cnuphys.magfield.MagneticFields
This method breaks a string into an array of tokens.
Torus - Class in cnuphys.magfield
The Class Torus.
TORUS - Enum constant in enum class cnuphys.magfield.MagneticFields.FieldType
 
torusFile - Variable in class cnuphys.magfield.TestData
 
TorusProbe - Class in cnuphys.magfield
 
TorusProbe(Torus) - Constructor for class cnuphys.magfield.TorusProbe
Create a probe for use with the torus
TorusProbe(Torus, boolean) - Constructor for class cnuphys.magfield.TorusProbe
Create a probe for use with the torus Used only for the weird DoubleTorus
torusToAscii(Torus, String, boolean) - Static method in class cnuphys.magfield.ToAscii
Write the Torus to Ascii
toString() - Method in class cnuphys.magfield.Comparison
 
toString() - Method in class cnuphys.magfield.GridCoordinate
Create a string representation.
toString() - Method in class cnuphys.magfield.MagneticField
Get some data as a string.
toString() - Method in class cnuphys.magfield.StandardSolenoid
Get some data as a string.
toString() - Method in class cnuphys.magfield.Torus
Get some data as a string.
toString() - Method in class cnuphys.magfield.TransverseSolenoid
Get some data as a string.
Trajectory(double[], double[], double[], Color, Stroke) - Constructor for class cnuphys.magfield.MagneticFieldCanvas.Trajectory
 
TransverseSolenoid - Class in cnuphys.magfield
 
TransverseSolenoidProbe - Class in cnuphys.magfield
 
TransverseSolenoidProbe(TransverseSolenoid) - Constructor for class cnuphys.magfield.TransverseSolenoidProbe
Create a probe for use with the transverse solenoid field
trilinear(double, double, double, float[]) - Method in class cnuphys.magfield.Cell3D
Calculate the field in kG by trilinear interpolation

V

valueOf(String) - Static method in enum class cnuphys.magfield.AngularUnit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cnuphys.magfield.CoordinateSystem
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cnuphys.magfield.FastMath.MathLib
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cnuphys.magfield.FieldUnit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cnuphys.magfield.LengthUnit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cnuphys.magfield.MagneticFieldCanvas.CSType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cnuphys.magfield.MagneticFields.FieldType
Returns the enum constant of this class with the specified name.
values - Variable in class cnuphys.magfield.ColorScaleModel
The array of values
values() - Static method in enum class cnuphys.magfield.AngularUnit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cnuphys.magfield.CoordinateSystem
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cnuphys.magfield.FastMath.MathLib
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cnuphys.magfield.FieldUnit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cnuphys.magfield.LengthUnit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cnuphys.magfield.MagneticFieldCanvas.CSType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cnuphys.magfield.MagneticFields.FieldType
Returns an array containing the constants of this enum class, in the order they are declared.
vectorField(int, float[]) - Method in class cnuphys.magfield.MagneticField
Get the vector for a given index.
vectorLength(float[]) - Static method in class cnuphys.magfield.FastMath
Vector length.
vectorToString(float[]) - Method in class cnuphys.magfield.MagneticField
Convert a array used as a vector to a readable string.

W

worldToLocal(Point, Point2D.Double) - Method in interface cnuphys.magfield.IComponentZoomable
Convert a world point to a screen point
worldToLocal(Point, Point2D.Double) - Method in class cnuphys.magfield.MagneticFieldCanvas
This converts a world point to a screen or pixel point.
writeHeader(DataOutputStream, int, int, int, int, int, float, float, int, float, float, int, float, float, int) - Static method in class cnuphys.magfield.MagneticFields
Write the binary file header

X

x - Variable in class cnuphys.magfield.Comparison
 
x - Variable in class cnuphys.magfield.FloatVect
 
x - Variable in class cnuphys.magfield.TestData
 
X - Static variable in class cnuphys.magfield.FieldProbe
 
xx - Variable in class cnuphys.magfield.MagneticFieldCanvas.Trajectory
 
XZ - Enum constant in enum class cnuphys.magfield.MagneticFieldCanvas.CSType
 

Y

y - Variable in class cnuphys.magfield.Comparison
 
y - Variable in class cnuphys.magfield.FloatVect
 
y - Variable in class cnuphys.magfield.TestData
 
Y - Static variable in class cnuphys.magfield.FieldProbe
 
YCOMP - Enum constant in enum class cnuphys.magfield.MagneticFieldCanvas.CSType
 
yy - Variable in class cnuphys.magfield.MagneticFieldCanvas.Trajectory
 

Z

z - Variable in class cnuphys.magfield.Comparison
 
z - Variable in class cnuphys.magfield.converter.ZFile
 
z - Variable in class cnuphys.magfield.FloatVect
 
z - Variable in class cnuphys.magfield.TestData
 
Z - Static variable in class cnuphys.magfield.FieldProbe
 
ZEROFIELD - Enum constant in enum class cnuphys.magfield.MagneticFields.FieldType
 
ZeroProbe - Class in cnuphys.magfield
 
ZeroProbe() - Constructor for class cnuphys.magfield.ZeroProbe
 
ZFile - Class in cnuphys.magfield.converter
 
ZFile(File) - Constructor for class cnuphys.magfield.converter.ZFile
 
zz - Variable in class cnuphys.magfield.MagneticFieldCanvas.Trajectory
 

_

_addedSolenoid - Variable in class cnuphys.magfield.Torus
 
_field - Variable in class cnuphys.magfield.FieldProbe
 
_interpolate - Static variable in class cnuphys.magfield.MagneticField
 
_localToWorld - Variable in class cnuphys.magfield.MagneticFieldCanvas
 
_name - Variable in class cnuphys.magfield.FieldProbe
 
_scaleFactor - Variable in class cnuphys.magfield.MagneticField
Overall scale factor
_shiftX - Variable in class cnuphys.magfield.MagneticField
shift in x direction in cm (misalignment)
_shiftY - Variable in class cnuphys.magfield.MagneticField
shift in y direction in cm (misalignment)
_shiftZ - Variable in class cnuphys.magfield.MagneticField
shift in z direction in cm (misalignment)
_textField - Variable in class cnuphys.magfield.MisplacedPanel
 
_textField - Variable in class cnuphys.magfield.ScaleFieldPanel
 
_worldSystem - Variable in class cnuphys.magfield.MagneticFieldCanvas
 
_worldToLocal - Variable in class cnuphys.magfield.MagneticFieldCanvas
 
A C D F G H I J K L M N O P Q R S T V W X Y Z _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form