Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
Loading...
Searching...
No Matches
WaveformFeatures Struct Reference

Per-waveform quantities extracted by WaveformProcessingUtils::ExtractFeatures(). More...

#include <WaveformProcessingUtils.hpp>

Public Attributes

Int_t raw_pulse_height
 Extremum of the raw, pre-baseline-subtraction trace, as a magnitude.
Float_t pulse_height
 Maximum of the baseline-subtracted cropped waveform, in ADC counts.
Int_t peak_position
 Index of that maximum within the cropped waveform, in samples.
Int_t trigger_position
 Trigger index re-evaluated on the cropped waveform, in samples.
Float_t short_integral
 Sum over the short gate, in ADC counts x samples.
Float_t long_integral
 Sum over the long gate, in ADC counts x samples.
Float_t negative_fraction
 Fraction of samples in the long gate that are below zero, in [0, 1].
Bool_t passes_cuts
 Whether this waveform survived the quality cuts.
ULong64_t timestamp
 Acquisition timestamp carried through from the input record.

Detailed Description

Per-waveform quantities extracted by WaveformProcessingUtils::ExtractFeatures().

Integrals and pulse heights are in baseline-subtracted ADC counts, positive regardless of input polarity. Sample indices are relative to the cropped waveform unless stated otherwise.

Definition at line 27 of file WaveformProcessingUtils.hpp.

Member Data Documentation

◆ long_integral

Float_t WaveformFeatures::long_integral

Sum over the long gate, in ADC counts x samples.

Definition at line 40 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ApplyQualityCuts(), and WaveformProcessingUtils::ExtractFeatures().

◆ negative_fraction

Float_t WaveformFeatures::negative_fraction

Fraction of samples in the long gate that are below zero, in [0, 1].

A large value indicates a bad baseline; see WaveformProcessingUtils::ApplyQualityCuts().

Definition at line 44 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ApplyQualityCuts(), and WaveformProcessingUtils::ExtractFeatures().

◆ passes_cuts

Bool_t WaveformFeatures::passes_cuts

Whether this waveform survived the quality cuts.

Definition at line 46 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ExtractFeatures(), and WaveformProcessingUtils::ProcessWaveform().

◆ peak_position

Int_t WaveformFeatures::peak_position

Index of that maximum within the cropped waveform, in samples.

Definition at line 34 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ExtractFeatures().

◆ pulse_height

Float_t WaveformFeatures::pulse_height

Maximum of the baseline-subtracted cropped waveform, in ADC counts.

Definition at line 32 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ExtractFeatures().

◆ raw_pulse_height

Int_t WaveformFeatures::raw_pulse_height

Extremum of the raw, pre-baseline-subtraction trace, as a magnitude.

Compared against the saturation code to detect clipping.

Definition at line 30 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ApplyQualityCuts(), and WaveformProcessingUtils::ProcessWaveform().

◆ short_integral

Float_t WaveformFeatures::short_integral

Sum over the short gate, in ADC counts x samples.

Definition at line 38 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ExtractFeatures().

◆ timestamp

ULong64_t WaveformFeatures::timestamp

Acquisition timestamp carried through from the input record.

Definition at line 48 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ExtractFeatures().

◆ trigger_position

Int_t WaveformFeatures::trigger_position

Trigger index re-evaluated on the cropped waveform, in samples.

Definition at line 36 of file WaveformProcessingUtils.hpp.

Referenced by WaveformProcessingUtils::ProcessWaveform().


The documentation for this struct was generated from the following file: