hep.lcd.recon.cluster.util
Class AbstractCluster

java.lang.Object
  |
  +--hep.lcd.recon.cluster.util.AbstractCluster

public abstract class AbstractCluster
extends Object
implements Cluster, Serializable

See Also:
Serialized Form
Source Code:
AbstractCluster.java

Field Summary
protected  Vector hits
           
 
Constructor Summary
protected AbstractCluster(CalorimeterCell cell)
           
 
Method Summary
 void addHit(CalorimeterHit hit)
           
protected  void calculateDerivedQuantities()
           
 double getClusterStartDepth()
          Number of radiationLengths before first energy deposit > min ionizing
 double[] getContributedEnergy()
          An array of energy contributed by each MC particle
 double getEnergy()
          Best estimate for total energy of cluster
 double getEnergyPhi()
          Energy weighted PHI of cluster
 double getEnergyRadius()
          Energy weighted Radius of cluster
 double getEnergyTheta()
          Energy weighted THETA of cluster
 Enumeration getHits()
          An enumeration of the calorimeter hits contributing to this cluster
 MCParticle[] getMCParticles()
          A list of the contributing MC particles
 int getNHits()
          The number of hits contributing to the cluster
 double getRMSPhi()
          RMS width of the PHI, Theta, Radius energy distributions
 double getRMSRadius()
           
 double getRMSTheta()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hits

protected transient Vector hits
Constructor Detail

AbstractCluster

protected AbstractCluster(CalorimeterCell cell)
Method Detail

addHit

public void addHit(CalorimeterHit hit)

getEnergy

public double getEnergy()
Description copied from interface: Cluster
Best estimate for total energy of cluster
Specified by:
getEnergy in interface Cluster

getNHits

public int getNHits()
Description copied from interface: Cluster
The number of hits contributing to the cluster
Specified by:
getNHits in interface Cluster

getHits

public Enumeration getHits()
Description copied from interface: Cluster
An enumeration of the calorimeter hits contributing to this cluster
Specified by:
getHits in interface Cluster

getEnergyPhi

public double getEnergyPhi()
Description copied from interface: Cluster
Energy weighted PHI of cluster
Specified by:
getEnergyPhi in interface Cluster

getEnergyTheta

public double getEnergyTheta()
Description copied from interface: Cluster
Energy weighted THETA of cluster
Specified by:
getEnergyTheta in interface Cluster

getEnergyRadius

public double getEnergyRadius()
Description copied from interface: Cluster
Energy weighted Radius of cluster
Specified by:
getEnergyRadius in interface Cluster

getRMSPhi

public double getRMSPhi()
Description copied from interface: Cluster
RMS width of the PHI, Theta, Radius energy distributions
Specified by:
getRMSPhi in interface Cluster

getRMSTheta

public double getRMSTheta()
Specified by:
getRMSTheta in interface Cluster

getRMSRadius

public double getRMSRadius()
Specified by:
getRMSRadius in interface Cluster

getClusterStartDepth

public double getClusterStartDepth()
Description copied from interface: Cluster
Number of radiationLengths before first energy deposit > min ionizing
Specified by:
getClusterStartDepth in interface Cluster

getMCParticles

public MCParticle[] getMCParticles()
Description copied from interface: Cluster
A list of the contributing MC particles
Specified by:
getMCParticles in interface Cluster
Following copied from interface: hep.lcd.event.Cluster
See Also:
Cluster.getContributedEnergy()

getContributedEnergy

public double[] getContributedEnergy()
Description copied from interface: Cluster
An array of energy contributed by each MC particle
Specified by:
getContributedEnergy in interface Cluster
Following copied from interface: hep.lcd.event.Cluster
See Also:
Cluster.getMCParticles()

calculateDerivedQuantities

protected void calculateDerivedQuantities()


The LCD Group