public interface Hit extends HasDetectorElement, Identifiable
Modifier and Type | Method and Description |
---|---|
BarrelEndcapFlag |
getBarrelEndcapFlag()
Get the barrel flag (collider-detector specific).
|
DetectorIdentifierHelper |
getDetectorIdentifierHelper()
Convenience method to get the Subdetector's IdentifierHelper.
|
IDDecoder |
getIDDecoder()
Get the IDDecoder for the hit.
|
int |
getIdentifierFieldValue(String field)
Get a field value using the helper.
|
int |
getLayerNumber()
Get the layer number of the hit.
|
EventHeader.LCMetaData |
getMetaData()
Get the collection meta data reference for this object.
|
double[] |
getPosition()
Get the position of the hit as a double array of length 3.
|
Hep3Vector |
getPositionVec()
Get the position vector of the hit.
|
Subdetector |
getSubdetector()
Get the subdetector of this hit.
|
int |
getSystemId()
Get the subdetector's system ID.
|
void |
setMetaData(EventHeader.LCMetaData meta)
Set the collection meta data of this object.
|
getDetectorElement, setDetectorElement
getExpandedIdentifier, getIdentifier, getIdentifierHelper
Hep3Vector getPositionVec()
double[] getPosition()
DetectorIdentifierHelper getDetectorIdentifierHelper()
EventHeader.LCMetaData getMetaData()
void setMetaData(EventHeader.LCMetaData meta)
Subdetector getSubdetector()
IDDecoder getIDDecoder()
int getSystemId()
BarrelEndcapFlag getBarrelEndcapFlag()
int getLayerNumber()
int getIdentifierFieldValue(String field)
field
- The name of the field.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.