Author: [log in to unmask]
Date: Thu Mar 19 18:17:48 2015
New Revision: 2499
Log:
updating comments
Modified:
java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverter.java
Modified: java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverter.java
=============================================================================
--- java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverter.java (original)
+++ java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverter.java Thu Mar 19 18:17:48 2015
@@ -143,10 +143,16 @@
});
}
+ /*
+ * Set Leading Edge Threshold
+ */
public void setLeadingEdgeThreshold(double thresh) {
leadingEdgeThreshold=thresh;
}
+ /*
+ * Set NSA
+ */
public void setNSA(int nsa) {
if (NSA%nsPerSample !=0 || NSA<0) {
throw new RuntimeException("NSA must be multiples of 4ns and non-negative.");
@@ -154,6 +160,9 @@
NSA=nsa;
}
+ /*
+ * Set NSB
+ */
public void setNSB(int nsb) {
if (NSB%nsPerSample !=0 || NSB<0) {
throw new RuntimeException("NSB must be multiples of 4ns and non-negative.");
@@ -161,10 +170,16 @@
NSB=nsb;
}
+ /*
+ * Set windowSamples
+ */
public void setWindowSamples(int windowSamples) {
this.windowSamples=windowSamples;
}
+ /*
+ * set Npeak
+ */
public void setNPeak(int nPeak) {
if (nPeak<1 || nPeak>3) {
throw new RuntimeException("Npeak must be 1, 2, or 3.");
@@ -172,28 +187,46 @@
this.nPeak=nPeak;
}
+ /*
+ * set Mode7
+ */
public void setMode7(boolean mode7)
{
this.mode7=mode7;
}
+ /*
+ * set gain
+ */
public void setGain(double gain) {
constantGain = true;
this.gain = gain;
}
+ /*
+ * set use2014Gain
+ */
public void setUse2014Gain(boolean use2014Gain) {
this.use2014Gain = use2014Gain;
}
+ /*
+ * set useRunningPedstal
+ */
public void setUseRunningPedestal(boolean useRunningPedestal) {
this.useRunningPedestal=useRunningPedestal;
}
+ /*
+ * set useTimewalkcprrrection
+ */
public void setUseTimeWalkCorrection(boolean useTimeWalkCorrection) {
this.useTimeWalkCorrection=useTimeWalkCorrection;
}
+ /*
+ * set usedaqconfig
+ */
public void setUseDAQConfig(boolean state) {
useDAQConfig = state;
}
|