Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN | |||
SVTDataToRawTrackerHitDriver.java | +11 | -2 | 1.11 -> 1.12 |
Added ability to masks channels that are considered bad
diff -u -r1.11 -r1.12 --- SVTDataToRawTrackerHitDriver.java 24 May 2012 17:29:38 -0000 1.11 +++ SVTDataToRawTrackerHitDriver.java 13 Jul 2012 23:10:20 -0000 1.12 @@ -12,6 +12,12 @@
import org.lcsim.util.Driver; import org.lcsim.util.lcio.LCIOUtil;
+/** + * + * @author Jeremy McCormick <[log in to unmask]> + * @author Omar Moreno <[log in to unmask]> + * $Id: SVTDataToRawTrackerHitDriver.java,v 1.12 2012/07/13 23:10:20 omoreno Exp $ + */
public class SVTDataToRawTrackerHitDriver extends Driver { String svtDataCollectionName = "SVTData";
@@ -72,8 +78,11 @@
} int sensorChannel = svtData.getSensorChannel();
- if (sensorChannel >= HPSSVTConstants.TOTAL_STRIPS_PER_SENSOR) { - continue; //strip 639 exists as an APV channel but not as a sensor strip; drop it
+ + //strip 639 exists as an APV channel but not as a sensor strip; drop it + // If the channel has been tagged to be bad, drop it + if (sensorChannel >= HPSSVTConstants.TOTAL_STRIPS_PER_SENSOR || HPSSVTCalibrationConstants.isBadChannel(sensor, sensorChannel)) { + continue;
} // Get all shaper signal samples associated with this hit
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