|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.lcd.vertexing.zvtop.ZvSwimmer
ZvSwimmer -- swim a track to a target position
Provides swimming of the track helix (ZvTrack format) and error matrix to the point of closest approach to a line parallel to the beam direction which contains the target point.
Constructor Summary | |
ZvSwimmer()
|
|
ZvSwimmer(ZvSwimmer swimmer)
copy constructor |
|
ZvSwimmer(ZvTrack track)
|
Method Summary | |
Swimmer |
copy()
get a deep copy of the swimmer |
double[] |
getBeamDirection()
get the beam direction currently used |
double |
getDist()
get the distance of closest approach |
double[] |
getDistVec()
get the vector of the distance of closest approach (x_ref - x_track) |
double[] |
getRefPoint()
get the corresponding point of closest approach on the reference line |
ZvSwimStatus |
getStatus()
get the status of the swimmer |
ZvSwimStatus |
getStatusCopy()
get the status of the swimmer as a deep copy |
ZvTrack |
getSwumTrack()
get the resulting (swum) track |
void |
setBeamDirection(double[] beamDirection)
set the beam direction (or the reference direction) default: {0.,0.,1.} |
void |
setMaxSinL(double maxSinL)
set the maximum sin(lambda) -- dip angle cut off |
void |
setMaxTry(int nMaxTry)
set the maximum number of tries |
void |
setStepMin(double swimStepMin)
set the minimum step size -- otherwise consider it converged |
void |
setStepSize(double swimStepSize)
set the usual step size |
void |
setTrack(ZvTrack track)
set track to be swum |
void |
setVolume(double maxRadius,
double maxZ)
set the fiducial volume of the detector maximum radius and maximum abs(z) |
ZvSwimStatus |
swimTo(double[] targetPosition)
swim the track to target position |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZvSwimmer()
public ZvSwimmer(ZvTrack track)
setTrack(hep.lcd.vertexing.zvtop.ZvTrack)
public ZvSwimmer(ZvSwimmer swimmer)
Method Detail |
public void setTrack(ZvTrack track)
setTrack
in interface Swimmer
public void setBeamDirection(double[] beamDirection)
public double[] getBeamDirection()
setBeamDirection(double[])
public void setMaxTry(int nMaxTry)
public void setStepMin(double swimStepMin)
public void setStepSize(double swimStepSize)
public void setVolume(double maxRadius, double maxZ)
public void setMaxSinL(double maxSinL)
public ZvSwimStatus swimTo(double[] targetPosition)
swimTo
in interface Swimmer
public ZvTrack getSwumTrack()
getSwumTrack
in interface Swimmer
public double[] getRefPoint()
public double[] getDistVec()
public double getDist()
public ZvSwimStatus getStatus()
getStatus
in interface Swimmer
public ZvSwimStatus getStatusCopy()
getStatusCopy
in interface Swimmer
public Swimmer copy()
copy
in interface Swimmer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |