![]() |
Diana Software
|
Module to compute average power spectrum of noise. More...
Public Member Functions | |
| virtual void | Init (Diana::QEvent &ev) |
| virtual void | Do (Diana::QEvent &ev) |
| virtual void | Done () |
Private Attributes | |
| std::string | fValidityKind |
| Validity kind defines the kind of validity range for the average pulse (run or dataset) More... | |
| int | fValidityStart |
| Validity start first run (or dataset) of validity. More... | |
| int | fValidityEnd |
| Validity end last run (or dataset) of validity. More... | |
| int | fNumFreq |
| number of frequencies to compute – set automatically depending on number of points in acquired window More... | |
| bool | fProcessedFirstEvent |
| flag indicating whether the first event has been processed More... | |
| std::map< int, int > | fCount |
| number of noise samples found on each channel More... | |
| std::map< int, QAverageVector > | fNoiseAvgPowerSpectrum |
| average of noise power spectrum for each channel More... | |
| time_t | fBeginValidity |
| time_t | fEndValidity |
| std::string | fOutput |
| output for average pulse More... | |
| std::string | fWindow |
| window type used for windowing (default is rectangular) More... | |
| Diana::QFFT::WindowType | fWindowType |
| int | fCoherentGain |
| int defines window normalization More... | |
| std::string | fPulseLabel |
| int | fCurrentRun |
| std::vector< int > | fSRuns |
| vector of runs used for nps calculation More... | |
Module to compute average power spectrum of noise.
Used for pulse amplitude algorithms
module NoiseAvgPowerSpectrum verbosity = info enable = true ValidityKind = dataset ValidityStart = 6001 ValidityEnd = 6001 WindowType = welch WindowCoherentGain = 2 Output = avgnoise.root endmod
Definition at line 50 of file MNoiseAvgPowerSpectrum.hh.
|
virtual |
Definition at line 55 of file MNoiseAvgPowerSpectrum.cc.
References channel, err, QHeader::GetRun(), QHeader::GetTime(), QRealComplexFFT::SetWindowType(), and QRealComplexFFT::TransformToFreq().
|
virtual |
Definition at line 118 of file MNoiseAvgPowerSpectrum.cc.
References channel.
|
virtual |
Definition at line 20 of file MNoiseAvgPowerSpectrum.cc.
References Q_INT_DEFAULT, QFFT::StrToWindowType(), QFFT::WT_None, and QFFT::WT_Rect.
|
private |
Definition at line 86 of file MNoiseAvgPowerSpectrum.hh.
|
private |
int defines window normalization
Definition at line 98 of file MNoiseAvgPowerSpectrum.hh.
|
private |
number of noise samples found on each channel
Definition at line 81 of file MNoiseAvgPowerSpectrum.hh.
|
private |
Definition at line 101 of file MNoiseAvgPowerSpectrum.hh.
|
private |
Definition at line 87 of file MNoiseAvgPowerSpectrum.hh.
|
private |
average of noise power spectrum for each channel
Definition at line 84 of file MNoiseAvgPowerSpectrum.hh.
|
private |
number of frequencies to compute – set automatically depending on number of points in acquired window
Definition at line 75 of file MNoiseAvgPowerSpectrum.hh.
|
private |
output for average pulse
Definition at line 90 of file MNoiseAvgPowerSpectrum.hh.
|
private |
flag indicating whether the first event has been processed
Definition at line 78 of file MNoiseAvgPowerSpectrum.hh.
|
private |
Definition at line 100 of file MNoiseAvgPowerSpectrum.hh.
|
private |
vector of runs used for nps calculation
Definition at line 104 of file MNoiseAvgPowerSpectrum.hh.
|
private |
Validity end last run (or dataset) of validity.
Definition at line 70 of file MNoiseAvgPowerSpectrum.hh.
|
private |
Validity kind defines the kind of validity range for the average pulse (run or dataset)
Definition at line 64 of file MNoiseAvgPowerSpectrum.hh.
|
private |
Validity start first run (or dataset) of validity.
Definition at line 67 of file MNoiseAvgPowerSpectrum.hh.
|
private |
window type used for windowing (default is rectangular)
Definition at line 93 of file MNoiseAvgPowerSpectrum.hh.
|
private |
Definition at line 95 of file MNoiseAvgPowerSpectrum.hh.