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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.HipoExtractorcopyIndices, copyIndices, getIndices, getIndices, getPulses, getPulses, update
- 
Field Details- 
ADC_LIMITpublic static final short ADC_LIMIT- See Also:
 
 
- 
- 
Constructor Details- 
ModeAHDCpublic ModeAHDC()
 
- 
- 
Method Details- 
extractThis 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
 
- 
updateDescription copied from class:HipoExtractorThis could be overriden, e.g., for non-standard ADC banks.- Overrides:
- updatein 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
 
- 
updateprotected 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 class- HipoExtractor
- Parameters:
- n- number of samples in readout
- it- CCDB table containing extraction initialization parameters
- wfBank- input waveform bank
- adcBank- output ADC bank
 
 
-