public class MokkaSegmentation extends SegmentationBase
cellSizes
decoder, descriptor, detector, layerIndex, valid, values
INVALID_INDEX
Constructor and Description |
---|
MokkaSegmentation(org.jdom.Element node) |
Modifier and Type | Method and Description |
---|---|
long |
findCellContainingXYZ(double x,
double y,
double z)
Returns the cell which contains a given point (x,y,z).
|
long[] |
getNeighbourIDs(int layerRange,
int zRange,
int phiRange)
Get the current cell's neighbors using fully specified neighboring parameters.
|
String[] |
getSegmentationFieldNames() |
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
getCellSizeU, getCellSizeV, useForHitPosition
getBarrelEndcapFlag, getDecoder, getFieldCount, getFieldIndex, getFieldName, getIDDescription, getLayer, getNeighbourIDs, getPhi, getPosition, getPositionVector, getSubdetector, getSystemID, getSystemNumber, getTheta, getValue, getValue, getValues, getVLayer, getX, getY, getZ, isValid, setID, setSubdetector, toString
public MokkaSegmentation(org.jdom.Element node) throws org.jdom.DataConversionException
org.jdom.DataConversionException
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 layerRange, int zRange, int phiRange)
IDDecoder
getNeighbourIDs
in interface IDDecoder
getNeighbourIDs
in class BaseIDDecoder
layerRange
- The number of layers to neighbor (plus or minus).zRange
- The number of cells in theta to neighbor (plus or minus).phiRange
- The number of cells in phi to neighbor (plus or minus).public long findCellContainingXYZ(double x, double y, double z)
SegmentationBase
findCellContainingXYZ
in class SegmentationBase
x
- Cartesian X coordinate.y
- Cartesian Y coordinate.z
- Cartesian Z coordinate.public String[] getSegmentationFieldNames()
getSegmentationFieldNames
in class SegmentationBase
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.