public class BaseRawTrackerHit extends BaseHit implements RawTrackerHit
Modifier and Type | Field and Description |
---|---|
protected short[] |
adcValues |
protected long |
cellId |
protected List<SimTrackerHit> |
simTrackerHits |
protected int |
time |
detectorElement, expandedID, metaData, packedID, positionVec
Modifier | Constructor and Description |
---|---|
protected |
BaseRawTrackerHit()
Constructor for use by subclasses.
|
|
BaseRawTrackerHit(int time,
long cellId,
short[] adcValues,
List<SimTrackerHit> simTrackerHits,
IDetectorElement detectorElement) |
|
BaseRawTrackerHit(long id,
int time,
short[] adcValues) |
Modifier and Type | Method and Description |
---|---|
short[] |
getADCValues()
Returns the array of ADCValues.
|
long |
getCellID()
Returns the detector specific cell id.
|
IIdentifierHelper |
getIdentifierHelper()
Use SimTrackerHits to find the IdentifierHelper.
|
List<SimTrackerHit> |
getSimTrackerHits()
Returns the associated SimTrackerHit.
|
int |
getTime()
Returns a time measurement associated with the adc values.
|
calculatePosition, findDetectorElement, findDetectorElement, getBarrelEndcapFlag, getDetectorElement, getDetectorIdentifierHelper, getExpandedIdentifier, getIDDecoder, getIdentifier, getIdentifierFieldValue, getLayerNumber, getMetaData, getPosition, getPositionVec, getSubdetector, getSystemId, setDetectorElement, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBarrelEndcapFlag, getDetectorIdentifierHelper, getIDDecoder, getIdentifierFieldValue, getLayerNumber, getMetaData, getPosition, getPositionVec, getSubdetector, getSystemId, setMetaData
getDetectorElement, setDetectorElement
getExpandedIdentifier, getIdentifier
protected int time
protected long cellId
protected short[] adcValues
protected List<SimTrackerHit> simTrackerHits
public BaseRawTrackerHit(long id, int time, short[] adcValues)
public BaseRawTrackerHit(int time, long cellId, short[] adcValues, List<SimTrackerHit> simTrackerHits, IDetectorElement detectorElement)
protected BaseRawTrackerHit()
public int getTime()
RawTrackerHit
getTime
in interface RawTrackerHit
public long getCellID()
RawTrackerHit
getCellID
in interface RawTrackerHit
public short[] getADCValues()
RawTrackerHit
getADCValues
in interface RawTrackerHit
public List<SimTrackerHit> getSimTrackerHits()
RawTrackerHit
null
if there is no associated SimTrackerHit (for example because this is a noise
hit, or because there is no MC information.)getSimTrackerHits
in interface RawTrackerHit
public IIdentifierHelper getIdentifierHelper()
getIdentifierHelper
in interface Identifiable
getIdentifierHelper
in class BaseHit
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.