1 package org.lcsim.event; 2 3 import java.util.List; 4 5 /** 6 * A raw tracker hit, as expected in raw data from a real detector. 7 * 8 * @author tonyj 9 * @version $Id: RawTrackerHit.java,v 1.10 2008/08/20 01:34:21 jeremy Exp $ 10 */ 11 public interface RawTrackerHit extends Hit { 12 13 /** 14 * Returns a time measurement associated with the adc values. 15 * E.g. the t0 of the spectrum for the TPC. Subdetector dependent. 16 */ 17 int getTime(); 18 19 /** 20 * Returns the array of ADCValues. 21 * The array may be of length 1 if this detector only reads out a single value per cell. 22 * The value may also need decoding (for example the KPiX chip uses one bit as a 23 * range indicator). 24 */ 25 short[] getADCValues(); 26 27 /** 28 * Returns the detector specific cell id. 29 */ 30 long getCellID(); 31 32 /** 33 * Returns the associated SimTrackerHit. Note this may be <code>null</code> 34 * if there is no associated SimTrackerHit (for example because this is a noise 35 * hit, or because there is no MC information.) 36 */ 37 List<SimTrackerHit> getSimTrackerHits(); 38 }