public class PropXYXYBX extends PropDirected
Propagation will fail if either the origin or destination is not an XYPlane.
Modifier and Type | Field and Description |
---|---|
private double |
_bfac |
private boolean |
debug |
private static int |
IDVDU |
private static int |
IDZDU |
private static int |
IQP |
private static int |
IV |
private static int |
IZ |
Constructor and Description |
---|
PropXYXYBX(double bfield)
Construct an instance from a constant solenoidal magnetic field in Tesla.
|
Modifier and Type | Method and Description |
---|---|
double |
bField()
Return the strength of the magnetic field in Tesla.
|
private double |
direction(int flag_forward,
double w,
double r_sinalf,
double r_cosalf,
double b1,
double u_n,
double u,
int sign_du,
double sinphi,
double cosphi) |
Propagator |
newPropagator()
Clone an instance.
|
private double |
next1(double phi,
double amp,
double w) |
private double |
nextMax(double phi) |
private double |
nextMin(double phi) |
private double |
nextZero(double phi) |
static String |
staticType()
Return a String representation of the class' type name.
|
String |
toString()
output stream
|
String |
type()
Return a String representation of the class' type name.
|
static String |
typeName()
Return a String representation of the class' type name.
|
PropStat |
vecDirProp(VTrack trv,
Surface srf,
PropDir dir)
Propagate a track without error in the specified direction.
|
PropStat |
vecDirProp(VTrack trv,
Surface srf,
PropDir dir,
TrackDerivative deriv)
Propagate a track without error in the specified direction
and return the derivative matrix in deriv.
|
(package private) PropStat |
vecPropagateXYXYBX(double B,
VTrack trv,
Surface srf,
PropDir dir,
TrackDerivative deriv) |
direction, direction, errProp, vecProp
errDirProp, errDirProp, errProp, reduce, reduceDirection, vecProp
private double _bfac
private static final int IV
private static final int IZ
private static final int IDVDU
private static final int IDZDU
private static final int IQP
private boolean debug
public PropXYXYBX(double bfield)
bfield
- The magnetic field strength in Tesla.public static String typeName()
public static String staticType()
public Propagator newPropagator()
newPropagator
in class Propagator
public PropStat vecDirProp(VTrack trv, Surface srf, PropDir dir, TrackDerivative deriv)
vecDirProp
in class Propagator
trv
- The VTrack to propagate.srf
- The Surface to which to propagate.dir
- The direction in which to propagate.deriv
- The track derivatives to update at the surface srf.public PropStat vecDirProp(VTrack trv, Surface srf, PropDir dir)
vecDirProp
in class Propagator
trv
- The VTrack to propagate.srf
- The Surface to which to propagate.dir
- The direction in which to propagate.public double bField()
public String type()
public String toString()
private double direction(int flag_forward, double w, double r_sinalf, double r_cosalf, double b1, double u_n, double u, int sign_du, double sinphi, double cosphi)
private double nextMin(double phi)
private double nextMax(double phi)
private double nextZero(double phi)
private double next1(double phi, double amp, double w)
PropStat vecPropagateXYXYBX(double B, VTrack trv, Surface srf, PropDir dir, TrackDerivative deriv)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.