hep.lcd.geometry.component
Class MaterialList

java.lang.Object
  |
  +--hep.lcd.geometry.component.MaterialList

public class MaterialList
extends Object

Source Code:
MaterialList.java

Constructor Summary
MaterialList(Detector det, LineNumberReader in)
           
 
Method Summary
 Material getMaterial(int index)
          Get a particular Material
 Material[] getMaterials()
          Get the Materials as an array
 int getNMaterials()
          Get the number of materials on this list
 Enumeration materials()
          Get an Enumeration of the materials
 double totalThickness()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaterialList

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

getNMaterials

public int getNMaterials()
Get the number of materials on this list

materials

public Enumeration materials()
Get an Enumeration of the materials

getMaterials

public Material[] getMaterials()
Get the Materials as an array

getMaterial

public Material getMaterial(int index)
Get a particular Material
Parameters:
index - The index of the material to get

totalThickness

public double totalThickness()


The LCD Group