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
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 java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
phiBins
protected int phiBins
thetaBins
protected int thetaBins
segmentName
protected String segmentName
layers
protected int layers
Calorimeter
public Calorimeter(Detector det,
LineNumberReader in)
throws IOException
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