|
Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
|
Everything needed to configure one processing run. More...
#include <WaveformProcessingUtils.hpp>
Public Attributes | |
| Int_t | polarity = -1 |
| Pulse polarity: -1 for negative-going pulses (inverted during baseline subtraction), +1 for positive-going. | |
| Float_t | trigger_threshold = 0.15 |
| Trigger level as a fraction of the waveform's peak, in (0, 1]. | |
| Int_t | num_samples_baseline = 10 |
| Leading samples averaged to estimate the baseline. | |
| Int_t | pre_samples = 17 |
| Samples kept before the trigger when cropping. | |
| Int_t | post_samples = 190 |
| Samples kept after the trigger when cropping. | |
| Int_t | pre_gate = 10 |
| Samples before pre_samples at which integration starts, so integration begins at pre_samples - pre_gate within the cropped waveform. | |
| Int_t | short_gate = 10 |
| Width of the short integration gate. | |
| Int_t | long_gate = 200 |
| Width of the long integration gate. | |
| Int_t | sample_waveforms_to_save = 5 |
| How many example waveforms to write out as figures, for eyeballing. | |
| Int_t | max_events = -1 |
| Cap on waveforms to read per file; -1 means no limit. | |
| Bool_t | verbose = kTRUE |
| Print progress and per-file summaries. | |
| Bool_t | store_waveforms = kTRUE |
| Write the cropped waveform to the tree. | |
| InputFormat | input_format = InputFormat::kCOMPASS |
| Input file format. | |
| Int_t | adc_saturation_code = 16384 |
| ADC code that means full scale. | |
Everything needed to configure one processing run.
Passed to the WaveformProcessingUtils constructor, and the only way to configure the workers spawned by WaveformProcessingUtils::ProcessFilesParallel(). All sample counts and gate widths are in samples.
Definition at line 88 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::adc_saturation_code = 16384 |
ADC code that means full scale.
A raw extremum equal to this (positive polarity) or to zero (negative polarity) is treated as clipped.
Definition at line 116 of file WaveformProcessingUtils.hpp.
| InputFormat FileProcessingConfig::input_format = InputFormat::kCOMPASS |
Input file format.
Definition at line 113 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::long_gate = 200 |
Width of the long integration gate.
Definition at line 106 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::max_events = -1 |
Cap on waveforms to read per file; -1 means no limit.
Definition at line 110 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::num_samples_baseline = 10 |
Leading samples averaged to estimate the baseline.
Definition at line 95 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::polarity = -1 |
Pulse polarity: -1 for negative-going pulses (inverted during baseline subtraction), +1 for positive-going.
Definition at line 91 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::post_samples = 190 |
Samples kept after the trigger when cropping.
Definition at line 99 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::pre_gate = 10 |
Samples before pre_samples at which integration starts, so integration begins at pre_samples - pre_gate within the cropped waveform.
Definition at line 102 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::pre_samples = 17 |
Samples kept before the trigger when cropping.
Definition at line 97 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::sample_waveforms_to_save = 5 |
How many example waveforms to write out as figures, for eyeballing.
Definition at line 108 of file WaveformProcessingUtils.hpp.
| Int_t FileProcessingConfig::short_gate = 10 |
Width of the short integration gate.
Definition at line 104 of file WaveformProcessingUtils.hpp.
| Bool_t FileProcessingConfig::store_waveforms = kTRUE |
Write the cropped waveform to the tree.
Definition at line 112 of file WaveformProcessingUtils.hpp.
| Float_t FileProcessingConfig::trigger_threshold = 0.15 |
Trigger level as a fraction of the waveform's peak, in (0, 1].
Definition at line 93 of file WaveformProcessingUtils.hpp.
| Bool_t FileProcessingConfig::verbose = kTRUE |
Print progress and per-file summaries.
Definition at line 111 of file WaveformProcessingUtils.hpp.