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()
SimTrackerHit
getCellID
in interface SimTrackerHit
public void setCellID0(int cellID)
public int getCellID0()
SimTrackerHit
getCellID0
in interface SimTrackerHit
public void setCellID1(int cellID)
public int getCellID1()
SimTrackerHit
getCellID1
in interface SimTrackerHit
public void setMCParticle(MCParticle mc)
public MCParticle getMCParticle()
SimTrackerHit
getMCParticle
in interface SimTrackerHit
MCParticle
public void setPosition(double[] pos)
public double[] getPosition()
SimTrackerHit
getPosition
in interface SimTrackerHit
public void setTime(float time)
public float getTime()
SimTrackerHit
getTime
in interface SimTrackerHit
public float getdEdx()
SimTrackerHit
getdEdx
in interface SimTrackerHit
SimTrackerHit.getEDep()
public void setdEdx(float dEdx)
public float getEDep()
SimTrackerHit
getEDep
in interface SimTrackerHit
public void setEDep(float e)
public float[] getMomentum()
SimTrackerHit
getMomentum
in interface SimTrackerHit
public void setMomentum(float[] fs)
public float getPathLength()
SimTrackerHit
getPathLength
in interface SimTrackerHit
public void setPathLength(float length)
public int getQuality()
SimTrackerHit
getQuality
in interface SimTrackerHit
public void setQuality(int quality)
public boolean isProducedBySecondary()
SimTrackerHit
isProducedBySecondary
in interface SimTrackerHit
public boolean isOverlay()
SimTrackerHit
isOverlay
in interface SimTrackerHit
public void setProducedBySecondary(boolean val)
public void setOverlay(boolean val)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics