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 SummaryConstructors
- 
Method SummaryMethods inherited from class org.jlab.geom.component.PrismaticComponentgetDirection, getLength, getLine, getVolumeIntersection, onRotateX, onRotateY, onRotateZ, onTranslateXYZMethods inherited from class org.jlab.geom.abs.AbstractComponentaddVolumeEdge, addVolumePoint, addVolumeTriangleFace, getComponentId, getMidpoint, getNumVolumeEdges, getNumVolumePoints, getVolumeCrossSection, getVolumeEdge, getVolumePoint, getVolumeShape, rotateX, rotateY, rotateZ, show, toString, translateXYZ
- 
Constructor Details- 
DriftChamberWirepublic 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 id
- midpoint- the- midpointof the wire
- line- the- linerepresenting the wire
- flipReadoutDirection- if true the direction will point from- topHexto- botHexinstead of from- botHexto- topHex
- botHex- the first convex hexagon whose points represent the origin points of the field wires
- topHex- the second convex hexagon whose points represent the end points of the field wires
 
 
- 
- 
Method Details- 
getTypeReturns "Drift Chamber Wire".- Returns:
- "Drift Chamber Wire"
 
 
-