public class BaseCalorimeterHit extends BaseHit implements CalorimeterHit
CalorimeterHit.CorrectedEnergyComparator, CalorimeterHit.RawEnergyComparator, CalorimeterHit.TimeComparator
Modifier and Type | Field and Description |
---|---|
protected double |
correctedEnergy |
protected double |
energyError |
protected long |
id |
protected double |
rawEnergy |
protected double |
time |
protected int |
type |
detectorElement, expandedID, metaData, packedID, positionVec
Modifier | Constructor and Description |
---|---|
protected |
BaseCalorimeterHit() |
|
BaseCalorimeterHit(BaseCalorimeterHit hit) |
|
BaseCalorimeterHit(double rawEnergy,
double correctedEnergy,
double energyError,
double time,
long id,
Hep3Vector positionVec,
int type,
EventHeader.LCMetaData metaData) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateCorrectedEnergy() |
BaseCalorimeterHit |
clone() |
long |
getCellID()
Get the ID of the cell or channel.
|
double |
getCorrectedEnergy()
Get the corrected energy deposition in GeV.
|
double |
getEnergyError()
Get the energy error.
|
IIdentifier |
getIdentifier()
Get the identifier of this hit.
|
int |
getLayerNumber()
Get the layer number of this hit.
|
double |
getRawEnergy()
Get the raw energy deposition in GeV.
|
double |
getTime()
Get the time of the earliest energy contribution to this hit in nanoseconds.
|
int |
getType()
Get the type of the hit.
|
String |
toString()
Conversion to String for printout.
|
calculatePosition, findDetectorElement, findDetectorElement, getBarrelEndcapFlag, getDetectorElement, getDetectorIdentifierHelper, getExpandedIdentifier, getIDDecoder, getIdentifierFieldValue, getIdentifierHelper, getMetaData, getPosition, getPositionVec, getSubdetector, getSystemId, setDetectorElement, setMetaData
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPosition
getBarrelEndcapFlag, getDetectorIdentifierHelper, getIDDecoder, getIdentifierFieldValue, getMetaData, getPositionVec, getSubdetector, getSystemId, setMetaData
getDetectorElement, setDetectorElement
getExpandedIdentifier, getIdentifierHelper
protected double rawEnergy
protected double correctedEnergy
protected double energyError
protected double time
protected long id
protected int type
protected BaseCalorimeterHit()
public BaseCalorimeterHit(double rawEnergy, double correctedEnergy, double energyError, double time, long id, Hep3Vector positionVec, int type, EventHeader.LCMetaData metaData)
public BaseCalorimeterHit(BaseCalorimeterHit hit)
public BaseCalorimeterHit clone()
public double getTime()
CalorimeterHit
getTime
in interface CalorimeterHit
public int getType()
CalorimeterHit
getType
in interface CalorimeterHit
public double getRawEnergy()
CalorimeterHit
getRawEnergy
in interface CalorimeterHit
public double getCorrectedEnergy()
CalorimeterHit
getCorrectedEnergy
in interface CalorimeterHit
public long getCellID()
CalorimeterHit
getCellID
in interface CalorimeterHit
public int getLayerNumber()
BaseHit
getLayerNumber
in interface Hit
getLayerNumber
in class BaseHit
public IIdentifier getIdentifier()
BaseHit
getIdentifier
in interface Identifiable
getIdentifier
in class BaseHit
public double getEnergyError()
CalorimeterHit
getEnergyError
in interface CalorimeterHit
protected void calculateCorrectedEnergy()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.