All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
opdet::SharedWaveformBaseline::Params_t Struct Reference

Algorithm configuration parameters. More...

#include <SharedWaveformBaseline.h>

Public Member Functions

template<typename Stream >
void dump (Stream &out, std::string const &indent, std::string const &firstIndent) const
 Dumps this configuration into the output stream out. More...
 
template<typename Stream >
void dump (Stream &out, std::string const &indent="") const
 

Public Attributes

std::size_t nSample
 Number of samples to use from each waveform. More...
 
double nRMS
 Number of RMS from the baseline to discard a waveform. More...
 
unsigned int nExcessSamples
 Number of samples out of range to discard a waveform. More...
 

Detailed Description

Algorithm configuration parameters.

Definition at line 56 of file SharedWaveformBaseline.h.

Member Function Documentation

template<typename Stream >
void opdet::SharedWaveformBaseline::Params_t::dump ( Stream out,
std::string const &  indent,
std::string const &  firstIndent 
) const

Dumps this configuration into the output stream out.

Definition at line 133 of file SharedWaveformBaseline.h.

137 {
138  out << firstIndent << "samples from each waveforms: " << nSample
139  << "\n" << indent << "pedestal range: +/- " << nRMS << " x RMS"
140  << "\n" << indent << "use only waveforms with less than "
141  << nExcessSamples << " samples out of pedestal range"
142  ;
143 } // opdet::SharedWaveformBaseline::Params_t::dump()
std::size_t nSample
Number of samples to use from each waveform.
unsigned int nExcessSamples
Number of samples out of range to discard a waveform.
double nRMS
Number of RMS from the baseline to discard a waveform.
template<typename Stream >
void opdet::SharedWaveformBaseline::Params_t::dump ( Stream out,
std::string const &  indent = "" 
) const
inline

Definition at line 72 of file SharedWaveformBaseline.h.

73  { dump(out, indent, indent); }
void dump(Stream &out, std::string const &indent, std::string const &firstIndent) const
Dumps this configuration into the output stream out.

Member Data Documentation

unsigned int opdet::SharedWaveformBaseline::Params_t::nExcessSamples

Number of samples out of range to discard a waveform.

Definition at line 63 of file SharedWaveformBaseline.h.

double opdet::SharedWaveformBaseline::Params_t::nRMS

Number of RMS from the baseline to discard a waveform.

Definition at line 60 of file SharedWaveformBaseline.h.

std::size_t opdet::SharedWaveformBaseline::Params_t::nSample

Number of samples to use from each waveform.

Definition at line 58 of file SharedWaveformBaseline.h.


The documentation for this struct was generated from the following file: