Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
sigproc
test
test_noisy.cxx
Go to the documentation of this file.
1
#include "
WireCellSigProc/Diagnostics.h
"
2
#include "
WireCellSigProc/Microboone.h
"
3
#include "
WireCellUtil/Waveform.h
"
4
#include "
WireCellUtil/Testing.h
"
5
6
#include <iostream>
7
#include <string>
8
9
10
// provides vectors "horig" and "hfilt"
11
// generate like:
12
// $ dump-root-hist-to-waveform sigproc/test/example-chirp.root horig hfilt > sigproc/test/example-chirp.h
13
#include <vector>
14
#include "
example-noisy.h
"
15
16
using namespace
std
;
17
18
using namespace
WireCell
;
19
using namespace
WireCell::SigProc
;
20
21
int
main
(
int
argc
,
char
*
argv
[])
22
{
23
Microboone::SignalFilter
(
horig
);
24
bool
is_noisy =
Microboone::NoisyFilterAlg
(
horig
,0.7,10.0);
25
Assert
(is_noisy);
26
}
WireCell::SigProc::Microboone::SignalFilter
bool SignalFilter(WireCell::Waveform::realseq_t &sig)
Definition:
Microboone.cxx:648
horig
std::vector< float > horig
Definition:
example-chirp.h:1
Microboone.h
std
STL namespace.
freeze_graph.argv
argv
Definition:
freeze_graph.py:218
WireCell::SigProc
Definition:
ChannelSelector.h:18
Assert
#define Assert
Definition:
Testing.h:7
Diagnostics.h
Testing.h
Waveform.h
main
int main(int argc, char *argv[])
Definition:
test_noisy.cxx:21
WireCell::SigProc::Microboone::NoisyFilterAlg
bool NoisyFilterAlg(WireCell::Waveform::realseq_t &spec, float min_rms, float max_rms)
Definition:
Microboone.cxx:542
WireCell
Definition:
Main.h:22
test_gen_rays_pdsp.argc
argc
Definition:
test_gen_rays_pdsp.py:6
example-noisy.h
Generated by
1.8.11