All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class hep.lcd.recon.ztracking.HelicalSwimmer

java.lang.Object
   |
   +----hep.lcd.recon.ztracking.HelicalSwimmer

public class HelicalSwimmer
extends Object
Given a particle of initial momentum, position and charge (p, r0, and iq), calculates its trajectory in a uniform magnetic field in the z-direction and determines its point of intersection (r_hit) with a cylinder centered at the origin with axis parallel to the z-axis and with ends. Trajectories are parameterized as fn of path length, s. There are no approximations made. Units are Tesla, cm, GeV/c


Variable Index

 o PLANE_MINUSZ
 o PLANE_PLUSZ
 o PLANE_R
 o PROBLEM

Constructor Index

 o HelicalSwimmer()
Create helical swimmer with some default parameters; (essentually not usable set)
 o HelicalSwimmer(double, double, double)
Create a Helix swimmer
 o HelicalSwimmer(TrackParameters, double, double)
Create a Helix swimmer for the given trajectory
 o HelicalSwimmer(TrackParameters, double, double, double)
Create a Helix swimmer for the given trajectory

Method Index

 o getCenter()
 o getIntersect()
 o getIntersect2()
 o getLength()
 o getLength2()
 o getPlane()
 o getPlane2()
 o getRadius()
 o getSinXang()
 o setBField(double)
 o swim(double)
 o swim(double, double)
 o swim(double[], double[], int)
 o swim(MCParticle, double, double)
 o swim(TrackParameters)
 o swim(TrackParameters, double, double)

Variables

 o PROBLEM
 public static final int PROBLEM
 o PLANE_R
 public static final int PLANE_R
 o PLANE_PLUSZ
 public static final int PLANE_PLUSZ
 o PLANE_MINUSZ
 public static final int PLANE_MINUSZ

Constructors

 o HelicalSwimmer
 public HelicalSwimmer()
Create helical swimmer with some default parameters; (essentually not usable set)

 o HelicalSwimmer
 public HelicalSwimmer(TrackParameters parameters,
                       double B,
                       double r_cyl,
                       double z_pl)
Create a Helix swimmer for the given trajectory

Parameters:
parameters - - Track parameters
B - - field strength; uniform, solenoidal, directed along z-axis
r_cyl - - radius of cylinder
z_pl - - z-coordinate of planes at end of cylinder (assumes symmetric placement at +/- z )
 o HelicalSwimmer
 public HelicalSwimmer(TrackParameters parameters,
                       double r_cyl,
                       double z_pl)
Create a Helix swimmer for the given trajectory

Parameters:
parameters - - Track parameters
r_cyl - - radius of cylinder in cm
z_pl - - z-coordinate of planes at end of cylinder (assumes symmetric placement at +/- z )
 o HelicalSwimmer
 public HelicalSwimmer(double B,
                       double r_cyl,
                       double z_pl)
Create a Helix swimmer

Parameters:
B - field strength; uniform, solenoidal, directed along z-axis
r_cyl - radius of cylinder
z_pl - z-coordinate of planes at end of cylinder (assumes symmetric placement at +/- z )

Methods

 o setBField
 public void setBField(double BField)
 o getIntersect
 public double[] getIntersect()
Returns:
position at point of intersection (x,y,z)
 o getIntersect2
 public double[] getIntersect2()
 o getPlane
 public int getPlane()
Returns:
cyl/plane which is first hit
 o getPlane2
 public int getPlane2()
 o getCenter
 public double[] getCenter()
 o getRadius
 public double getRadius()
 o getLength
 public double getLength()
Returns:
track length from initial point to intersection
 o getLength2
 public double getLength2()
 o getSinXang
 public double getSinXang()
 o swim
 public void swim(double r_cyl)
Parameters:
r_cyl - - cylinder to intercept
 o swim
 public void swim(double r_cyl,
                  double z_pl)
Parameters:
r_cyl - - cylinder to intercept
z_pl - - z-coordinate of planes at end of cylinder (assumes symmetric placement at +/- z )
 o swim
 public void swim(MCParticle particle,
                  double r_cyl,
                  double z_pl)
Parameters:
particle - - A Monte Carlo particle
r_cyl - - cylinder to intercept
z_pl - - z-coordinate of planes at end of cylinder (assumes symmetric placement at +/- z )
 o swim
 public void swim(TrackParameters parameters)
Parameters:
parameters - - Standard Track parameters
 o swim
 public void swim(TrackParameters parameters,
                  double r_cyl,
                  double z_pl)
Parameters:
parameters - - Standard Track parameters
r_cyl - - cylinder to intercept
z_pl - - z-coordinate of planes at end of cylinder (assumes symmetric placement at +/- z )
 o swim
 public void swim(double p[],
                  double r0_in[],
                  int iq)
Parameters:
p - - 3-momentum (px,py,pz)
r0 - - initial position (x0,y0,z0)
iq - - charge iq = q/|e| = +/- 1

All Packages  Class Hierarchy  This Package  Previous  Next  Index