hep.lcd.geometry.component
Class Calorimeter

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--hep.lcd.geometry.PropertyTable
                    |
                    +--hep.lcd.geometry.IniSectionReader
                          |
                          +--hep.lcd.geometry.component.CylindricalDetector
                                |
                                +--hep.lcd.geometry.component.Calorimeter
Direct Known Subclasses:
BarrelCalorimeter, EndCapCalorimeter

public abstract class Calorimeter
extends CylindricalDetector
implements SegmentedDetectorComponent

See Also:
Serialized Form
Source Code:
Calorimeter.java

Inner classes inherited from class java.util.Map
Map.Entry
 
Field Summary
protected  int layers
           
protected  int phiBins
           
protected  String segmentName
           
protected  int thetaBins
           
 
Fields inherited from class hep.lcd.geometry.component.CylindricalDetector
parent, radiusInner, radiusOuter, zInner, zOuter
 
Constructor Summary
Calorimeter(Detector det, LineNumberReader in)
           
 
Method Summary
 double getCosTheta(int thetaBin, int phiBin, int layer)
           
 int getLayers()
           
 double getPhi(int thetaBin, int phiBin, int layer)
           
 int getPhiBins()
           
 double getTheta(int thetaBin, int phiBin, int layer)
           
 int getThetaBins()
           
 double getX(int thetaBin, int phiBin, int layer)
           
 double getY(int thetaBin, int phiBin, int layer)
           
protected  void setSegmentation(String segmentName)
           
 String toString()
           
 
Methods inherited from class hep.lcd.geometry.component.CylindricalDetector
getDetector, getInnerRadius, getMaxRadius, getOuterRadius, getZInner, getZOuter, isEndCap, paint, setFillColor
 
Methods inherited from class hep.lcd.geometry.PropertyTable
getDouble, getDouble, getString, getString
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface hep.lcd.geometry.SegmentedDetectorComponent
getRadius, getZ
 
Methods inherited from interface hep.lcd.geometry.PropertySet
keys
 

Field Detail

phiBins

protected int phiBins

thetaBins

protected int thetaBins

segmentName

protected String segmentName

layers

protected int layers
Constructor Detail

Calorimeter

public Calorimeter(Detector det,
                   LineNumberReader in)
            throws IOException
Method Detail

setSegmentation

protected void setSegmentation(String segmentName)

getPhi

public double getPhi(int thetaBin,
                     int phiBin,
                     int layer)
Specified by:
getPhi in interface SegmentedDetectorComponent

getCosTheta

public double getCosTheta(int thetaBin,
                          int phiBin,
                          int layer)
Specified by:
getCosTheta in interface SegmentedDetectorComponent

getTheta

public double getTheta(int thetaBin,
                       int phiBin,
                       int layer)
Specified by:
getTheta in interface SegmentedDetectorComponent

getX

public final double getX(int thetaBin,
                         int phiBin,
                         int layer)
Specified by:
getX in interface SegmentedDetectorComponent

getY

public final double getY(int thetaBin,
                         int phiBin,
                         int layer)
Specified by:
getY in interface SegmentedDetectorComponent

toString

public String toString()
Overrides:
toString in class CylindricalDetector

getLayers

public int getLayers()
Specified by:
getLayers in interface SegmentedDetectorComponent

getPhiBins

public int getPhiBins()
Specified by:
getPhiBins in interface SegmentedDetectorComponent

getThetaBins

public int getThetaBins()
Specified by:
getThetaBins in interface SegmentedDetectorComponent


The LCD Group