Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
gen
inc
WireCellGen
FrameSummer.h
Go to the documentation of this file.
1
// A frame summer can "add" two frames together, possibly limiting
2
// them by tag.
3
4
#ifndef WIRECELL_GEN_FRAMESUMMER
5
#define WIRECELL_GEN_FRAMESUMMER
6
7
#include "
WireCellIface/IConfigurable.h
"
8
#include "
WireCellIface/IFrameJoiner.h
"
9
10
namespace
WireCell
{
11
namespace
Gen {
12
class
FrameSummer
:
public
IFrameJoiner
,
public
IConfigurable
{
13
public
:
14
FrameSummer
();
15
virtual
~FrameSummer
();
16
17
// IJoinNode
18
virtual
bool
operator()
(
const
input_tuple_type
& intup,
19
output_pointer
& out);
20
21
// IConfigurable
22
virtual
void
configure
(
const
WireCell::Configuration
&
config
);
23
virtual
WireCell::Configuration
default_configuration
()
const
;
24
private
:
25
double
m_toffset
;
26
bool
m_align
;
27
28
};
29
}
30
}
31
32
#endif
WireCell::IConfigurable
Definition:
IConfigurable.h:13
WireCell::Gen::FrameSummer
Definition:
FrameSummer.h:12
WireCell::Gen::FrameSummer::m_toffset
double m_toffset
Definition:
FrameSummer.h:25
IConfigurable.h
WireCell::Gen::FrameSummer::~FrameSummer
virtual ~FrameSummer()
Definition:
FrameSummer.cxx:69
WireCell::IJoinNode< std::tuple< IFrame, IFrame >, IFrame >::input_tuple_type
port_helper_type::template WrappedConst< std::shared_ptr >::type input_tuple_type
Definition:
IJoinNode.h:46
WireCell::Gen::FrameSummer::FrameSummer
FrameSummer()
Definition:
FrameSummer.cxx:62
WireCell::Gen::FrameSummer::operator()
virtual bool operator()(const input_tuple_type &intup, output_pointer &out)
Definition:
FrameSummer.cxx:36
WireCell::IFrameJoiner
Definition:
IFrameJoiner.h:13
WireCell::Gen::FrameSummer::default_configuration
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition:
FrameSummer.cxx:12
config
static Config * config
Definition:
config.cpp:1054
WireCell::IJoinNode< std::tuple< IFrame, IFrame >, IFrame >::output_pointer
std::shared_ptr< const IFrame > output_pointer
Definition:
IJoinNode.h:51
WireCell::Gen::FrameSummer::configure
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
Definition:
FrameSummer.cxx:30
WireCell::Gen::FrameSummer::m_align
bool m_align
Definition:
FrameSummer.h:26
WireCell
Definition:
Main.h:22
WireCell::Configuration
Json::Value Configuration
Definition:
Configuration.h:50
IFrameJoiner.h
Generated by
1.8.11