public class ProjectiveCylinder extends BarrelCylinderSegmentationBase
Modifier and Type | Field and Description |
---|---|
private int |
barrelIndex |
private static String[] |
fieldNames |
private int |
phiBins |
private int |
phiIndex |
private int |
systemIndex |
private int |
thetaBins |
private int |
thetaIndex |
cellSizes
decoder, descriptor, detector, layerIndex, valid, values
INVALID_INDEX
Constructor and Description |
---|
ProjectiveCylinder(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() |
long[] |
getNeighbourIDs(int deltaLayer,
int deltaTheta,
int deltaPhi)
Get the current cell's neighbors using fully specified neighboring parameters.
|
double |
getPhi()
FIXME Cache this value in ctor.
|
int |
getPhiBins() |
String[] |
getSegmentationFieldNames() |
double |
getTheta()
FIXME Cache this value in ctor.
|
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?
|
getLayerBin
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 barrelIndex
private int systemIndex
private static final String[] fieldNames
ProjectiveCylinder(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 double getPhi()
getPhi
in interface IDDecoder
getPhi
in class BaseIDDecoder
public double getTheta()
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
public void setIDDescription(IDDescriptor id)
IDDecoder
setIDDescription
in interface IDDecoder
setIDDescription
in class BaseIDDecoder
id
- The ID description.public boolean supportsNeighbours()
IDDecoder
supportsNeighbours
in interface IDDecoder
supportsNeighbours
in class SegmentationBase
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 int getThetaBins()
public int getPhiBins()
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.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.