View Javadoc

1   package org.lcsim.geometry;
2   
3   import org.lcsim.detector.IDetectorElement;
4   import org.lcsim.geometry.compact.VisAttributes;
5   import org.lcsim.geometry.layer.Layering;
6   
7   /**
8    * @author Jeremy McCormick <jeremym@slac.stanford.edu>
9    * @author Tony Johnson <tony_johnson@slac.stanford.edu>
10   */
11  public interface Subdetector
12  {
13      public String getName();
14  
15      public int getSystemID();
16  
17      public IDDecoder getIDDecoder();
18  
19      public String getHitsCollectionName();
20  
21      public String getDigiHitsCollectionName();
22  
23      /**
24       * @deprecated Use functionality provided by
25       *             {@link org.lcsim.detector.IDetectorElement}.
26       * @return The layering.
27       */
28      @Deprecated
29      public Layering getLayering();
30         
31      public VisAttributes getVisAttributes();
32  
33      public boolean isTracker();
34  
35      public boolean isCalorimeter();
36  
37      public boolean isBarrel();
38  
39      public boolean isEndcap();
40      
41      /**
42       * 
43       * @param localPos
44       * @deprecated Use {@link org.lcsim.detector.IGeometryInfo#getLocalToGlobal()}
45       */
46      @Deprecated
47      public double[] transformLocalToGlobal( double[] localPos );
48  
49      public IDetectorElement getDetectorElement();
50  
51      public boolean isInsideTrackingVolume();
52      
53      public boolean getReflect();
54  }