Package org.jlab.detector.decode
Class MVTFitter
java.lang.Object
org.jlab.detector.decode.MVTFitter
Fit BMT / FMT Pulse
- Version:
- 1
- Author:
- guillaum
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fit
(short adcOffset, double fineTimeStampResolution, double samplingTime, short[] pulseArray, long timeStamp, int sparseSample) Fit takes an ADC pulse and DAQ parameters and compute interesting properties of the pulse
-
Field Details
-
binMax
public int binMax -
binOffset
public int binOffset -
adcMax
public double adcMax -
timeMax
public double timeMax -
integral
public double integral -
timestamp
public long timestamp
-
-
Constructor Details
-
MVTFitter
public MVTFitter()
-
-
Method Details
-
fit
public void fit(short adcOffset, double fineTimeStampResolution, double samplingTime, short[] pulseArray, long timeStamp, int sparseSample) Fit takes an ADC pulse and DAQ parameters and compute interesting properties of the pulse- Parameters:
adcOffset
- : hardware offset used to avoid signal to be negative after (hardware) common mode node suppressionfineTimeStampResolution
- : precision of dream clock (usually 8)samplingTime
- : time between 2 ADC binspulseArray
- : pulse = array containing the ADC valuestimeStamp
- : timing informations (used to make fine corrections)
-