hep.lcd.recon.cluster.radial.cl
Class CalCellCollection.CalCell

java.lang.Object
  |
  +--hep.lcd.recon.cluster.radial.cl.CalCellCollection.CalCell

public class CalCellCollection.CalCell
extends Object
implements ClusterCell, Orderable

Nested class for individual cell in a collection.

Source Code:
CalCellCollection.CalCell.java

Constructor Summary
protected CalCellCollection.CalCell(int phiBin, int thetaBin, int layerBin, int isEc)
          Constructor.
 
Method Summary
 void clear()
           
 double getCosPhi()
           
 double getEnergy()
           
 Enumeration getHitEnum()
           
 Vector getHits()
           
 double getMaxHitEnergy()
           
 Vector getNeighbors()
           
 double getPhi()
           
 double getRadius()
           
 double getSinPhi()
           
 double getTheta()
           
 double getToBeam()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 boolean greaterThan(CalCellCollection.CalCell otherCell)
           
 boolean greaterThan(ClusterCell otherCell)
           
 boolean greaterThan(Orderable otherCell)
           
 int hashCode()
          Enter in proper hashtable and vector for the layer bin
 boolean isTransverseNeighbor(CalCellCollection.CalCell other)
           
 boolean isTransverseNeighbor(ClusterCell other)
           
 void print()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalCellCollection.CalCell

protected CalCellCollection.CalCell(int phiBin,
                                    int thetaBin,
                                    int layerBin,
                                    int isEc)
Constructor. Applications don't call the constructor directly. Instead they typically call addToCell, which may call getCell
Method Detail

hashCode

public int hashCode()
Enter in proper hashtable and vector for the layer bin
Overrides:
hashCode in class Object

getNeighbors

public Vector getNeighbors()
Specified by:
getNeighbors in interface ClusterCell

isTransverseNeighbor

public boolean isTransverseNeighbor(CalCellCollection.CalCell other)

isTransverseNeighbor

public boolean isTransverseNeighbor(ClusterCell other)
Specified by:
isTransverseNeighbor in interface ClusterCell

getEnergy

public double getEnergy()
Specified by:
getEnergy in interface ClusterCell

getMaxHitEnergy

public double getMaxHitEnergy()

getX

public double getX()
Specified by:
getX in interface ClusterCell

getY

public double getY()
Specified by:
getY in interface ClusterCell

getZ

public double getZ()
Specified by:
getZ in interface ClusterCell

getRadius

public double getRadius()
Specified by:
getRadius in interface ClusterCell

getToBeam

public double getToBeam()
Specified by:
getToBeam in interface ClusterCell

getPhi

public double getPhi()
Specified by:
getPhi in interface ClusterCell

getTheta

public double getTheta()
Specified by:
getTheta in interface ClusterCell

getCosPhi

public double getCosPhi()
Specified by:
getCosPhi in interface ClusterCell

getSinPhi

public double getSinPhi()
Specified by:
getSinPhi in interface ClusterCell

getHits

public Vector getHits()
Specified by:
getHits in interface ClusterCell

getHitEnum

public Enumeration getHitEnum()

greaterThan

public boolean greaterThan(CalCellCollection.CalCell otherCell)

greaterThan

public boolean greaterThan(Orderable otherCell)
Specified by:
greaterThan in interface Orderable

greaterThan

public boolean greaterThan(ClusterCell otherCell)
Specified by:
greaterThan in interface ClusterCell

print

public void print()
Specified by:
print in interface hep.lcd.recon.cluster.radial.util.Printable

clear

public void clear()


The LCD Group