View Javadoc

1   package org.lcsim.geometry.compact.converter.lcdd.util;
2   
3   /**
4    * 
5    * @author tonyj
6    */
7   public class Calorimeter extends SensitiveDetector {
8   
9       public Calorimeter(String name) {
10          super("calorimeter", name);
11      }
12  
13      /**
14       * Constructor for subclasses with a different XML element name.
15       * 
16       * @param elementName The name of the element.
17       * @param name The unique name of the calorimeter.
18       */
19      protected Calorimeter(String elementName, String name) {
20          super(elementName, name);
21      }
22  
23      public void setSegmentation(Segmentation segmentation) {
24          addContent(segmentation);
25      }
26  }