Diana Software
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MDecorrelator Class Reference

noise decorrelation using side pulses More...

Inheritance diagram for MDecorrelator:

Classes

struct  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 Member Functions

const Diana::QVector & GetNeighbourSamples (const int channel, const Diana::QEventList &neighbours)
 

Private Attributes

QChannelCovariance fCovariance
 
std::map< int, ChannelInfofDecorrelators
 
Diana::QVector fEmpty
 
bool fFirstCall
 
bool fUseOF
 

Detailed Description

noise decorrelation using side pulses

Author
C. Mancini, M. Vignati

This module reduces the noise using the waveforms from side bolometers using a QChannelCovariance complex matrix as input. Side channels are accessed by this module through neighbours, so one needs side pulses unrolled and NeighbourAlgorithm = AllSideNeighbour in the reader. The subset of side channels to be used to decorrelate each channel have to be specified in the config file. If not all side(neighbour) pulses needed are found, the waveform is not decorrelated. The output waveform (decorrelated or not) is saved into a QPulse object named "Pulse" and the decorrelation status is saved into a QBool named "Decorrelated". See also the config $DIANA_INSTALL/cfg/noisedecorr/decorrelation.cfg, files must be preprocessed with preprocess.cfg in the same dir.

Definition at line 66 of file MDecorrelator.hh.

Member Function Documentation

◆ Do()

void MDecorrelator::Do ( Diana::QEvent &  ev,
const Diana::QEventList &  neighbours 
)

◆ Done()

void MDecorrelator::Done ( )

Done method.

Definition at line 208 of file MDecorrelator.cc.

◆ GetNeighbourSamples()

const QVector & MDecorrelator::GetNeighbourSamples ( const int  channel,
const Diana::QEventList &  neighbours 
)
private

◆ Init()

void MDecorrelator::Init ( Diana::QEvent &  ev)

Init method.

Definition at line 26 of file MDecorrelator.cc.

Member Data Documentation

◆ fCovariance

QChannelCovariance MDecorrelator::fCovariance
private

Definition at line 86 of file MDecorrelator.hh.

◆ fDecorrelators

std::map<int,ChannelInfo> MDecorrelator::fDecorrelators
private

Definition at line 87 of file MDecorrelator.hh.

◆ fEmpty

Diana::QVector MDecorrelator::fEmpty
private

Definition at line 88 of file MDecorrelator.hh.

◆ fFirstCall

bool MDecorrelator::fFirstCall
private

Definition at line 89 of file MDecorrelator.hh.

◆ fUseOF

bool MDecorrelator::fUseOF
private

Definition at line 90 of file MDecorrelator.hh.


The documentation for this class was generated from the following files: