Commit in GeomConverter/src/org/lcsim/detector/tracker/silicon on MAIN | |||
HpsSiSensor.java | +2 | -22 | 1.4 -> 1.5 |
remove t0 setting; for the channel this is in pulse parameters; setting for sensor itself still needs to be added
diff -u -r1.4 -r1.5 --- HpsSiSensor.java 11 Oct 2013 01:09:33 -0000 1.4 +++ HpsSiSensor.java 11 Oct 2013 01:26:07 -0000 1.5 @@ -29,7 +29,6 @@
Map<Integer,Double> noiseMap = new HashMap<Integer,Double>(); Map<Integer,Double> offsetMap = new HashMap<Integer,Double>(); Map<Integer,Double> gainMap = new HashMap<Integer,Double>();
- Map<Integer,Double> t0Map = new HashMap<Integer,Double>();
Map<Integer,double[]> pulseParameterMap = new HashMap<Integer,double[]>(); Set<Integer> badChannels = new HashSet<Integer>();
@@ -134,16 +133,7 @@
public Double getTimeOffset(int channel) { return offsetMap.get(channel); }
- - /** - * Get the t0 value for the given channel. - * @param channel The channel number. - * @return The t0 value for the channel or null if not set. - */ - public Double getT0(int channel) { - return t0Map.get(channel); - } -
+
/** * Get the pulse parameters for the given channel. * @param channel The channel number.
@@ -252,16 +242,7 @@
public void setTimeOffset(int channel, double offset) { offsetMap.put(channel, offset); }
- - /** - * Set the t0 value for the given channel. - * @param channel The channel number. - * @param t0 The t0 value. - */ - public void setT0(int channel, double t0) { - t0Map.put(channel, t0); - } -
+
/** * Set the pulse parameters for the given channel. * @param channel The channel number.
@@ -314,7 +295,6 @@
pedestalMap.clear(); noiseMap.clear(); offsetMap.clear();
- t0Map.clear();
pulseParameterMap.clear(); badChannels.clear(); gainMap.clear();
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