WireSummarizer.cxx
Go to the documentation of this file.
4 
5 
6 using namespace WireCell;
7 
10 
12 {
13 }
14 
16 {
17 }
18 
20 {
21  if (!wires) {
22  ws = nullptr;
23  return true;
24  }
25  ws = output_pointer(new WireSummary(*wires));
26  return true;
27 }
28 
WIRECELL_FACTORY(WireSummarizer, WireCell::WireSummarizer, WireCell::IWireSummarizer) WireSummarizer
std::shared_ptr< const IWire::vector > input_pointer
Definition: IFunctionNode.h:39
std::shared_ptr< const IWireSummary > output_pointer
Definition: IFunctionNode.h:40
Definition: Main.h:22
virtual bool operator()(const input_pointer &in, output_pointer &out)
The calling signature: