View Javadoc

1   package org.lcsim.event;
2   
3   import java.util.List;
4   
5   /** 
6    * A generic tracker hit to be used by pattern recognition.
7    *
8    * @author Tony Johnson
9    * @author Jeremy McCormick
10   * @version $Id: TrackerHit.java,v 1.8 2011/08/24 18:51:17 jeremy Exp $
11   */
12  
13  public interface TrackerHit
14  {
15      /** 
16       * The hit position [mm].
17       */
18      double[] getPosition();
19  
20      /**
21       * Covariance of the position (x,y,z)
22       */
23      double[] getCovMatrix();
24  
25      /** The dE/dx of the hit [GeV].
26       */
27      double getdEdx();
28      
29      /**
30       * The measured edep error [GeV].
31       */
32      double getEdepError();
33      
34      /**
35       * The quality of the hit.
36       */
37      int getQuality();
38  
39      /** 
40       * The  time of the hit [ns].
41       */     
42      double getTime();
43  
44      /** 
45       * Type of hit. Mapping of integer types to type names
46       * through collection parameters "TrackerHitTypeNames"
47       * and "TrackerHitTypeValues".
48       */
49      int getType();
50  
51      /** The raw data hits.
52       * Check getType() to get actual data type.
53       */
54      List getRawHits();
55      
56      /**
57       * Get the cell ID.
58       * @return The cell ID.
59       */
60      long getCellID();
61  }