public class DiskTrackerToRingsSegmenter extends RegionSegmenter
Each disk will correspond to a Sensor
object. Postfixes are assigned in
the increasing Z order. Sensors corresponding to layers facing away from the center
of the detector are rotated by an angle set through a call to
setStereoAngle(double angle)
.
Modifier and Type | Field and Description |
---|---|
private List<IDetectorElement> |
_detElts |
private int |
_nDisks |
private int |
_nLayers |
private double[] |
_radiusInner |
private double[] |
_radiusOuter |
private Rotation3D |
_rot0 |
private Rotation3D |
_rot1 |
(package private) String |
_sdName |
private double |
_stripLength |
private double |
_stripWidth |
private double[] |
_thickness |
private double[] |
_z |
_postfixLength, _postfixMask, _prefix, _prefixTemplate
Constructor and Description |
---|
DiskTrackerToRingsSegmenter(String subdetectorName)
Creates a new instance of DiskTrackerToRingsSegmenter.
|
Modifier and Type | Method and Description |
---|---|
void |
detectorChanged(Detector detector)
Detector-dependent initialization.
|
int |
getMaxPostfix()
Returns maximum postfix value that can be returned by
makePostfix(SimTrackerHit) method of this Segmenter. |
int |
makePostfix(SimTrackerHit hit)
Returns sensor ID postfix corresponding to the given position.
|
Sensor |
makeSensor(int postfix)
Creates a
Sensor object given the ID. |
void |
setStereoAngle(double angle)
Set stereo angle.
|
void |
setStripLength(double length)
Set strip length.
|
void |
setStripWidth(double pitch)
Set strip width.
|
getNativePostfixLength, getSensor, getSensor, getSensorID, getSensorIDs, getStereoPartners, isPostfixValid, setPrefix
getLeaves, getPrefix, idToPostfix, postfixToID
String _sdName
private List<IDetectorElement> _detElts
private int _nDisks
private int _nLayers
private double[] _radiusInner
private double[] _radiusOuter
private double[] _thickness
private double[] _z
private double _stripLength
private double _stripWidth
private Rotation3D _rot0
private Rotation3D _rot1
public DiskTrackerToRingsSegmenter(String subdetectorName)
public void detectorChanged(Detector detector)
detectorChanged
in interface Segmenter
detectorChanged
in class RegionSegmenter
public void setStripWidth(double pitch)
public void setStripLength(double length)
public void setStereoAngle(double angle)
public int makePostfix(SimTrackerHit hit)
makePostfix
in class RegionSegmenter
public int getMaxPostfix()
makePostfix(SimTrackerHit)
method of this Segmenter.getMaxPostfix
in class RegionSegmenter
public Sensor makeSensor(int postfix)
Sensor
object given the ID.makeSensor
in class RegionSegmenter
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.