liftof_lib

Function waveform_analysis

Source
pub fn waveform_analysis(
    event: &mut RBEvent,
    rb: &ReadoutBoard,
    settings: AnalysisEngineSettings,
) -> Result<(), AnalysisError>
Expand description

Waveform analysis engine - identify waveform variables

This will populate the TofHits in an RBEvent

TofHits contain information about peak location, charge, timing.

FIXME - I think this should take a HashMap with algorithm settings, which we can load from a json file

ยงArguments

  • event : current RBEvent with waveforms to work on
  • rb : ReadoutBoard as loaded from the DB, with latest calibration attached
  • settings : Parameters to configure the waveform analysis & peak finding