Class DriftChamberWire

All Implemented Interfaces:
Component, Transformable, Showable

public class DriftChamberWire extends PrismaticComponent
A drift chamber wire.

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 Details Link icon

    • DriftChamberWire Link icon

      public DriftChamberWire(int componentId, Point3D midpoint, Line3D line, boolean flipReadoutDirection, List<Point3D> botHex, List<Point3D> topHex)
      Constructs a new DriftChamberWire from the given parameters.

      Though not strictly required, 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).

      Parameters:
      componentId - the component id
      midpoint - the midpoint of the wire
      line - the line representing the wire
      flipReadoutDirection - if true the direction will point from topHex to botHex instead of from botHex to 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 Link icon

    • getType Link icon

      public String getType()
      Returns "Drift Chamber Wire".
      Returns:
      "Drift Chamber Wire"