hep.lcd.vertexing.zvtop
Class ZvBField

java.lang.Object
  |
  +--hep.lcd.vertexing.zvtop.ZvBField

public final class ZvBField
extends Object

ZvBField -- B field containing class

Currently provides B field in z direction using get("FieldStrength") from Detector.

Version:
$Id: ZvBField.java,v 1.2 2001/06/05 18:20:55 walkowia Exp $
Author:
W.Walkowiak, 09/16/00
Source Code:
ZvBField.java

Constructor Summary
ZvBField()
           
 
Method Summary
static double getBfield()
          get B-field z component at origin
This is for backward compatibility only!
static double getBMag(double[] xvec)
          get the magnitude of B-field at xvec
static double[] getBUnitVec(double[] xvec)
          get B-field unit vector at xvec
static double[] getBVec(double[] xvec)
          get B-field vector at position xvec
static double getBX(double[] xvec)
          get B-field x component at position xvec
static double getBY(double[] xvec)
          get B-field y component at position xvec
static double getBZ(double[] xvec)
          get B-field z component at position xvec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZvBField

public ZvBField()
Method Detail

getBVec

public static double[] getBVec(double[] xvec)
get B-field vector at position xvec

getBX

public static double getBX(double[] xvec)
get B-field x component at position xvec

getBY

public static double getBY(double[] xvec)
get B-field y component at position xvec

getBZ

public static double getBZ(double[] xvec)
get B-field z component at position xvec

getBfield

public static double getBfield()
get B-field z component at origin
This is for backward compatibility only!

getBMag

public static double getBMag(double[] xvec)
get the magnitude of B-field at xvec

getBUnitVec

public static double[] getBUnitVec(double[] xvec)
get B-field unit vector at xvec


The LCD Group