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

Filter to select good waveform. More...

Inheritance diagram for MGoodWaveform:

Public Member Functions

void GetCuts (const Diana::QEvent &ev)
 Get cuts from config file. More...
 
bool Filter (const Diana::QEvent &ev)
 return true if ev passes the cuts More...
 

Private Attributes

int fnPeaks
 
double fBaselineSlope
 

Detailed Description

Filter to select good waveform.

Author
M. Vignati

Removes bad pulses based on number of peaks and baseline slope. Same as MBadPulse but it allows to select at the same time good noise, signal and heater waveform.

Definition at line 45 of file MGoodWaveform.hh.

Member Function Documentation

◆ Filter()

bool MGoodWaveform::Filter ( const Diana::QEvent &  ev)

◆ GetCuts()

void MGoodWaveform::GetCuts ( const Diana::QEvent &  ev)

Get cuts from config file.

Definition at line 13 of file MGoodWaveform.cc.

Member Data Documentation

◆ fBaselineSlope

double MGoodWaveform::fBaselineSlope
private

Definition at line 56 of file MGoodWaveform.hh.

◆ fnPeaks

int MGoodWaveform::fnPeaks
private

Definition at line 55 of file MGoodWaveform.hh.


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