hep.lcd.vertexing.zvtop
Class ZvProbTube

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

public class ZvProbTube
extends Object

ZvProbTube -- probablity tube approximation for a ZvTrack

Hold the gaussian probabilty tube approximation for a ZvTrack.
Calculate the probability density at a given point.

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

Constructor Summary
ZvProbTube()
          constructor without initialization
to be used, if scale factor change is desired initially
ZvProbTube(Swimmer swimmer)
           
ZvProbTube(ZvProbTube tube)
          copy constructor
ZvProbTube(ZvTrack track)
           
ZvProbTube(ZvTrack track, double[] refPoint)
           
ZvProbTube(ZvTrack track, double[] refPoint, double scaleFac)
           
ZvProbTube(ZvTrack track, double[] refPoint, Swimmer swimmer, double scaleFac)
           
 
Method Summary
 double[] cKsi()
          get the approximation coefficients in ksi direction
 ZvProbTube copy()
          provide a deep copy (track as handle, though)
 double cosN()
          get the cosine of normal vector to momentum in xy plane
 double[] cZ()
          get the approximation coefficients in z direction
 double getTubeScaling()
          report the 'scaling' factor for tube coefficients
 void initTube(ZvTrack track)
          initialize the tube with a track; use default reference point (origin)
 void initTube(ZvTrack inTrack, double[] refPoint)
          initialize the tube with a track; use reference point;
calculate quadratic approximation of probability tube:
error = c0 + c1 * y + c2 * y*y
where y is the travelled distance in track direction
 void initTube(ZvTrack track, double[] refPoint, double scaleFac)
          initialize the tube with a track; use reference point;
calculate quadratic approximation of probability tube:
error = c0 + c1 * y + c2 * y*y
where y is the travelled distance in track direction
 double omkap()
          get omkap = sgn(q)*Bz*kappa/333.567
-- this is neither full omega, nor a true kappa ...
 double prob(double[] xc)
          get the probablity density at point x_c
 void setSwimmer(Swimmer swimmer)
          set the Swimmer to be used
default: ZvSwimmer (with it's default settings)
 void setTubeScaling(double scaleFac)
          set the 'scaling' factor for tube coefficients
fac = 1. : no scaling fac > 0. : scaling with fac fac = 0. : only constant approximation, no scaling fac < 0. : only constant approximation, scaling with abs(fac)
 double sinN()
          get the sine of normal vector to momentum in xy plane
 double sKsi2AtTp()
          get sigma(ksi)^2 at initial track point
 Swimmer swimmer()
          get a handle to the swimmer used
 ZvSwimStatus swimStatus()
          get the status of the swimming done
 double sZ2AtTp()
          get sigma(z)^2 at initial track point
 double tanL()
          get tan(lambda)
 ZvTrack track()
          get handle to track for this probabilty tube
 double x0p()
          get the distance x0p along normal vector in xy (presumably to IP)
 double[] xRef()
          get reference point, which was used
 double z0()
          get the z0 (presumably to IP)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZvProbTube

public ZvProbTube()
constructor without initialization
to be used, if scale factor change is desired initially

ZvProbTube

public ZvProbTube(Swimmer swimmer)
See Also:
setSwimmer(hep.lcd.vertexing.zvtop.Swimmer)

ZvProbTube

public ZvProbTube(ZvTrack track)
See Also:
initTube(hep.lcd.vertexing.zvtop.ZvTrack)

ZvProbTube

public ZvProbTube(ZvTrack track,
                  double[] refPoint)
See Also:
initTube(hep.lcd.vertexing.zvtop.ZvTrack)

ZvProbTube

public ZvProbTube(ZvTrack track,
                  double[] refPoint,
                  double scaleFac)
See Also:
initTube(hep.lcd.vertexing.zvtop.ZvTrack)

ZvProbTube

public ZvProbTube(ZvTrack track,
                  double[] refPoint,
                  Swimmer swimmer,
                  double scaleFac)
See Also:
setSwimmer(hep.lcd.vertexing.zvtop.Swimmer), initTube(hep.lcd.vertexing.zvtop.ZvTrack)

ZvProbTube

public ZvProbTube(ZvProbTube tube)
copy constructor
Method Detail

setSwimmer

public void setSwimmer(Swimmer swimmer)
set the Swimmer to be used
default: ZvSwimmer (with it's default settings)

swimmer

public Swimmer swimmer()
get a handle to the swimmer used

initTube

public void initTube(ZvTrack track)
initialize the tube with a track; use default reference point (origin)

initTube

public void initTube(ZvTrack track,
                     double[] refPoint,
                     double scaleFac)
initialize the tube with a track; use reference point;
calculate quadratic approximation of probability tube:
error = c0 + c1 * y + c2 * y*y
where y is the travelled distance in track direction

initTube

public void initTube(ZvTrack inTrack,
                     double[] refPoint)
initialize the tube with a track; use reference point;
calculate quadratic approximation of probability tube:
error = c0 + c1 * y + c2 * y*y
where y is the travelled distance in track direction

setTubeScaling

public void setTubeScaling(double scaleFac)
set the 'scaling' factor for tube coefficients
fac = 1. : no scaling
fac > 0. : scaling with fac
fac = 0. : only constant approximation, no scaling
fac < 0. : only constant approximation, scaling with abs(fac)

getTubeScaling

public double getTubeScaling()
report the 'scaling' factor for tube coefficients
See Also:
setTubeScaling(double)

prob

public double prob(double[] xc)
get the probablity density at point x_c
Parameters:
xc - -- 3 dimensional point
Throws:
ZvException - if tube is not initialized

swimStatus

public ZvSwimStatus swimStatus()
get the status of the swimming done

cKsi

public double[] cKsi()
get the approximation coefficients in ksi direction
See Also:
initTube(hep.lcd.vertexing.zvtop.ZvTrack)

cZ

public double[] cZ()
get the approximation coefficients in z direction
See Also:
initTube(hep.lcd.vertexing.zvtop.ZvTrack)

cosN

public double cosN()
get the cosine of normal vector to momentum in xy plane

sinN

public double sinN()
get the sine of normal vector to momentum in xy plane

z0

public double z0()
get the z0 (presumably to IP)

x0p

public double x0p()
get the distance x0p along normal vector in xy (presumably to IP)

omkap

public double omkap()
get omkap = sgn(q)*Bz*kappa/333.567
-- this is neither full omega, nor a true kappa ...

tanL

public double tanL()
get tan(lambda)

sKsi2AtTp

public double sKsi2AtTp()
get sigma(ksi)^2 at initial track point

sZ2AtTp

public double sZ2AtTp()
get sigma(z)^2 at initial track point

xRef

public double[] xRef()
get reference point, which was used

track

public ZvTrack track()
get handle to track for this probabilty tube

copy

public ZvProbTube copy()
provide a deep copy (track as handle, though)


The LCD Group