public class BaseTrackerHitMC extends BaseTrackerHit
Modifier and Type | Field and Description |
---|---|
protected List<MCParticle> |
_mcparticles |
protected List<SimTrackerHit> |
_simHits |
_covMatrix, _dedx, _pos, _rawHits, _time, _type, id
Constructor and Description |
---|
BaseTrackerHitMC(double[] pos,
double[] cov,
double t,
double e,
int type,
List<SimTrackerHit> simHits)
fully qualified constructor
|
BaseTrackerHitMC(double[] pos,
double[] cov,
double t,
double e,
int type,
MCParticle mcparticle)
fully qualified constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addMCParticle(MCParticle mcp)
Add an MCParticle which contributed to this hit.
|
List<SimTrackerHit> |
getSimHits()
The MC tracker hits contributing to this hit.
|
List<MCParticle> |
mcParticles()
The list of monte carlo particles contributing to this measurement.
|
String |
toString() |
addRawTrackerHit, addRawTrackerHits, getCellID, getCovMatrix, getdEdx, getEdepError, getPosition, getQuality, getRawHits, getTime, getType, setCovarianceMatrix, setEnergy, setPosition, setTime, setType
protected List<MCParticle> _mcparticles
protected List<SimTrackerHit> _simHits
public BaseTrackerHitMC(double[] pos, double[] cov, double t, double e, int type, MCParticle mcparticle)
pos
- the position of this hit (x,y,z) in mmcov
- the covariance matrix for the position measurement, packed as 6 elements.t
- the time for this measurement in nse
- the energy deposit associated with this measurement, in GeVtype
- the type of this measurement. not yet defined.mcparticle
- The monte carlo particle contributing to this measurement.public BaseTrackerHitMC(double[] pos, double[] cov, double t, double e, int type, List<SimTrackerHit> simHits)
pos
- the position of this hit (x,y,z) in mmcov
- the covariance matrix for the position measurement, packed as 6 elements.t
- the time for this measurement in nse
- the energy deposit associated with this measurement, in GeVtype
- the type of this measurement. not yet defined.simHits
- The list of SimTrackerHit(s) contributing to this measurement.public void addMCParticle(MCParticle mcp)
mcp
- The MCParticle to associate with this hit.public List<MCParticle> mcParticles()
public List<SimTrackerHit> getSimHits()
public String toString()
toString
in class BaseTrackerHit
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.