Package org.jlab.rec.dc.trajectory
Class Surface
java.lang.Object
org.jlab.rec.dc.trajectory.Surface
- Author:
- ziegler, devita
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
class
class
-
Constructor Summary
ConstructorsConstructorDescriptionSurface
(DetectorType type, int layer, double d, double nx, double ny, double nz) Surface
(DetectorType type, int sector, int layer) Surface
(DetectorType type, int sector, int layer, Plane3D plane) Surface
(DetectorType type, int sector, int layer, Plane3D plane, Surface.Contour contour, double thickness) Surface
(DetectorType type, int sector, int layer, Sector3D arc, double thickness) Surface
(DetectorType type, int sector, int layer, Trap3D trapezoid, double thickness) Surface
(DetectorType type, int sector, int layer, Triangle3D triangle, double thickness) -
Method Summary
Modifier and TypeMethodDescriptiondouble
distanceFromEdge
(double x, double y, double z) double
distanceFromEdge
(Point3D point) double
distanceFromPlane
(double x, double y, double z) double
distanceFromPlane
(Point3D point) double
double
getD()
int
int
getPlane()
double
boolean
void
setContour
(Surface.Contour contour) void
setDetectorLayer
(int layer) void
setDetectorSector
(int detectorSector) void
setDetectorType
(DetectorType type) void
void
setThickness
(double thickness) toString()
vectorToPlane
(double x, double y, double z) vectorToPlane
(Point3D point)
-
Constructor Details
-
Surface
-
Surface
-
Surface
public Surface(DetectorType type, int sector, int layer, Plane3D plane, Surface.Contour contour, double thickness) -
Surface
-
Surface
-
Surface
-
Surface
-
-
Method Details
-
getPlane
-
setPlane
-
getContour
-
setContour
-
getThickness
public double getThickness() -
setThickness
public void setThickness(double thickness) -
getDetectorType
-
setDetectorType
-
getDetectorSector
public int getDetectorSector() -
setDetectorSector
public void setDetectorSector(int detectorSector) -
getDetectorLayer
public int getDetectorLayer() -
setDetectorLayer
public void setDetectorLayer(int layer) -
isInside
-
distanceFromEdge
public double distanceFromEdge(double x, double y, double z) -
distanceFromEdge
-
distanceFromPlane
-
distanceFromPlane
public double distanceFromPlane(double x, double y, double z) -
vectorToPlane
-
vectorToPlane
-
dx
-
getD
public double getD() -
getNormal
-
toString
-