public class ProjectiveZPlane extends SegmentationBase
Modifier and Type | Field and Description |
---|---|
private int |
barrelIndex |
private static String[] |
fieldNames |
private int |
phiBins |
private double |
phiDim |
private int |
phiIndex |
private int |
systemIndex |
private int |
thetaBins |
private double |
thetaDim |
private int |
thetaIndex |
cellSizes
decoder, descriptor, detector, layerIndex, valid, values
INVALID_INDEX
Constructor and Description |
---|
ProjectiveZPlane(org.jdom.Element node) |
Modifier and Type | Method and Description |
---|---|
long |
findCellContainingXYZ(double x,
double y,
double z)
Return the cell which contains a given point (x,y,z), or zero.
|
double |
getCellSizeU() |
double |
getCellSizeV() |
int |
getLayerBin(double z)
Return the layer number based on the z-coordinate
|
long[] |
getNeighbourIDs(int deltaLayer,
int deltaTheta,
int deltaPhi)
Get the current cell's neighbors using fully specified neighboring parameters.
|
double |
getPhi() |
int |
getPhiBins() |
String[] |
getSegmentationFieldNames() |
private double |
getSphericalRadius() |
double |
getTheta()
The decoded theta angle of this id.
|
int |
getThetaBins() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setIDDescription(IDDescriptor id)
Set the ID description of this decoder.
|
boolean |
supportsNeighbours()
Does this Decoder support cell neighboring?
|
findCellContainingXYZ, findCellContainingXYZ, getDistanceToSensitive, getID, getLayering, getNumberOfLayers, getRMax, getRMin, getZMax, getZMin, transformLocalToGlobal
useForHitPosition
getBarrelEndcapFlag, getDecoder, getFieldCount, getFieldIndex, getFieldName, getIDDescription, getLayer, getNeighbourIDs, getPosition, getPositionVector, getSubdetector, getSystemID, getSystemNumber, getValue, getValue, getValues, getVLayer, isValid, setID, setSubdetector, toString
private int thetaBins
private int phiBins
private int thetaIndex
private int phiIndex
private int systemIndex
private int barrelIndex
private double thetaDim
private double phiDim
private static final String[] fieldNames
ProjectiveZPlane(org.jdom.Element node) throws org.jdom.DataConversionException
org.jdom.DataConversionException
public String[] getSegmentationFieldNames()
getSegmentationFieldNames
in class SegmentationBase
public double getCellSizeU()
getCellSizeU
in class Segmentation
public double getCellSizeV()
getCellSizeV
in class Segmentation
public int getThetaBins()
public int getPhiBins()
public double getPhi()
getPhi
in interface IDDecoder
getPhi
in class BaseIDDecoder
public double getTheta()
IDDecoder
getTheta
in interface IDDecoder
getTheta
in class BaseIDDecoder
public double getX()
getX
in interface IDDecoder
getX
in class BaseIDDecoder
public double getY()
getY
in interface IDDecoder
getY
in class BaseIDDecoder
public double getZ()
getZ
in interface IDDecoder
getZ
in class BaseIDDecoder
private double getSphericalRadius()
public void setIDDescription(IDDescriptor id)
IDDecoder
setIDDescription
in interface IDDecoder
setIDDescription
in class BaseIDDecoder
id
- The ID description.public long[] getNeighbourIDs(int deltaLayer, int deltaTheta, int deltaPhi)
IDDecoder
getNeighbourIDs
in interface IDDecoder
getNeighbourIDs
in class BaseIDDecoder
deltaLayer
- The number of layers to neighbor (plus or minus).deltaTheta
- The number of cells in theta to neighbor (plus or minus).deltaPhi
- The number of cells in phi to neighbor (plus or minus).public boolean supportsNeighbours()
IDDecoder
supportsNeighbours
in interface IDDecoder
supportsNeighbours
in class SegmentationBase
public long findCellContainingXYZ(double x, double y, double z)
findCellContainingXYZ
in class SegmentationBase
x
- Cartesian X coordinate.y
- Cartesian Y coordinate.z
- Cartesian Z coordinate.public int getLayerBin(double z)
z
- z-coordinateRuntimeException
- if abs(z)Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.