Class DriftChamberWire
- All Implemented Interfaces:
Component, Transformable, Showable
A Line3D representing the sense wire itself can be obtained via
PrismaticComponent.getLine(). The Point3D at the intersection of the wire and
the midplane of the
drift chamber can be obtained via AbstractComponent.getMidpoint().
The volume of a DriftChamberWire is the
region enclosed by the six field wires surrounding the sense wire.
Consequently, this volume is a hexagonal volume bounded by two planes.
Line3D objects representing the field wires can be obtained via
getVolumeEdge(int index) where index
is in the range [12, 17].
For convenience, all DriftChamberWires should be constructed such
that the direction of the wire's
line and the direction from the first hexagon to the
second hexagon given in the constructor point clockwise aground the z-axis
in any of the standard coordinate systems (for information about coordinate
systems see Factory).
For more information see PrismaticComponent.
- Author:
- jnhankins
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PrismaticComponent
getDirection, getLength, getLine, getVolumeIntersection, onRotateX, onRotateY, onRotateZ, onTranslateXYZMethods inherited from class AbstractComponent
addVolumeEdge, addVolumePoint, addVolumeTriangleFace, getComponentId, getMidpoint, getNumVolumeEdges, getNumVolumePoints, getVolumeCrossSection, getVolumeEdge, getVolumePoint, getVolumeShape, rotateX, rotateY, rotateZ, show, toString, translateXYZ
-
Constructor Details
-
DriftChamberWire
public DriftChamberWire(int componentId, Point3D midpoint, Line3D line, boolean flipReadoutDirection, List<Point3D> botHex, List<Point3D> topHex) Constructs a newDriftChamberWirefrom the given parameters.Though not strictly required, for convenience, all
DriftChamberWires should be constructed such that thedirectionof the wire'slineand the direction from the first hexagon to the second hexagon given in the constructor point clockwise aground the z-axis in any of the standard coordinate systems (for information about coordinate systems seeFactory).- Parameters:
componentId- the component idmidpoint- themidpointof the wireline- thelinerepresenting the wireflipReadoutDirection- if true the direction will point fromtopHextobotHexinstead of frombotHextotopHexbotHex- the first convex hexagon whose points represent the origin points of the field wirestopHex- the second convex hexagon whose points represent the end points of the field wires
-
-
Method Details
-
getType
-