hep.lcd.vertexing.zvtop
Class ZvUtils

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

public class ZvUtils
extends Object

ZvUtils -- utilities for ZvXxxx classes

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

Constructor Summary
ZvUtils()
           
 
Method Summary
static double[] copy(double[] a)
          copy an array of double
protected static Hep3Vector copy(Hep3Vector v)
          copy a Hep3Vector
protected static Hep3Vector crePosVec(double[] hlxPar)
          extract the 3 dim position from Zv helix parameters into a Hep3Vector
static Jama.Matrix creProjMatrix(Hep3Vector v)
          create a matrix from two vectors: M = a.a^T
static Hep3Vector creVec(double[] a)
          convert a 3 dim array into Hep3Vector
static String dumpToString(Jama.Matrix m)
           
static double restrictTo2Pi(double val, double min)
          restrict angular value to range [min,min+2*PI] in angle;
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZvUtils

public ZvUtils()
Method Detail

creVec

public static Hep3Vector creVec(double[] a)
convert a 3 dim array into Hep3Vector

copy

protected static Hep3Vector copy(Hep3Vector v)
copy a Hep3Vector

copy

public static double[] copy(double[] a)
copy an array of double

crePosVec

protected static Hep3Vector crePosVec(double[] hlxPar)
extract the 3 dim position from Zv helix parameters into a Hep3Vector

creProjMatrix

public static Jama.Matrix creProjMatrix(Hep3Vector v)
create a matrix from two vectors: M = a.a^T

restrictTo2Pi

public static double restrictTo2Pi(double val,
                                   double min)
restrict angular value to range [min,min+2*PI] in angle;

dumpToString

public static String dumpToString(Jama.Matrix m)


The LCD Group