Class DCLayer

All Implemented Interfaces:
Layer<DriftChamberWire>, Showable

public class DCLayer extends AbstractLayer<DriftChamberWire>
A Drift Chamber (DC) Layer.

Factory: DCFactory
Hierarchy: DCDetectorDCSectorDCSuperlayerDCLayerDriftChamberWire

Author:
jnhankins
  • Constructor Details

    • DCLayer

      protected DCLayer(int sectorId, int superlayerId, int layerId)
    • DCLayer

      public DCLayer(DetectorId id, int sectorId, int superlayerId, int layerId)
  • Method Details

    • getMidplane

      public Plane3D getMidplane()
      Returns the plane that bisects the the region containing the layer. In nominal alignments, for sectors 0 and 3 this plane is in the xz-plane.
      Returns:
      the plane that bisects the the region containing the layer
    • onSetTransformation

      public void onSetTransformation(Transformation3D transform)
      Description copied from class: AbstractLayer
      Classes extending AbstractLayer should implement onSetTransformation so that any additional geometric data they contain is transformed appropriately when AbstractLayer's onSetTransformation method is invoked. To implement this method simply apply the given transformation on all of the transformable contained in the layer that are not managed by AbstractLayer. This method is called at the end of AbstractLayer's setTransformation method.
      Overrides:
      onSetTransformation in class AbstractLayer<DriftChamberWire>
      Parameters:
      transform - the full transformation from the old coordinate system to the new coordinate system
      See Also:
    • getType

      public String getType()
      Returns "DC Layer".
      Returns:
      "DC Layer"
    • getHits

      public List<DetectorHit> getHits(Path3D path)
      Description copied from interface: Layer
      Returns a list of DetecorHits which store information about intersections with components in this superlayer.
      Specified by:
      getHits in interface Layer<DriftChamberWire>
      Overrides:
      getHits in class AbstractLayer<DriftChamberWire>
      Parameters:
      path - the path
      Returns:
      a list of detector hits