public class EcalBarrelCartesianGridXY extends CartesianGridXY
Modifier and Type | Field and Description |
---|---|
private double |
costh |
private double |
cotth |
private double |
cscth |
private static String[] |
fieldNames |
private double |
gridSizeX |
private double |
gridSizeY |
private int |
moduleIndex |
private int |
nlayers |
private int |
nmodules |
private double |
secth |
private double |
sinth |
private double |
tanth |
private int[] |
validXminusG |
private int[] |
validXminusP |
private int[] |
validXplusG |
private int[] |
validXplusP |
private int |
validZminus |
private int |
validZplus |
private double |
xc0 |
private int |
xIndex |
private double[] |
yc |
private int |
yIndex |
geomFields, globalPosition, gridSizeZ, localPosition, needsCompute, sensitiveSlices, sliceIndex
cellSizes
decoder, descriptor, detector, layerIndex, valid, values
INVALID_INDEX
Constructor and Description |
---|
EcalBarrelCartesianGridXY(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.
|
protected List<Long> |
getNeighbourIDs(int layerRange,
int xRange,
int yRange,
IDEncoder gnEncoder,
int currLayer,
int currX,
int currY) |
String[] |
getSegmentationFieldNames() |
int |
getVLayer()
Get the layer number, possibly adjusted for topologies such as EcalBarrel.
|
protected void |
initializeMappings() |
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, isValid, setSubdetector, toString
private double gridSizeX
private double gridSizeY
private int xIndex
private int yIndex
private int moduleIndex
private int nmodules
private int[] validXplusG
private int[] validXminusG
private int[] validXplusP
private int[] validXminusP
private int validZplus
private int validZminus
private double xc0
private double[] yc
private double sinth
private double costh
private double tanth
private double cotth
private double secth
private double cscth
private int nlayers
private static final String[] fieldNames
public EcalBarrelCartesianGridXY(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 List<Long> getNeighbourIDs(int layerRange, int xRange, int yRange, IDEncoder gnEncoder, int currLayer, int currX, int currY)
public void setupGeomFields(IDDescriptor id)
AbstractCartesianGrid
IDDescriptor
.setupGeomFields
in class CartesianGridXY
id
- The description of the Id.protected void initializeMappings()
public int getVLayer()
IDDecoder
IDDecoder.getLayer()
.getVLayer
in interface IDDecoder
getVLayer
in class BaseIDDecoder
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.