Derivations.h
Go to the documentation of this file.
1 #ifndef WIRECELLSIGPROC_DERIVATIONS
2 #define WIRECELLSIGPROC_DERIVATIONS
3 
6 
7 namespace WireCell{
8  namespace SigProc{
9  namespace Derivations{
10 
11  /** Return a sequence of the median values, one for each channel signal.
12 
13  fixme and warning: this ignores small and large signal
14  with fixed thresholds which need to be set as parameters.
15  */
17 
18  /** Return the RMS of a signal
19 
20  fixme and warning: this ignores large signal with a fixed
21  threshold which needs to be set as parameters.
22  */
23  std::pair<double,double> CalcRMS(const WireCell::Waveform::realseq_t& signal);
24  }
25  }
26 }
27 
28 
29 #endif
30 
31 
32 // Local Variables:
33 // mode: c++
34 // c-basic-offset: 4
35 // End:
Sequence< real_t > realseq_t
Definition: Waveform.h:31
std::pair< double, double > CalcRMS(const WireCell::Waveform::realseq_t &signal)
Definition: Derivations.cxx:7
WireCell::Waveform::realseq_t CalcMedian(const WireCell::IChannelFilter::channel_signals_t &chansig)
Definition: Derivations.cxx:22
Definition: Main.h:22
std::map< int, signal_t > channel_signals_t