FreeHEP API
Version v1.2.2

hep.graphics.heprep.util
Class HepRepMath

java.lang.Object
  |
  +--hep.graphics.heprep.util.HepRepMath

public class HepRepMath
extends Object

Version:
$Id: HepRepMath.java,v 1.2 2002/09/18 23:59:59 duns Exp $
Author:
Mark Donszelmann

Field Summary
static String cvsId
           
 
Method Summary
static double getEta(double x, double y, double z)
          Return the pseudorapidity of the point assuming zero z-vertex position.
static double getEta(double x, double y, double z, double xVertex, double yVertex, double zVertex)
          Return the pseudorapidity of the point given the z-vertex position.
static double getPhi(double x, double y)
           
static double getPhi(double x, double y, double xVertex, double yVertex)
           
static double getR(double x, double y, double z)
          Return the spherical radius to the point assuming a z-vertex position.
static double getR(double x, double y, double z, double xVertex, double yVertex, double zVertex)
          Return the spherical radius to the point given the z-vertex position.
static double getRho(double x, double y)
           
static double getRho(double x, double y, double xVertex, double yVertex)
           
static double getTheta(double x, double y, double z)
          Return the dip angle of the track assuming a zero z-vertex position.
static double getTheta(double x, double y, double z, double xVertex, double yVertex, double zVertex)
          Return the dip angle of the track given the z-vertex position.
static double getX(double x, double xVertex)
           
static double getY(double y, double yVertex)
           
static double getZ(double z, double zVertex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvsId

public static final String cvsId
See Also:
Constant Field Values
Method Detail

getX

public static double getX(double x,
                          double xVertex)

getY

public static double getY(double y,
                          double yVertex)

getZ

public static double getZ(double z,
                          double zVertex)

getRho

public static double getRho(double x,
                            double y,
                            double xVertex,
                            double yVertex)

getRho

public static double getRho(double x,
                            double y)

getPhi

public static double getPhi(double x,
                            double y,
                            double xVertex,
                            double yVertex)

getPhi

public static double getPhi(double x,
                            double y)

getTheta

public static double getTheta(double x,
                              double y,
                              double z,
                              double xVertex,
                              double yVertex,
                              double zVertex)
Return the dip angle of the track given the z-vertex position.


getTheta

public static double getTheta(double x,
                              double y,
                              double z)
Return the dip angle of the track assuming a zero z-vertex position.


getR

public static double getR(double x,
                          double y,
                          double z,
                          double xVertex,
                          double yVertex,
                          double zVertex)
Return the spherical radius to the point given the z-vertex position.


getR

public static double getR(double x,
                          double y,
                          double z)
Return the spherical radius to the point assuming a z-vertex position.


getEta

public static double getEta(double x,
                            double y,
                            double z,
                            double xVertex,
                            double yVertex,
                            double zVertex)
Return the pseudorapidity of the point given the z-vertex position.


getEta

public static double getEta(double x,
                            double y,
                            double z)
Return the pseudorapidity of the point assuming zero z-vertex position.


FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.