public class ISimTrackerHit extends Object implements SimTrackerHit
BITOverlay, BITProducedBySecondary| Constructor and Description |
|---|
ISimTrackerHit() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCellID()
DEPRECATED: use @getCellID0()
|
int |
getCellID0()
Same name as in CalorimeterHit, even though there are no 'cells' in this case
|
int |
getCellID1()
Same name as in CalorimeterHit, even though there are no 'cells' in this case
Optional, check/set flag(LCIO::THBIT_ID1)==1.
|
float |
getdEdx()
Returns the dE/dx of the hit in [GeV].
|
float |
getEDep()
The energy deposited on the hit [GeV]
|
MCParticle |
getMCParticle()
Returns the MC particle that caused the hit.
|
float[] |
getMomentum()
Returns the 3-momentum of the particle at the hits position in [GeV] -
optional, only if bit LCIO::THBIT_MOMENTUM is set.
|
float |
getPathLength()
The path length of the particle in the sensitive material that resulted in this hit.
|
double[] |
getPosition()
Returns the hit position in [mm].
|
int |
getQuality()
The quality bit flag of the hit
|
float |
getTime()
Returns the time of the hit in [ns].
|
boolean |
isOverlay()
True if the hit has been overlayed by the simulation (or digitization) program.
|
boolean |
isProducedBySecondary()
True if the particle has been created by a secondary particle that is not stored in the MCParticle collection.
|
void |
setCellID(int cellID) |
void |
setCellID0(int cellID) |
void |
setCellID1(int cellID) |
void |
setdEdx(float dEdx) |
void |
setEDep(float e) |
void |
setMCParticle(MCParticle mc) |
void |
setMomentum(float[] fs) |
void |
setOverlay(boolean val) |
void |
setPathLength(float length) |
void |
setPosition(double[] pos) |
void |
setProducedBySecondary(boolean val) |
void |
setQuality(int quality) |
void |
setTime(float time) |
public void setCellID(int cellID)
public int getCellID()
SimTrackerHitgetCellID in interface SimTrackerHitpublic void setCellID0(int cellID)
public int getCellID0()
SimTrackerHitgetCellID0 in interface SimTrackerHitpublic void setCellID1(int cellID)
public int getCellID1()
SimTrackerHitgetCellID1 in interface SimTrackerHitpublic void setMCParticle(MCParticle mc)
public MCParticle getMCParticle()
SimTrackerHitgetMCParticle in interface SimTrackerHitMCParticlepublic void setPosition(double[] pos)
public double[] getPosition()
SimTrackerHitgetPosition in interface SimTrackerHitpublic void setTime(float time)
public float getTime()
SimTrackerHitgetTime in interface SimTrackerHitpublic float getdEdx()
SimTrackerHitgetdEdx in interface SimTrackerHitSimTrackerHit.getEDep()public void setdEdx(float dEdx)
public float getEDep()
SimTrackerHitgetEDep in interface SimTrackerHitpublic void setEDep(float e)
public float[] getMomentum()
SimTrackerHitgetMomentum in interface SimTrackerHitpublic void setMomentum(float[] fs)
public float getPathLength()
SimTrackerHitgetPathLength in interface SimTrackerHitpublic void setPathLength(float length)
public int getQuality()
SimTrackerHitgetQuality in interface SimTrackerHitpublic void setQuality(int quality)
public boolean isProducedBySecondary()
SimTrackerHitisProducedBySecondary in interface SimTrackerHitpublic boolean isOverlay()
SimTrackerHitisOverlay in interface SimTrackerHitpublic void setProducedBySecondary(boolean val)
public void setOverlay(boolean val)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics