public interface SimCalorimeterHit extends CalorimeterHit
CalorimeterHit
interface and adds
methods for accessing MC data.CalorimeterHit.CorrectedEnergyComparator, CalorimeterHit.RawEnergyComparator, CalorimeterHit.TimeComparator
Modifier and Type | Method and Description |
---|---|
double |
getContributedEnergy(int index)
Get the energy in GeV of the i-th contribution to the hit.
|
double |
getContributedTime(int index)
Get the time in ns of the i-th contribution to the hit.
|
MCParticle |
getMCParticle(int index)
Get the MCParticle that caused the shower responsible for this
contribution to the hit.
|
int |
getMCParticleCount()
Get the number of MC contributions to the hit.
|
int |
getPDG(int index)
Get the PDG code of the shower particle that caused this
contribution.
|
float[] |
getStepPosition(int index)
Get the step position of an MCParticle contribution in Cartesian coordinates.
|
getCellID, getCorrectedEnergy, getEnergyError, getPosition, getRawEnergy, getTime, getType
getBarrelEndcapFlag, getDetectorIdentifierHelper, getIDDecoder, getIdentifierFieldValue, getLayerNumber, getMetaData, getPositionVec, getSubdetector, getSystemId, setMetaData
getDetectorElement, setDetectorElement
getExpandedIdentifier, getIdentifier, getIdentifierHelper
int getMCParticleCount()
getContributedEnergy(int)
, #getContributedTime(int),
{@link #getMCParticle(int)}, and {@linke #getStepPosition(int)}.MCParticle getMCParticle(int index)
double getContributedEnergy(int index)
double getContributedTime(int index)
int getPDG(int index)
float[] getStepPosition(int index)
index
- The index of the contribution.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.