Package org.jlab.detector.pulse
Class ModeAHDC
java.lang.Object
org.jlab.detector.pulse.HipoExtractor
org.jlab.detector.pulse.ModeAHDC
- All Implemented Interfaces:
IExtractor
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract(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 Pulsevoidupdate(int n, IndexedTable it, DataEvent event, String wfBankName, String adcBankName) This could be overriden, e.g., for non-standard ADC banks.protected voidupdate(int n, 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
copyIndices, copyIndices, getIndices, getIndices, getPulses, getPulses, update
-
Field Details
-
ADC_LIMIT
public static final short ADC_LIMIT- See Also:
-
-
Constructor Details
-
ModeAHDC
public ModeAHDC()
-
-
Method Details
-
extract
This method extracts relevant informations from the digitized signal (the samples) and store them in a Pulse- Parameters:
pars- CCDB rowid- link to row in source banktimestamp- ...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
Description copied from class:HipoExtractorThis could be overriden, e.g., for non-standard ADC banks.- Overrides:
updatein classHipoExtractor- Parameters:
n- number of samples in readoutit- CCDB table containing extraction initialization parametersevent- the event to modifywfBankName- name of the input waveform bankadcBankName- name of the output ADC bank
-
update
protected void update(int n, IndexedTable it, org.jlab.jnp.hipo4.data.Bank wfBank, org.jlab.jnp.hipo4.data.Bank adcBank) Description copied from class:HipoExtractorThis could be overriden, e.g., for non-standard ADC banks.- Overrides:
updatein classHipoExtractor- Parameters:
n- number of samples in readoutit- CCDB table containing extraction initialization parameterswfBank- input waveform bankadcBank- output ADC bank
-