public class PropCyl extends PropDirected
Propagation will fail if either the origin or destination is not a cylinder.
Propagation more than halfway around one loop is not allowed and will result in failure if attempted.
Modifier and Type | Class and Description |
---|---|
(package private) class |
PropCyl.STCalc |
Modifier and Type | Field and Description |
---|---|
private double |
_bfac |
private static int |
IALF |
private static int |
IPHI |
private static int |
IQPT |
private static int |
ITLM |
private static int |
IZ |
Constructor and Description |
---|
PropCyl(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.
|
Propagator |
newPropagator()
Clone an instance.
|
String |
toString()
output stream
|
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.
|
direction, direction, errProp, vecProp
errDirProp, errDirProp, errProp, reduce, reduceDirection, typeName, vecProp
private static final int IPHI
private static final int IZ
private static final int IALF
private static final int ITLM
private static final int IQPT
private double _bfac
public PropCyl(double bfield)
bfield
- The magnetic field strength in Tesla.public Propagator newPropagator()
newPropagator
in class Propagator
public String toString()
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 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 double bField()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.