hps-java/src/main/java/org/lcsim/hps/recon/tracking
diff -u -r1.1 -r1.2
--- TestRunDataProcessingModule.java 15 Sep 2012 01:21:02 -0000 1.1
+++ TestRunDataProcessingModule.java 18 Dec 2012 23:42:56 -0000 1.2
@@ -20,12 +20,12 @@
/**
*
* @author Omar Moreno <[log in to unmask]>
- * @version $Id: TestRunDataProcessingModule.java,v 1.1 2012/09/15 01:21:02 omoreno Exp $
+ * @version $Id: TestRunDataProcessingModule.java,v 1.2 2012/12/18 23:42:56 omoreno Exp $
*/
public class TestRunDataProcessingModule extends DataProcessingModule {
- int nSamplesAboveTreshold = 1; // Number of samples above noise threshold
- int noiseThreshold = 3; // Units of RMS noise
+ int nSamplesAboveThreshold = 1; // Number of samples above noise threshold
+ int noiseThreshold = 3; // Units of RMS noise
boolean enablePileUpCut = true;
boolean enableThresholdCut = true;
@@ -39,8 +39,8 @@
/**
*
*/
- public void setNumberOfSamplesAboveTreshold(int nSamplesAboveThreshold){
- this.nSamplesAboveTreshold = nSamplesAboveThreshold;
+ public void setNumberOfSamplesAboveThreshold(int nSamplesAboveThreshold){
+ this.nSamplesAboveThreshold = nSamplesAboveThreshold;
}
/**
@@ -124,7 +124,7 @@
}
// If the prerequisite number of samples are above threshold return true
- if(nSamplesAboveThreshold >= this.nSamplesAboveTreshold ) return true;
+ if(nSamplesAboveThreshold >= this.nSamplesAboveThreshold ) return true;
return false;
}