public class CrossStat extends Object
Surface: at - the track and surface have the same pure surface Normal: on - the track vector is on the surface inside - the track vector is inside the surface outside - the track vector is outside the surface Boundary: bounds_checked - boundaries have been checked in_bounds - at surface and within boundaries out_of_bounds - at surface and outside boundariesThe vector state on is true if the track is with a distance PRECISION of the surface. This value is nonzero to allow for roundoff errors. If the track is not on, then it is either inside or outside--the surface defines the meaning of those. Exactly one of these states can be true. The state bounds_checked is true and the states in_bounds and out_of_bounds are defined only if the track is at the surface and the surface is bounded. By definition, a bounded surface assigns each point in track parameter space as either in bounds or out of bounds. The state in_bounds (out_of_bounds) is true if any in bounds (out of bounds) points are within distance PRECISION of the track volume. The track volume is defined by expanding the error ellipsoid by NSIGMA. Note that it is possible for both states to be true. Here are the allowed pure states and their names:
at on in out 0 1 0 0 ON 0 0 1 0 INSIDE 0 0 0 1 OUTSIDE 1 1 0 0 ATHere are the allowed bound states (pure state must be AT):
0 0 UNDEFINED_BOUNDS 1 0 IN_BOUNDS 0 1 OUT_OF_BOUNDS 1 1 BOTH_BOUNDSThe crossing status is constructed from
Modifier and Type | Field and Description |
---|---|
private BoundedStat |
_bound |
private static double |
_nsigma |
private static double |
_precision |
private PureStat |
_pure |
Constructor and Description |
---|
CrossStat(BoundedStat bound)
Constructor from a bound state.
|
CrossStat(CrossStat xstat)
Copy constructor.
|
CrossStat(PureStat pure)
Constructor from a pure state.
|
Modifier and Type | Method and Description |
---|---|
boolean |
at()
Is track at the surface?
|
boolean |
boundsChecked()
Have the bounds been checked?
|
boolean |
inBounds()
Is the track in bounds?
|
boolean |
inside()
Is the track off the surface on the inside?
|
double |
nSigma()
Return sigma for error ellipsoid.
|
boolean |
on()
Is the the track position on the the surface?
|
boolean |
outOfBounds()
Is the track out of bounds?
|
boolean |
outside()
Is the track off the surface on the outside?
|
double |
precision()
Return the precision.
|
static double |
staticNSigma()
Return sigma for error ellipsoid.
|
static double |
staticPrecision()
Return the precision parameter for crossing.
|
String |
toString()
String representation of CrossStat.
|
private static double _precision
private static double _nsigma
private PureStat _pure
private BoundedStat _bound
public CrossStat(PureStat pure)
pure
- PureStat with which to construct.public CrossStat(BoundedStat bound)
bound
- BoundedStat from which to construct this CrossStatpublic CrossStat(CrossStat xstat)
xstat
- CrossStat to copy.public static double staticPrecision()
public static double staticNSigma()
public boolean at()
public boolean on()
public boolean inside()
public boolean outside()
public boolean boundsChecked()
public boolean inBounds()
public boolean outOfBounds()
public double precision()
public double nSigma()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.