public class RegularNgonCartesianGridXY extends CartesianGridXY
Modifier and Type | Field and Description |
---|---|
private boolean[] |
borderCellIsDuplicate |
private static String[] |
fieldNames |
private double |
gridSizeX |
private double |
gridSizeY |
private int |
moduleIndex |
private int |
nmodules |
private int[] |
nvalidx |
private int |
xIndex |
private int |
yIndex |
geomFields, globalPosition, gridSizeZ, localPosition, needsCompute, sensitiveSlices, sliceIndex
cellSizes
decoder, descriptor, detector, layerIndex, valid, values
INVALID_INDEX
Constructor and Description |
---|
RegularNgonCartesianGridXY(org.jdom.Element node) |
Modifier and Type | Method and Description |
---|---|
long[] |
getNeighbourIDs(int layerRange,
int xRange,
int yRange)
Get the current cell's neighbors using fully specified neighboring parameters.
|
String[] |
getSegmentationFieldNames() |
protected void |
initializeBorders() |
void |
setupGeomFields(IDDescriptor id)
Make a list of fields that are geometric by stripping out this
segmentation's fields from the given
IDDescriptor . |
boundsCheck, computeLocalPosition, getGridSizeX, getGridSizeY, getXBin, getYBin, setSegmentationValues
computeCoordinate, computeGlobalPosition, computePosition, findCellContainingXYZ, getBin, getGridSizeZ, getNeighbourIDs, getPosition, getX, getY, getZ, initSensitiveSlices, makeGeometryIdentifier, setID, setIDDescription, supportsNeighbours
findCellContainingXYZ, findCellContainingXYZ, getDistanceToSensitive, getID, getLayering, getNumberOfLayers, getRMax, getRMin, getZMax, getZMin, transformLocalToGlobal
getCellSizeU, getCellSizeV, useForHitPosition
getBarrelEndcapFlag, getDecoder, getFieldCount, getFieldIndex, getFieldName, getIDDescription, getLayer, getNeighbourIDs, getPhi, getPositionVector, getSubdetector, getSystemID, getSystemNumber, getTheta, getValue, getValue, getValues, getVLayer, isValid, setSubdetector, toString
private double gridSizeX
private double gridSizeY
private int nmodules
private int xIndex
private int yIndex
private int moduleIndex
private int[] nvalidx
private boolean[] borderCellIsDuplicate
private static final String[] fieldNames
public RegularNgonCartesianGridXY(org.jdom.Element node) throws org.jdom.DataConversionException
org.jdom.DataConversionException
public String[] getSegmentationFieldNames()
getSegmentationFieldNames
in class CartesianGridXY
public long[] getNeighbourIDs(int layerRange, int xRange, int yRange)
IDDecoder
getNeighbourIDs
in interface IDDecoder
getNeighbourIDs
in class CartesianGridXY
layerRange
- The number of layers to neighbor (plus or minus).xRange
- The number of cells in theta to neighbor (plus or minus).yRange
- The number of cells in phi to neighbor (plus or minus).protected void initializeBorders()
public void setupGeomFields(IDDescriptor id)
AbstractCartesianGrid
IDDescriptor
.setupGeomFields
in class CartesianGridXY
id
- The description of the Id.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.