Class MVTFitter

java.lang.Object
org.jlab.detector.decode.MVTFitter

public class MVTFitter extends Object
Fit BMT / FMT Pulse
Version:
1
Author:
guillaum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
     
    int
     
    int
     
    double
     
    double
     
    long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 suppression
      fineTimeStampResolution - : precision of dream clock (usually 8)
      samplingTime - : time between 2 ADC bins
      pulseArray - : pulse = array containing the ADC values
      timeStamp - : timing informations (used to make fine corrections)