View Javadoc

1   package org.lcsim.geometry.subdetector;
2   
3   import org.jdom.Element;
4   import org.jdom.JDOMException;
5   
6   /**
7    * 
8    * @author tonyj
9    */
10  public class CylindricalEndcapCalorimeter2 extends CylindricalCalorimeter
11  {
12      CylindricalEndcapCalorimeter2( Element node ) throws JDOMException
13      {
14          super( node );
15          build( node );
16      }
17  
18      public boolean isEndcap()
19      {
20          return true;
21      }
22  
23      private void build( Element node ) throws JDOMException
24      {
25      }
26  
27      public double getZLength()
28      {
29          return this.maxZ - this.minZ;
30      }
31  }