![]() |
Diana Software
|
compute cross correlated noise power spectrum on different channels. * This module needs side pulses as neighbours. So one needs side pulses unrolled and NeighbourAlgorithm = AllSideNeighbour in the reader, see also the config file $DIANA_INSTALL/cfg/noisedecorr/average_noise_correlation.cfg. Files must be preprocessed with preprocess.cfg in the same dir. More...
Classes | |
| class | ChannelInfo |
Public Member Functions | |
| void | Init (Diana::QEvent &ev) |
| Init method. More... | |
| void | Do (Diana::QEvent &ev, const Diana::QEventList &neighbours) |
| Do method. More... | |
| void | Done () |
| Done method. More... | |
Private Attributes | |
| QChannelCovariance | fCov |
| std::vector< int > | fChannelList |
| size_t | fTimeLength |
| std::map< int, std::map< int, ChannelInfo > > | fRosetta |
| std::string | fOutput |
| Diana::QFFT::WindowType | fWindowType |
| int | fCoherentGain |
| Diana::QRealComplexFFT * | fTransformer |
| bool | fUseMainEvent |
| std::string | fValidityKind |
| Validity kind defines the kind of validity range for covariance matrix (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... | |
| std::vector< int > | fSRuns |
| vector of runs used for nps calculation More... | |
| int | fCurrentRun |
| std::vector< std::string > | fPulseLabels |
compute cross correlated noise power spectrum on different channels. * This module needs side pulses as neighbours. So one needs side pulses unrolled and NeighbourAlgorithm = AllSideNeighbour in the reader, see also the config file $DIANA_INSTALL/cfg/noisedecorr/average_noise_correlation.cfg. Files must be preprocessed with preprocess.cfg in the same dir.
Definition at line 49 of file MNoiseCrossPowerSpectrum.hh.
| void MNoiseCrossPowerSpectrum::Do | ( | Diana::QEvent & | ev, |
| const Diana::QEventList & | neighbours | ||
| ) |
Do method.
Definition at line 68 of file MNoiseCrossPowerSpectrum.cc.
References err, MNoiseCrossPowerSpectrum::ChannelInfo::fCovariance, MNoiseCrossPowerSpectrum::ChannelInfo::fNevents, QEvent::Get(), QEvent::GetByLabel(), QEventList::Push(), and QEventList::Size().
| void MNoiseCrossPowerSpectrum::Done | ( | ) |
Done method.
Definition at line 155 of file MNoiseCrossPowerSpectrum.cc.
References MNoiseCrossPowerSpectrum::ChannelInfo::fCovariance, MNoiseCrossPowerSpectrum::ChannelInfo::fNevents, and vec.
| void MNoiseCrossPowerSpectrum::Init | ( | Diana::QEvent & | ev | ) |
Init method.
Definition at line 23 of file MNoiseCrossPowerSpectrum.cc.
References Q_INT_DEFAULT, Q_STRING_DEFAULT, QFFT::StrToWindowType(), QFFT::WT_None, and QFFT::WT_Rect.
|
private |
Definition at line 71 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 78 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 69 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 94 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 75 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 97 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 74 of file MNoiseCrossPowerSpectrum.hh.
|
private |
vector of runs used for nps calculation
Definition at line 92 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 73 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 79 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 81 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Validity end last run (or dataset) of validity.
Definition at line 89 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Validity kind defines the kind of validity range for covariance matrix (run or dataset)
Definition at line 83 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Validity start first run (or dataset) of validity.
Definition at line 86 of file MNoiseCrossPowerSpectrum.hh.
|
private |
Definition at line 77 of file MNoiseCrossPowerSpectrum.hh.