public class SurfZPlane extends Surface
The corresponding track parameters are:
This class serves as a base class for bounded cylinders.
The forward direction for the surface is +z.
Modifier and Type | Field and Description |
---|---|
protected double |
_z |
static int |
IDXDZ |
static int |
IDYDZ |
static int |
IQP |
static int |
IX |
static int |
IY |
static int |
ZPOS |
Constructor and Description |
---|
SurfZPlane(double z)
Construct an instance specifying the z location of the plane.
|
SurfZPlane(SurfZPlane surf)
Construct an instance duplicating the SurfZPlane (copy constructor).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(SurfZPlane srf)
Test equality.
|
Surface |
newPureSurface()
Return a copy of the underlying pure Surface.
|
double |
parameter(int ipar)
Return the surface parameter.
|
CrossStat |
pureStatus(VTrack trv)
Find the crossing status for a track vector without error.
|
String |
pureType()
Return a String representation of the class' type name.
|
protected boolean |
safePureEqual(Surface srf) |
protected boolean |
safePureLessThan(Surface srf) |
SpacePath |
spacePath(TrackVector vec,
TrackSurfaceDirection dir)
Return the space vector for a track.
|
SpacePoint |
spacePoint(TrackVector vec)
Return the space point for a track vector.
|
static String |
staticType()
Return a String representation of the class' type name.
|
String |
toString()
output stream
|
static String |
typeName()
Return a String representation of the class' type name.
|
TrackVector |
vecDiff(TrackVector vec1,
TrackVector vec2)
Return the vector difference of two tracks on this surface.
|
double |
z()
Return the z position of the plane.
|
boundEqual, direction, equals, genericType, getInteractor, interact, isPure, newSurface, pureEqual, pureLessThan, qOverP, safeBoundEqual, setInteractor, setSimInteractor, simInteract, simInteractor, status, status, type
public static final int ZPOS
public static final int IX
public static final int IY
public static final int IDXDZ
public static final int IDYDZ
public static final int IQP
protected double _z
public SurfZPlane(double z)
z
- The z location of the plane surface.public SurfZPlane(SurfZPlane surf)
surf
- The SurfZPlane to replicate.public static String typeName()
public static String staticType()
protected boolean safePureEqual(Surface srf)
safePureEqual
in class Surface
protected boolean safePureLessThan(Surface srf)
safePureLessThan
in class Surface
public String pureType()
public Surface newPureSurface()
newPureSurface
in class Surface
public CrossStat pureStatus(VTrack trv)
pureStatus
in class Surface
trv
- The VTrack to test.public double parameter(int ipar)
public double z()
public TrackVector vecDiff(TrackVector vec1, TrackVector vec2)
public SpacePoint spacePoint(TrackVector vec)
spacePoint
in class Surface
vec
- The TrackVector at this Surface.public SpacePath spacePath(TrackVector vec, TrackSurfaceDirection dir)
public boolean equals(SurfZPlane srf)
srf
- The surface to test against.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.