Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
gen
src
WireSummarizer.cxx
Go to the documentation of this file.
1
#include "
WireCellGen/WireSummarizer.h
"
2
#include "
WireCellGen/WireSummary.h
"
3
#include "
WireCellUtil/NamedFactory.h
"
4
5
6
using namespace
WireCell
;
7
8
WIRECELL_FACTORY
(
WireSummarizer
,
WireCell::WireSummarizer
,
9
WireCell::IWireSummarizer
)
10
11
WireSummarizer
::
WireSummarizer
()
12
{
13
}
14
15
WireSummarizer::~WireSummarizer
()
16
{
17
}
18
19
bool
WireSummarizer::operator()
(
const
input_pointer
& wires,
output_pointer
&
ws
)
20
{
21
if
(!wires) {
22
ws =
nullptr
;
23
return
true
;
24
}
25
ws =
output_pointer
(
new
WireSummary
(*wires));
26
return
true
;
27
}
28
NamedFactory.h
WireCell::WireSummarizer
Definition:
WireSummarizer.h:11
WIRECELL_FACTORY
WIRECELL_FACTORY(WireSummarizer, WireCell::WireSummarizer, WireCell::IWireSummarizer) WireSummarizer
Definition:
WireSummarizer.cxx:8
muoncounters.ws
ws
Definition:
muoncounters.py:21
WireCell::IFunctionNode< IWire::vector, IWireSummary >::input_pointer
std::shared_ptr< const IWire::vector > input_pointer
Definition:
IFunctionNode.h:39
WireCell::IFunctionNode< IWire::vector, IWireSummary >::output_pointer
std::shared_ptr< const IWireSummary > output_pointer
Definition:
IFunctionNode.h:40
WireCell::WireSummarizer::~WireSummarizer
virtual ~WireSummarizer()
Definition:
WireSummarizer.cxx:15
WireCell
Definition:
Main.h:22
WireCell::IWireSummarizer
Definition:
IWireSummarizer.h:11
WireSummarizer.h
WireSummary.h
WireCell::WireSummary
Definition:
WireSummary.h:10
WireCell::WireSummarizer::operator()
virtual bool operator()(const input_pointer &in, output_pointer &out)
The calling signature:
Definition:
WireSummarizer.cxx:19
Generated by
1.8.11