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
-
PLANE_MINUSZ
-
-
PLANE_PLUSZ
-
-
PLANE_R
-
-
PROBLEM
-
-
HelicalSwimmer()
- Create helical swimmer with some default parameters;
(essentually not usable set)
-
HelicalSwimmer(double, double, double)
- Create a Helix swimmer
-
HelicalSwimmer(TrackParameters, double, double)
- Create a Helix swimmer for the given trajectory
-
HelicalSwimmer(TrackParameters, double, double, double)
- Create a Helix swimmer for the given trajectory
-
getCenter()
-
-
getIntersect()
-
-
getIntersect2()
-
-
getLength()
-
-
getLength2()
-
-
getPlane()
-
-
getPlane2()
-
-
getRadius()
-
-
getSinXang()
-
-
setBField(double)
-
-
swim(double)
-
-
swim(double, double)
-
-
swim(double[], double[], int)
-
-
swim(MCParticle, double, double)
-
-
swim(TrackParameters)
-
-
swim(TrackParameters, double, double)
-
PROBLEM
public static final int PROBLEM
PLANE_R
public static final int PLANE_R
PLANE_PLUSZ
public static final int PLANE_PLUSZ
PLANE_MINUSZ
public static final int PLANE_MINUSZ
HelicalSwimmer
public HelicalSwimmer()
- Create helical swimmer with some default parameters;
(essentually not usable set)
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 )
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 )
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 )
setBField
public void setBField(double BField)
getIntersect
public double[] getIntersect()
- Returns:
- position at point of intersection (x,y,z)
getIntersect2
public double[] getIntersect2()
getPlane
public int getPlane()
- Returns:
- cyl/plane which is first hit
getPlane2
public int getPlane2()
getCenter
public double[] getCenter()
getRadius
public double getRadius()
getLength
public double getLength()
- Returns:
- track length from initial point to intersection
getLength2
public double getLength2()
getSinXang
public double getSinXang()
swim
public void swim(double r_cyl)
- Parameters:
- r_cyl - - cylinder to intercept
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 )
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 )
swim
public void swim(TrackParameters parameters)
- Parameters:
- parameters - - Standard Track parameters
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 )
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