Contents
Class DCLayer
- All Implemented Interfaces:
Layer<DriftChamberWire>
,Showable
A Drift Chamber (DC)
Layer
.
Factory: DCFactory
Hierarchy:
DCDetector
→
DCSector
→
DCSuperlayer
→
DCLayer
→
DriftChamberWire
- Author:
- jnhankins
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DCLayer
(int sectorId, int superlayerId, int layerId) DCLayer
(DetectorId id, int sectorId, int superlayerId, int layerId) -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of DetecorHits which store information about intersections with components in this superlayer.Returns the plane that bisects the the region containing the layer.getType()
Returns "DC Layer".void
onSetTransformation
(Transformation3D transform) Classes extending AbstractLayer should implement onSetTransformation so that any additional geometric data they contain is transformed appropriately when AbstractLayer's onSetTransformation method is invoked.Methods inherited from class org.jlab.geom.abs.AbstractLayer
addComponent, getAllComponents, getBoundary, getComponent, getCrossSections, getDetectorId, getLayerHits, getLayerId, getNumComponents, getPlane, getSectorId, getSuperlayerId, getTransformation, setTransformation, show, toString
-
Constructor Details
-
Method Details
-
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
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 classAbstractLayer<DriftChamberWire>
- Parameters:
transform
- the full transformation from the old coordinate system to the new coordinate system- See Also:
-
getType
-
getHits
Description copied from interface:Layer
Returns a list of DetecorHits which store information about intersections with components in this superlayer.- Specified by:
getHits
in interfaceLayer<DriftChamberWire>
- Overrides:
getHits
in classAbstractLayer<DriftChamberWire>
- Parameters:
path
- the path- Returns:
- a list of detector hits
-