Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN | |||
HPSTrackerHit.java | +43 | added 1.1 |
Extension of BaseRawTrackerHit to include the fitted t0 and amplitude
diff -N HPSTrackerHit.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ HPSTrackerHit.java 24 Apr 2012 14:07:45 -0000 1.1 @@ -0,0 +1,43 @@
+/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package org.lcsim.hps.recon.tracking; + +import org.lcsim.detector.identifier.Identifier; +import org.lcsim.event.RawTrackerHit; +import org.lcsim.event.base.BaseRawTrackerHit; + +/** + * + * @author mgraham + */ +public class HPSTrackerHit extends BaseRawTrackerHit{ + double t0; + double amp; + public HPSTrackerHit( + long id, + int time, + short[] adcValues, double t0, double Amp) { + this.cellId = id; + this.compactId = new Identifier(id); + this.time = time; + this.adcValues = adcValues; + this.t0=t0; + this.amp=Amp; + } + + public HPSTrackerHit( + RawTrackerHit rth, double t0, double Amp) { + this.cellId = rth.getCellID(); + this.compactId = new Identifier(rth.getCellID()); + this.time = rth.getTime(); + this.adcValues = rth.getADCValues(); + this.t0=t0; + this.amp=Amp; + } + + public double getT0(){return t0;} + public double getAmp(){return amp;} + +}
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1