Class ModeAHDC

All Implemented Interfaces:
IExtractor

public class ModeAHDC extends HipoExtractor
A new extraction method dedicated to the AHDC signal waveform Some blocks of code are inspired by MVTFitter.java and Bonus12 (`createBonusBank()`)
Author:
ftouchte
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final short
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    extract(org.jlab.utils.groups.NamedEntry pars, int id, long timestamp, long time, short... samples)
    This method extracts relevant informations from the digitized signal (the samples) and store them in a Pulse
    void
    update(int n, org.jlab.utils.groups.IndexedTable it, org.jlab.io.base.DataEvent event, String wfBankName, String adcBankName)
    This could be overriden, e.g., for non-standard ADC banks.
    protected void
    update(int n, org.jlab.utils.groups.IndexedTable it, org.jlab.jnp.hipo4.data.Bank wfBank, org.jlab.jnp.hipo4.data.Bank adcBank)
    This could be overriden, e.g., for non-standard ADC banks.

    Methods inherited from class org.jlab.detector.pulse.HipoExtractor Link icon

    copyIndices, copyIndices, getIndices, getIndices, getPulses, getPulses, update

    Methods inherited from class java.lang.Object Link icon

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

  • Constructor Details Link icon

    • ModeAHDC Link icon

      public ModeAHDC()
  • Method Details Link icon

    • extract Link icon

      public List<Pulse> extract(org.jlab.utils.groups.NamedEntry pars, int id, long timestamp, long time, short... samples)
      This method extracts relevant informations from the digitized signal (the samples) and store them in a Pulse
      Parameters:
      pars - CCDB row
      id - link to row in source bank
      timestamp - ...
      time - time (exprimed in bin) of the first channel of the AHDC pulse (after or not zero suppress; if ZS=0, time == 0)
      samples - ADC samples
    • update Link icon

      public void update(int n, org.jlab.utils.groups.IndexedTable it, org.jlab.io.base.DataEvent event, String wfBankName, String adcBankName)
      Description copied from class: HipoExtractor
      This could be overriden, e.g., for non-standard ADC banks.
      Overrides:
      update in class HipoExtractor
      Parameters:
      n - number of samples in readout
      it - CCDB table containing extraction initialization parameters
      event - the event to modify
      wfBankName - name of the input waveform bank
      adcBankName - name of the output ADC bank
    • update Link icon

      protected void update(int n, org.jlab.utils.groups.IndexedTable it, org.jlab.jnp.hipo4.data.Bank wfBank, org.jlab.jnp.hipo4.data.Bank adcBank)
      Description copied from class: HipoExtractor
      This could be overriden, e.g., for non-standard ADC banks.
      Overrides:
      update in class HipoExtractor
      Parameters:
      n - number of samples in readout
      it - CCDB table containing extraction initialization parameters
      wfBank - input waveform bank
      adcBank - output ADC bank