Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
sigproc
test
test_partial.cxx
Go to the documentation of this file.
1
#include "
WireCellSigProc/Diagnostics.h
"
2
#include "
WireCellUtil/Waveform.h
"
3
#include "
WireCellUtil/Testing.h
"
4
5
#include <iostream>
6
#include <string>
7
8
9
// provides vectors "horig" and "hfilt"
10
#include <vector>
11
#include "
example-partial-rc.h
"
12
13
using namespace
std
;
14
15
using namespace
WireCell
;
16
using namespace
WireCell::SigProc
;
17
18
int
main
(
int
argc
,
char
*
argv
[])
19
{
20
auto
spectrum =
Waveform::dft
(
horig
);
21
Diagnostics::Partial
m_check_partial;
22
bool
is_partial = m_check_partial(spectrum);
23
Assert
(is_partial);
24
25
return
0;
26
}
example-partial-rc.h
horig
std::vector< float > horig
Definition:
example-chirp.h:1
std
STL namespace.
freeze_graph.argv
argv
Definition:
freeze_graph.py:218
WireCell::SigProc::Diagnostics::Partial
Definition:
Diagnostics.h:27
WireCell::SigProc
Definition:
ChannelSelector.h:18
Assert
#define Assert
Definition:
Testing.h:7
Diagnostics.h
Testing.h
Waveform.h
WireCell
Definition:
Main.h:22
WireCell::Array::dft
array_xxc dft(const array_xxf &arr)
Definition:
Array.cxx:15
test_gen_rays_pdsp.argc
argc
Definition:
test_gen_rays_pdsp.py:6
main
int main(int argc, char *argv[])
Definition:
test_partial.cxx:18
Generated by
1.8.11