Modifier and Type | Field and Description |
---|---|
private long |
_id |
INVALID_INDEX
Constructor and Description |
---|
Decoder() |
Modifier and Type | Method and Description |
---|---|
long |
findCellContainingXYZ(double[] pos) |
long |
findCellContainingXYZ(double x,
double y,
double z) |
long |
findCellContainingXYZ(Hep3Vector pos) |
BarrelEndcapFlag |
getBarrelEndcapFlag()
Get the flag that indicates barrel or endcap, i.e.
|
ExpandedIdentifier |
getExpandedIdentifier()
Get an expanded identifier that maps strings to integer values.
|
ExpandedIdentifier |
getExpandedIdentifier(long id)
Same as getIDExpanded() except sets id.
|
int |
getFieldCount() |
int |
getFieldIndex(String name) |
String |
getFieldName(int index) |
IDDescriptor |
getIDDescription() |
int |
getLayer() |
long[] |
getNeighbourIDs() |
long[] |
getNeighbourIDs(int deltaLayer,
int deltaTheta,
int deltaPhi) |
double |
getPhi() |
double[] |
getPosition() |
Hep3Vector |
getPositionVector() |
Subdetector |
getSubdetector()
Get the Subdetector associated with this IDDecoder, or null if not applicable.
|
int |
getSystemID()
Get the system ID, i.e.
|
int |
getSystemNumber() |
double |
getTheta() |
int |
getValue(int index) |
int |
getValue(String field) |
int[] |
getValues(int[] buffer) |
int |
getVLayer() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setID(long id)
Load the decoder with a 64-bit id value from the hit.
|
void |
setIDDescription(IDDescriptor id) |
boolean |
supportsNeighbours() |
public void setID(long id)
public ExpandedIdentifier getExpandedIdentifier()
public ExpandedIdentifier getExpandedIdentifier(long id)
public int getFieldCount()
getFieldCount
in interface IDDecoder
public String getFieldName(int index)
getFieldName
in interface IDDecoder
public int getFieldIndex(String name)
getFieldIndex
in interface IDDecoder
public void setIDDescription(IDDescriptor id)
setIDDescription
in interface IDDecoder
public IDDescriptor getIDDescription()
getIDDescription
in interface IDDecoder
public Hep3Vector getPositionVector()
getPositionVector
in interface IDDecoder
public double[] getPosition()
getPosition
in interface IDDecoder
public long findCellContainingXYZ(Hep3Vector pos)
findCellContainingXYZ
in interface IDDecoder
public long findCellContainingXYZ(double[] pos)
findCellContainingXYZ
in interface IDDecoder
public long findCellContainingXYZ(double x, double y, double z)
public BarrelEndcapFlag getBarrelEndcapFlag()
getBarrelEndcapFlag
in interface IDDecoder
public int getSystemID()
getSystemID
in interface IDDecoder
public int getSystemNumber()
getSystemNumber
in interface IDDecoder
public Subdetector getSubdetector()
getSubdetector
in interface IDDecoder
public boolean supportsNeighbours()
supportsNeighbours
in interface IDDecoder
public long[] getNeighbourIDs()
getNeighbourIDs
in interface IDDecoder
public long[] getNeighbourIDs(int deltaLayer, int deltaTheta, int deltaPhi)
getNeighbourIDs
in interface IDDecoder
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.