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 Link icon

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

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    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 Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • binMax Link icon

      public int binMax
    • binOffset Link icon

      public int binOffset
    • adcMax Link icon

      public double adcMax
    • timeMax Link icon

      public double timeMax
    • integral Link icon

      public double integral
    • timestamp Link icon

      public long timestamp
  • Constructor Details Link icon

    • MVTFitter Link icon

      public MVTFitter()
  • Method Details Link icon

    • fit Link icon

      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)