hep.lcd.geometry
Interface CalorimeterCell

All Known Implementing Classes:
hep.lcd.geometry.AbstractCalorimeterCell

public interface CalorimeterCell

Interface for access information about a Calorimeter Cell (or hit) from its "tower ID".

See Also:
LCDEvent.getCalorimeterCell()
Source Code:
CalorimeterCell.java

Method Summary
 SegmentedDetectorComponent getComponent()
           
 double getCosTheta()
           
 int getLayer()
           
 int[] getNeighbouringCells()
          Returns an array of towerID's for the neighbouring cells
 double getPhi()
           
 int getPhiBin()
           
 double[] getPosition()
           
 int getSystem()
           
 double getTheta()
           
 int getThetaBin()
           
 int getTowerID()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 boolean isEndcap()
           
 boolean isNorth()
           
 void setTowerID(int id)
          Set the current id
 

Method Detail

setTowerID

public void setTowerID(int id)
Set the current id

getTowerID

public int getTowerID()

getThetaBin

public int getThetaBin()

getPhiBin

public int getPhiBin()

getLayer

public int getLayer()

getSystem

public int getSystem()

isEndcap

public boolean isEndcap()

isNorth

public boolean isNorth()

getComponent

public SegmentedDetectorComponent getComponent()

getCosTheta

public double getCosTheta()

getTheta

public double getTheta()

getPhi

public double getPhi()

getX

public double getX()

getY

public double getY()

getZ

public double getZ()

getPosition

public double[] getPosition()
Returns:
{x,y,z} as an array

getNeighbouringCells

public int[] getNeighbouringCells()
Returns an array of towerID's for the neighbouring cells


The LCD Group