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 DriftChamberWire
s 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 org.jlab.geom.component.PrismaticComponent
getDirection, getLength, getLine, getVolumeIntersection, onRotateX, onRotateY, onRotateZ, onTranslateXYZ
Methods inherited from class org.jlab.geom.abs.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 newDriftChamberWire
from the given parameters.Though not strictly required, for convenience, all
DriftChamberWire
s should be constructed such that thedirection
of the wire'sline
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 seeFactory
).- Parameters:
componentId
- the component idmidpoint
- themidpoint
of the wireline
- theline
representing the wireflipReadoutDirection
- if true the direction will point fromtopHex
tobotHex
instead of frombotHex
totopHex
botHex
- 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