public class PropStat extends Object
Class is constructed in a state indicating failure.
Call set_same() or set_path_distance(s) if propagation is successful.
Modifier and Type | Field and Description |
---|---|
private double |
_s |
private boolean |
_success |
(package private) static double |
DEFAULT_PATH_DISTANCE |
Constructor and Description |
---|
PropStat()
Default Constructor leaves object invalid.
|
PropStat(PropStat pstat)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
backward()
Did track move backward?
|
boolean |
forward()
Did track move forward?
|
double |
pathDistance()
Return the propagation path distance.
|
boolean |
same()
Did track propagate succesfully to the same position?
|
void |
setBackward()
Set successful propagation backward.
|
void |
setForward()
Set successful propagation forward.
|
void |
setPathDistance(double s)
Set the distance of propagation.
|
void |
setSame()
Set successful propagation to same point.
|
boolean |
success()
Was propagation successful?
|
String |
toString()
String representation of PropStat.
|
static final double DEFAULT_PATH_DISTANCE
private boolean _success
private double _s
public PropStat()
public PropStat(PropStat pstat)
pstat
- PropStat to copy.public void setPathDistance(double s)
s
- distance to propagate.public void setSame()
public boolean success()
public boolean forward()
public boolean backward()
public boolean same()
public double pathDistance()
public String toString()
public void setForward()
public void setBackward()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.