hep.lcd.geometry
Class CalorimeterCellOldTag

java.lang.Object
  |
  +--hep.lcd.geometry.AbstractCalorimeterCell
        |
        +--hep.lcd.geometry.CalorimeterCellOldTag

public class CalorimeterCellOldTag
extends hep.lcd.geometry.AbstractCalorimeterCell

A CalorimeterCell with CosTheta binning.

Source Code:
CalorimeterCellOldTag.java

Field Summary
protected  SegmentedDetectorComponent comp
           
protected  Detector det
           
protected  int id
           
 
Constructor Summary
CalorimeterCellOldTag(Detector det)
           
CalorimeterCellOldTag(Detector det, int id)
           
 
Method Summary
protected  SegmentedDetectorComponent findComponent()
           
protected static int findFirstBit(int mask)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id

det

protected Detector det

comp

protected SegmentedDetectorComponent comp
Constructor Detail

CalorimeterCellOldTag

public CalorimeterCellOldTag(Detector det)

CalorimeterCellOldTag

public CalorimeterCellOldTag(Detector det,
                             int id)
Method Detail

getNeighbouringCells

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

findComponent

protected SegmentedDetectorComponent findComponent()
Overrides:
findComponent in class hep.lcd.geometry.AbstractCalorimeterCell

getThetaBin

public final int getThetaBin()

getPhiBin

public final int getPhiBin()

getLayer

public final int getLayer()

getSystem

public final int getSystem()

isEndcap

public final boolean isEndcap()

isNorth

public final boolean isNorth()

setTowerID

public void setTowerID(int id)
Description copied from interface: CalorimeterCell
Set the current id
Specified by:
setTowerID in interface CalorimeterCell

getTowerID

public int getTowerID()
Specified by:
getTowerID in interface CalorimeterCell

getCosTheta

public double getCosTheta()
Specified by:
getCosTheta in interface CalorimeterCell

getTheta

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

getPhi

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

getZ

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

getX

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

getY

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

getPosition

public double[] getPosition()
Specified by:
getPosition in interface CalorimeterCell
Following copied from interface: hep.lcd.geometry.CalorimeterCell
Returns:
{x,y,z} as an array

getComponent

public final SegmentedDetectorComponent getComponent()
Specified by:
getComponent in interface CalorimeterCell

findFirstBit

protected static int findFirstBit(int mask)


The LCD Group